diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh
index 3a43571cab78bce546ca714c8d53b76fc94c6ee2..7dbbea13aca1835d6e9a1a8fb6ab2a5babf1b68a 100755 (executable)
--- a/t/t7300-clean.sh
+++ b/t/t7300-clean.sh
'
-test_expect_success 'removal failure' '
+test_expect_success SANITY 'removal failure' '
mkdir foo &&
touch foo/bar &&
(exec <foo/bar &&
chmod 0 foo &&
- test_must_fail git clean -f -d)
-
+ test_must_fail git clean -f -d &&
+ chmod 755 foo)
'
-chmod 755 foo
test_expect_success 'nested git work tree' '
rm -fr foo bar &&