1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00

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.
This commit is contained in:
Zdenek Kabelac 2024-10-28 21:41:30 +01:00
parent 608418e4f2
commit 0e64d49642

View File

@ -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"