Blame SOURCES/0012-test-Fix-system_id-test.patch

9db2f0
From 929e36ebfe991e01d6b341c5c8b4e6ad61cb26e2 Mon Sep 17 00:00:00 2001
9db2f0
From: Marian Csontos <mcsontos@redhat.com>
9db2f0
Date: Wed, 11 Aug 2021 19:19:19 +0200
9db2f0
Subject: [PATCH] test: Fix system_id test
9db2f0
9db2f0
---
9db2f0
 test/shell/system_id.sh | 2 +-
9db2f0
 1 file changed, 1 insertion(+), 1 deletion(-)
9db2f0
9db2f0
diff --git a/test/shell/system_id.sh b/test/shell/system_id.sh
9db2f0
index 8b5638a..4dc167d 100644
9db2f0
--- a/test/shell/system_id.sh
9db2f0
+++ b/test/shell/system_id.sh
9db2f0
@@ -38,7 +38,7 @@ check vg_field $vg1 systemid "$SID"
9db2f0
 vgremove $vg1
9db2f0
 
9db2f0
 # FIXME - print 'life' config data
9db2f0
-eval "$(lvmconfig global/etc 2>/dev/null || lvmconfig --type default global/etc)"
9db2f0
+eval "$({ lvmconfig global/etc 2>/dev/null || lvmconfig --type default global/etc; } | sed 's/^\s*#\s*//')"
9db2f0
 
9db2f0
 ## machineid
9db2f0
 if [ -e "$etc/machine-id" ]; then
9db2f0
-- 
9db2f0
1.8.3.1
9db2f0