forked from Mirrors/btrfs-progs
btrfs-progs: tests: unmount testing mount point recursively
The test misc-tests/035-receive-common-mount-point-prefix does another mount inside TEST_MNT but current 'make test-clean' will not properly undo the nested mount and this will break subsequent tests. The recursive unmount can handle that. Signed-off-by: David Sterba <dsterba@suse.com>master
parent
50e3858869
commit
485da9d52d
|
@ -36,7 +36,7 @@ if [ "$BUILD_VERBOSE" = 1 ]; then
|
|||
verbose=-print
|
||||
fi
|
||||
|
||||
$SUDO_HELPER umount "$TEST_MNT" &>/dev/null
|
||||
$SUDO_HELPER umount -R "$TEST_MNT" &>/dev/null
|
||||
|
||||
if ! cd "$TEST_TOP"; then
|
||||
echo "ERROR: cannot cd to $TEST_TOP"
|
||||
|
|
Loading…
Reference in New Issue