mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-29 06:50:38 +03:00
tests: proper /dev access
Commit 5ebff6cc9f631b7409d99b72fa0b39ccec30bf1f 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:
parent
8d00499167
commit
473a4a6548
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user