diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2023-05-06 19:39:25 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2023-05-06 22:43:22 +0200 |
commit | 4af8063c963f0610761d9cecbd6ed23b52f77256 (patch) | |
tree | 0e82ac30ad176bbb91489444d6a4fdddaad64dba /test | |
parent | 2fde4b6baa09f33890d4a5b951dc51b81828ef63 (diff) | |
download | lvm2-4af8063c963f0610761d9cecbd6ed23b52f77256.tar.gz |
tests: different check for mounted volume
It appears newer mount allows repeated mounting ??
Anyway - do the check with grep.
Diffstat (limited to 'test')
-rw-r--r-- | test/shell/lvconvert-thin-external-cache.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/shell/lvconvert-thin-external-cache.sh b/test/shell/lvconvert-thin-external-cache.sh index 465ce52ad..a8b95b274 100644 --- a/test/shell/lvconvert-thin-external-cache.sh +++ b/test/shell/lvconvert-thin-external-cache.sh @@ -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 |