mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: skip test on systems without delay_dev
On such systems this test only sleeps for 30sec.
This commit is contained in:
parent
00cfe3a24e
commit
87cd61c6bd
@ -29,6 +29,8 @@ mkfs.ext3 "$DM_DEV_DIR/$vg/$lv1"
|
||||
|
||||
# Slowdown PV for resized LV
|
||||
aux delay_dev "$dev1" 50 50 "$(get first_extent_sector "$dev1"):"
|
||||
# Test requires usable delay_dev
|
||||
test -f HAVE_DM_DELAY || skip "delay_dev is missing"
|
||||
|
||||
lvresize -L-5 -r $vg/$lv1 &
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user