summaryrefslogtreecommitdiff
path: root/t/t4153-am-resume-override-opts.sh
diff options
context:
space:
mode:
authorVasco Almeida <vascomalmeida@sapo.pt>2016-06-17 20:21:10 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-06-17 22:45:48 (GMT)
commitde5ea4c6f8515fd28f0795f90b5bf5221bec552a (patch)
tree4655d514132b2e92aa2a2b04a32e07eb5e3b9efe /t/t4153-am-resume-override-opts.sh
parentf9b32424dcba5df7653f0dc9a45bdd135de416aa (diff)
downloadgit-de5ea4c6f8515fd28f0795f90b5bf5221bec552a.zip
git-de5ea4c6f8515fd28f0795f90b5bf5221bec552a.tar.gz
git-de5ea4c6f8515fd28f0795f90b5bf5221bec552a.tar.bz2
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>
Diffstat (limited to 't/t4153-am-resume-override-opts.sh')
-rwxr-xr-xt/t4153-am-resume-override-opts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t4153-am-resume-override-opts.sh b/t/t4153-am-resume-override-opts.sh
index 7c013d8..8ea22d1 100755
--- a/t/t4153-am-resume-override-opts.sh
+++ b/t/t4153-am-resume-override-opts.sh
@@ -53,7 +53,7 @@ test_expect_success '--no-quiet overrides --quiet' '
# Applying side1 will be quiet.
test_must_fail git am --quiet side[123].eml >out &&
test_path_is_dir .git/rebase-apply &&
- ! test_i18ngrep "^Applying: " out &&
+ test_i18ngrep ! "^Applying: " out &&
echo side1 >file &&
git add file &&