diff options
author | Daiki Ueno <ueno@gnu.org> | 2016-06-08 15:27:59 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2016-06-08 15:28:49 +0900 |
commit | 59d9b55bb203ec78be4ace221123e0d1b5827b35 (patch) | |
tree | 4bbc2d778869beac6c86475523d366b7e8700966 /gettext-tools/tests/msggrep-4 | |
parent | a2a048cfe39504db09cfbbfdfc6cb9f417b3789f (diff) | |
download | external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.zip external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.tar.gz external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.tar.bz2 |
tests: Use Exit instead of exit if init.sh is used
* gettext-tools/tests/*: Use Exit instead of exit, as suggested by
init.sh.
Diffstat (limited to 'gettext-tools/tests/msggrep-4')
-rwxr-xr-x | gettext-tools/tests/msggrep-4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-tools/tests/msggrep-4 b/gettext-tools/tests/msggrep-4 index b15b51a..f711d81 100755 --- a/gettext-tools/tests/msggrep-4 +++ b/gettext-tools/tests/msggrep-4 @@ -161,8 +161,8 @@ LC_MESSAGES=C LC_ALL= \ ${MSGGREP} -K -e error -f mg-test4.in1 -f mg-test4.in2 -e cannot -o mg-test4.tmp mg-test4.po > mg-test4.err 2>&1 result=$? cat mg-test4.err | grep -v 'warning: Locale charset' | grep -v '^ ' -test $result = 0 || { exit 1; } -LC_ALL=C tr -d '\r' < mg-test4.tmp > mg-test4.out || exit 1 +test $result = 0 || { Exit 1; } +LC_ALL=C tr -d '\r' < mg-test4.tmp > mg-test4.out || Exit 1 cat <<\EOF > mg-test4.ok # German translations for GNU gettext package. |