mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-22 06:50:52 +03:00
tests: add small delay
Prevent there is no i.e. udev trying to open our device.
This commit is contained in:
parent
2de99760f7
commit
1d7d3db571
@ -61,7 +61,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