t7300: mark test with SANITY
The test runs `chmod 0` on a file to test a case where Git fails to read it, but that would not work if it is run as root. Reported-by: Jan Keromnes <janx@linux.com> Fix-proposed-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Stefan Beller committed
May 3, 2016 at 11:54 UTC
cadfbef98032fbc6874b5efd70d1e33dbeb4640d
1 file changed
+1
-1
t/t7300-clean.sh
+1
-1
@@ -495,7 +495,7 @@ test_expect_success 'should not clean submodules' '
495
test_path_is_missing to_clean
496
'
497
498
-test_expect_success POSIXPERM 'should avoid cleaning possible submodules' '
498
+test_expect_success POSIXPERM,SANITY 'should avoid cleaning possible submodules' '
499
rm -fr to_clean possible_sub1 &&
500
mkdir to_clean possible_sub1 &&
501
test_when_finished "rm -rf possible_sub*" &&