summaryrefslogtreecommitdiff
path: root/t/t5601-clone.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-07-21 22:09:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-21 22:42:34 (GMT)
commitf57a8715bc5f50234dd1f756b3b26a0b81c3784c (patch)
tree1a0b4f688fa86ea918758c22ab577aa57c4c63be /t/t5601-clone.sh
parente8d08871c97cf8e932ded11ef1659d5d14e4b36a (diff)
downloadgit-f57a8715bc5f50234dd1f756b3b26a0b81c3784c.zip
git-f57a8715bc5f50234dd1f756b3b26a0b81c3784c.tar.gz
git-f57a8715bc5f50234dd1f756b3b26a0b81c3784c.tar.bz2
test prerequisites: eradicate NOT_FOO
Support for Back when bdccd3c1 (test-lib: allow negation of prerequisites, 2012-11-14) introduced negated predicates (e.g. "!MINGW,!CYGWIN"), we already had 5 test files that use NOT_MINGW (and a few MINGW) as prerequisites. Let's not add NOT_FOO and rewrite existing ones as !FOO for both MINGW and CYGWIN. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5601-clone.sh')
-rwxr-xr-xt/t5601-clone.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh
index 5e67035..e4f10c0 100755
--- a/t/t5601-clone.sh
+++ b/t/t5601-clone.sh
@@ -318,7 +318,7 @@ test_expect_success 'clone myhost:src uses ssh' '
expect_ssh myhost src
'
-test_expect_success NOT_MINGW,NOT_CYGWIN 'clone local path foo:bar' '
+test_expect_success !MINGW,!CYGWIN 'clone local path foo:bar' '
cp -R src "foo:bar" &&
git clone "foo:bar" foobar &&
expect_ssh none
@@ -339,7 +339,7 @@ test_clone_url () {
expect_ssh "$2" "$3"
}
-test_expect_success NOT_MINGW 'clone c:temp is ssl' '
+test_expect_success !MINGW 'clone c:temp is ssl' '
test_clone_url c:temp c temp
'