path: root/t/
diff options
authorJohannes Sixt <>2014-08-13 19:30:11 (GMT)
committerJunio C Hamano <>2014-08-13 20:12:06 (GMT)
commit41ca19b6a6ca5ad6fea246bd400717c16b80b32c (patch)
tree65be6351717770aabcf27fb693114f7122b890f2 /t/
parent67de23ddb1ed5471e302f6a84fae7a9037a0d980 (diff)
tests: fix negated test_i18ngrep calls
The helper function test_i18ngrep pretends that it found the expected results when it is running under GETTEXT_POISON. For this reason, it must not be used negated like so ! test_i18ngrep foo bar because the test case would fail under GETTEXT_POISON. The function offers a special syntax to test that a pattern is *not* found: test_i18ngrep ! foo bar Convert incorrect uses to this syntax. Signed-off-by: Johannes Sixt <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 't/')
1 files changed, 1 insertions, 1 deletions
diff --git a/t/ b/t/
index 665607c..5b56212 100755
--- a/t/
+++ b/t/
@@ -145,7 +145,7 @@ test_expect_success 'exit when p4 fails to produce marshaled output' '
test_expect_code 1 git p4 clone --dest="$git" //depot >errs 2>&1
) &&
cat errs &&
- ! test_i18ngrep Traceback errs
+ test_i18ngrep ! Traceback errs
# Hide a file from p4d, make sure we catch its complaint. This won't fail in