From 485da9d52df0c4c9e2b920dc5c7b71fd6f35f5be Mon Sep 17 00:00:00 2001 From: David Sterba Date: Mon, 27 May 2019 16:08:23 +0200 Subject: [PATCH] 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 --- tests/clean-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/clean-tests.sh b/tests/clean-tests.sh index 342616f7..7c32ffab 100755 --- a/tests/clean-tests.sh +++ b/tests/clean-tests.sh @@ -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"