mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: wait between remount
Let's see if this help with some races...
This commit is contained in:
parent
4daede06e5
commit
0480b4743a
@ -24,9 +24,11 @@ test_snapshot_mount() {
|
|||||||
mount "$(lvdev_ $vg $lv1)" test_mnt
|
mount "$(lvdev_ $vg $lv1)" test_mnt
|
||||||
lvcreate -L4M -n $lv2 -s $vg/$lv1
|
lvcreate -L4M -n $lv2 -s $vg/$lv1
|
||||||
umount test_mnt
|
umount test_mnt
|
||||||
|
aux udev_wait
|
||||||
# mount the origin
|
# mount the origin
|
||||||
mount "$(lvdev_ $vg $lv1)" test_mnt
|
mount "$(lvdev_ $vg $lv1)" test_mnt
|
||||||
umount test_mnt
|
umount test_mnt
|
||||||
|
aux udev_wait
|
||||||
# mount the snapshot
|
# mount the snapshot
|
||||||
mount "$(lvdev_ $vg $lv2)" test_mnt
|
mount "$(lvdev_ $vg $lv2)" test_mnt
|
||||||
umount test_mnt
|
umount test_mnt
|
||||||
|
Loading…
Reference in New Issue
Block a user