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:
parent
2fde4b6baa
commit
4af8063c96
@ -51,7 +51,7 @@ not lvconvert --thin --thinpool $vg/tpool $vg/$lv1
|
|||||||
lvchange --cachemode writethrough $vg/$lv1
|
lvchange --cachemode writethrough $vg/$lv1
|
||||||
|
|
||||||
# Check $lv1 remains mounted (so it's not been unmounted by systemd)
|
# 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
|
lvconvert --thin $vg/$lv1 --originname extorg --thinpool $vg/tpool
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user