diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-12-14 18:19:09 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-14 11:07:11 -0800 |
commit | fbbfc8a9bb91ddd325995cc346eab91c06c9cd64 (patch) | |
tree | 675c7def3b79087d1218ec6fd6649cbd9127cdf4 /t/t3600-rm.sh | |
parent | c6d059bbccb8460959b9aedfeefbb4d6aac6e842 (diff) | |
download | git-fbbfc8a9bb91ddd325995cc346eab91c06c9cd64.tar.gz |
t3600-rm.sh: Don't pass a non-existent prereq to test #15
Commit c91cfd19 (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>
Diffstat (limited to 't/t3600-rm.sh')
-rwxr-xr-x | t/t3600-rm.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3600-rm.sh b/t/t3600-rm.sh index b26cabd571..cd093bd347 100755 --- a/t/t3600-rm.sh +++ b/t/t3600-rm.sh @@ -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 . |