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
David Sterba 2019-05-27 16:08:23 +02:00
parent 50e3858869
commit 485da9d52d
1 changed files with 1 additions and 1 deletions

View File

@ -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"