Skip to content

Commit cadfbef

Browse files
stefanbellergitster
authored andcommitted
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 <[email protected]> Fix-proposed-by: Junio C Hamano <[email protected]> Signed-off-by: Stefan Beller <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e465796 commit cadfbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t7300-clean.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ test_expect_success 'should not clean submodules' '
495495
test_path_is_missing to_clean
496496
'
497497

498-
test_expect_success POSIXPERM 'should avoid cleaning possible submodules' '
498+
test_expect_success POSIXPERM,SANITY 'should avoid cleaning possible submodules' '
499499
rm -fr to_clean possible_sub1 &&
500500
mkdir to_clean possible_sub1 &&
501501
test_when_finished "rm -rf possible_sub*" &&

0 commit comments

Comments
 (0)