Skip to content

Commit

Permalink
t3600-rm.sh: Don't pass a non-existent prereq to test #15
Browse files Browse the repository at this point in the history
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 <ramsay@ramsay1.demon.co.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Ramsay Jones authored and Junio C Hamano committed Dec 14, 2010
1 parent c6d059b commit fbbfc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/t3600-rm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ test_expect_success FUNNYNAMES \
"git rm -f 'space embedded' 'tab embedded' 'newline
embedded'"

test_expect_success RO_DIR 'Test that "git rm -f" fails if its rm fails' '
test_expect_success SANITY 'Test that "git rm -f" fails if its rm fails' '
chmod a-w . &&
test_must_fail git rm -f baz &&
chmod 775 .
Expand Down

0 comments on commit fbbfc8a

Please sign in to comment.