1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: different check for mounted volume

It appears newer mount allows repeated mounting ??
Anyway - do the check with grep.
This commit is contained in:
Zdenek Kabelac 2023-05-06 19:39:25 +02:00
parent 2fde4b6baa
commit 4af8063c96

View File

@ -51,7 +51,7 @@ not lvconvert --thin --thinpool $vg/tpool $vg/$lv1
lvchange --cachemode writethrough $vg/$lv1
# Check $lv1 remains mounted (so it's not been unmounted by systemd)
not mount "$DM_DEV_DIR/$vg/$lv1" mnt
mountpoint "$PWD/mnt"
lvconvert --thin $vg/$lv1 --originname extorg --thinpool $vg/tpool