diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-05-23 13:46:08 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-05-23 13:46:09 +0900 |
commit | 6a0bc7cf0efbefa5a949d958947e68e29534f04d (patch) | |
tree | b1b5d9c52347c73b2c9fa8fa2671506b9597e670 /t/t0027-auto-crlf.sh | |
parent | d13686ff4d17119418a3aa6b901f9c0e640b25b8 (diff) | |
parent | b8e188f6f51fb016eba7eb8a76a109cdadbd4231 (diff) | |
download | git-6a0bc7cf0efbefa5a949d958947e68e29534f04d.tar.gz git-6a0bc7cf0efbefa5a949d958947e68e29534f04d.tar.xz |
Merge branch 'ab/fix-poison-tests'
Update tests to pass under GETTEXT_POISON (a mechanism to ensure
that output strings that should not be translated are not
translated by mistake), and tell TravisCI to run them.
* ab/fix-poison-tests:
travis-ci: add job to run tests with GETTEXT_POISON
travis-ci: setup "prove cache" in "script" step
tests: fix tests broken under GETTEXT_POISON=YesPlease
Diffstat (limited to 't/t0027-auto-crlf.sh')
-rwxr-xr-x | t/t0027-auto-crlf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0027-auto-crlf.sh b/t/t0027-auto-crlf.sh index effc3db0d..deb3ae781 100755 --- a/t/t0027-auto-crlf.sh +++ b/t/t0027-auto-crlf.sh @@ -69,7 +69,7 @@ check_warning () { *) echo >&2 "Illegal 1": "$1" ; return false ;; esac grep "will be replaced by" "$2" | sed -e "s/\(.*\) in [^ ]*$/\1/" | uniq >"$2".actual - test_cmp "$2".expect "$2".actual + test_i18ncmp "$2".expect "$2".actual } commit_check_warn () { |