aboutsummaryrefslogtreecommitdiff
path: root/t/t4210-log-i18n.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-07-21 15:09:27 -0700
committerJunio C Hamano <gitster@pobox.com>2014-07-21 15:42:34 -0700
commitf57a8715bc5f50234dd1f756b3b26a0b81c3784c (patch)
tree1a0b4f688fa86ea918758c22ab577aa57c4c63be /t/t4210-log-i18n.sh
parente8d08871c97cf8e932ded11ef1659d5d14e4b36a (diff)
downloadgit-f57a8715bc5f50234dd1f756b3b26a0b81c3784c.tar.gz
git-f57a8715bc5f50234dd1f756b3b26a0b81c3784c.tar.xz
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/t4210-log-i18n.sh')
-rwxr-xr-xt/t4210-log-i18n.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t4210-log-i18n.sh b/t/t4210-log-i18n.sh
index 9110404e5..e585fe612 100755
--- a/t/t4210-log-i18n.sh
+++ b/t/t4210-log-i18n.sh
@@ -34,7 +34,7 @@ test_expect_success 'log --grep searches in log output encoding (utf8)' '
test_cmp expect actual
'
-test_expect_success NOT_MINGW 'log --grep searches in log output encoding (latin1)' '
+test_expect_success !MINGW 'log --grep searches in log output encoding (latin1)' '
cat >expect <<-\EOF &&
latin1
utf8
@@ -43,7 +43,7 @@ test_expect_success NOT_MINGW 'log --grep searches in log output encoding (latin
test_cmp expect actual
'
-test_expect_success NOT_MINGW 'log --grep does not find non-reencoded values (utf8)' '
+test_expect_success !MINGW 'log --grep does not find non-reencoded values (utf8)' '
>expect &&
git log --encoding=utf8 --format=%s --grep=$latin1_e >actual &&
test_cmp expect actual