From 6aa9e64d310dca00bafce8b025d5bc3f5f0e097e Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 28 Oct 2024 21:41:30 +0100 Subject: [PATCH] tests: use longer tag Avoid config 'grep' with actual 'randomly' generated path name which may eventually contain 'cc' as part the path and causing a mismatch of the grep test. --- test/shell/exported.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/shell/exported.sh b/test/shell/exported.sh index 18a86462f..784f5d8d0 100644 --- a/test/shell/exported.sh +++ b/test/shell/exported.sh @@ -77,10 +77,10 @@ not grep $vg1 out lvscan 2>&1|tee out not grep $vg1 out -not pvchange --addtag cc "$dev1" +not pvchange --addtag cc12345678 "$dev1" pvs -o+tags "$dev1" 2>&1|tee out grep "$dev1" out -not grep cc out +not grep cc12345678 out pvs -osize "$dev1" > before not pvresize --setphysicalvolumesize 100M "$dev1"