mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: ensure mnt is defined before trap install
This commit is contained in:
parent
530fc17b38
commit
8e3e2c74ed
@ -32,6 +32,8 @@ cleanup_mounted_and_teardown()
|
||||
aux teardown
|
||||
}
|
||||
|
||||
mnt="mnt"
|
||||
mkdir -p $mnt
|
||||
|
||||
# Tests with fs block sizes require a libblkid version that shows BLOCK_SIZE
|
||||
aux prepare_devs 1
|
||||
@ -65,9 +67,6 @@ aux extend_filter "a|$LOOP4|"
|
||||
|
||||
aux lvmconf 'devices/scan = "/dev"'
|
||||
|
||||
mnt="mnt"
|
||||
mkdir -p $mnt
|
||||
|
||||
vgcreate $vg1 $LOOP1 $LOOP2
|
||||
vgcreate $vg2 $LOOP3 $LOOP4
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user