mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-10 16:58:47 +03:00
tests: add small delay
Prevent there is no i.e. udev trying to open our device.
This commit is contained in:
parent
a89ac3bf6f
commit
bbc164991a
@ -59,7 +59,9 @@ dmsetup resume $vg1-snap
|
||||
wait $DMPID
|
||||
|
||||
|
||||
# Try how force removal works
|
||||
# Try how force removal works (and wait till there is no user)
|
||||
sync
|
||||
sleep .5
|
||||
dmsetup suspend $vg-$lv1
|
||||
# needs to fail as device is still open
|
||||
not dmsetup remove --force $vg1-snap &
|
||||
|
Loading…
x
Reference in New Issue
Block a user