Skip to content

Commit fbbfc8a

Browse files
Ramsay Jonesgitster
authored andcommitted
t3600-rm.sh: Don't pass a non-existent prereq to test #15
Commit c91cfd1 (tests: A SANITY test prereq for testing if we're root, 2010-08-06) introduced a SANITY prerequisite which had very similar semantics to RO_DIR. That commit removed the code to set RO_DIR, but forgot to replace RO_DIR with SANITY in test #15. In order not to skip test 15 unnecessarily, since RO_DIR will never be set, we pass the SANITY prerequisite instead. Signed-off-by: Ramsay Jones <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent c6d059b commit fbbfc8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t3600-rm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ test_expect_success FUNNYNAMES \
9696
"git rm -f 'space embedded' 'tab embedded' 'newline
9797
embedded'"
9898

99-
test_expect_success RO_DIR 'Test that "git rm -f" fails if its rm fails' '
99+
test_expect_success SANITY 'Test that "git rm -f" fails if its rm fails' '
100100
chmod a-w . &&
101101
test_must_fail git rm -f baz &&
102102
chmod 775 .

0 commit comments

Comments
 (0)