t4153: fix negated test_i18ngrep call
The function test_i18ngrep fakes success when run under GETTEXT_POISON. Hence, running in the following manner will always fail under gettext poison: ! test_i18ngrep expected actual Use correct syntax: test_i18ngrep ! expected actual For other instance of this issue see 41ca19b ("tests: fix negated test_i18ngrep calls", 2014-08-13). Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Vasco Almeida committed
Jun 17, 2016 at 20:21 UTC
de5ea4c6f8515fd28f0795f90b5bf5221bec552a
1 file changed
+1
-1
t/t4153-am-resume-override-opts.sh
+1
-1
@@ -53,7 +53,7 @@ test_expect_success '--no-quiet overrides --quiet' '
53
# Applying side1 will be quiet.
54
test_must_fail git am --quiet side[123].eml >out &&
55
test_path_is_dir .git/rebase-apply &&
56
- ! test_i18ngrep "^Applying: " out &&
56
+ test_i18ngrep ! "^Applying: " out &&
57
echo side1 >file &&
58
git add file &&
59