From 59d9b55bb203ec78be4ace221123e0d1b5827b35 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 8 Jun 2016 15:27:59 +0900 Subject: tests: Use Exit instead of exit if init.sh is used * gettext-tools/tests/*: Use Exit instead of exit, as suggested by init.sh. --- gettext-tools/tests/xgettext-javascript-4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gettext-tools/tests/xgettext-javascript-4') diff --git a/gettext-tools/tests/xgettext-javascript-4 b/gettext-tools/tests/xgettext-javascript-4 index 399b97d..5932f6c 100755 --- a/gettext-tools/tests/xgettext-javascript-4 +++ b/gettext-tools/tests/xgettext-javascript-4 @@ -11,7 +11,7 @@ EOF : ${XGETTEXT=xgettext} ${XGETTEXT} --add-comments --no-location -o xg-js-4.tmp xg-js-4.js 2>xg-js-4.err -test $? = 0 || { cat xg-js-4.err; exit 1; } +test $? = 0 || { cat xg-js-4.err; Exit 1; } # Don't simplify this to "grep ... < xg-js-4.tmp", otherwise OpenBSD 4.0 grep # only outputs "Binary file (standard input) matches". cat xg-js-4.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-js-4.pot -- cgit v1.1