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