From: Stefan Beller Date: Tue, 3 May 2016 18:54:32 +0000 (-0700) Subject: t7300: mark test with SANITY X-Git-Tag: v2.8.3~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cadfbef98032fbc6874b5efd70d1e33dbeb4640d;p=thirdparty%2Fgit.git 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 Fix-proposed-by: Junio C Hamano Signed-off-by: Stefan Beller Signed-off-by: Junio C Hamano --- diff --git a/t/t7300-clean.sh b/t/t7300-clean.sh index 86ceb38b01..b89fd2a6ad 100755 --- a/t/t7300-clean.sh +++ b/t/t7300-clean.sh @@ -495,7 +495,7 @@ test_expect_success 'should not clean submodules' ' test_path_is_missing to_clean ' -test_expect_success POSIXPERM 'should avoid cleaning possible submodules' ' +test_expect_success POSIXPERM,SANITY 'should avoid cleaning possible submodules' ' rm -fr to_clean possible_sub1 && mkdir to_clean possible_sub1 && test_when_finished "rm -rf possible_sub*" &&