1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: proper /dev access

Commit 5ebff6cc9f seemed to introduce
new 'for' loop but the mode is not yet used.
But the access to /dev dir needs to go through $DM_DEV_DIR
and whole path needs to be in "".
This commit is contained in:
Zdenek Kabelac 2014-08-20 14:35:57 +02:00
parent 8d00499167
commit 473a4a6548

View File

@ -39,8 +39,9 @@ kill -9 $PVMOVE
wait
# Simulate reboot - forcibly remove related devices
dmsetup table
dmsetup remove $vg-$lv1
dmsetup remove /dev/mapper/$vg-pvmove0*
dmsetup remove "$DM_DEV_DIR/mapper/$vg-pvmove0*"
# Check we really have pvmove volume
check lv_attr_bit type $vg/pvmove0 "p"