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/msginit-1 | |
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/msginit-1')
-rwxr-xr-x | gettext-tools/tests/msginit-1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-tools/tests/msginit-1 b/gettext-tools/tests/msginit-1 index 71754d2..fa42552 100755 --- a/gettext-tools/tests/msginit-1 +++ b/gettext-tools/tests/msginit-1 @@ -39,10 +39,10 @@ EOF : ${MSGINIT=msginit} ${MSGINIT} -i mi-test1.pot -l ga_IE --no-translator -o mi-test1.tmp 2>mi-test1.err -test $? = 0 || { cat mi-test1.err 1>&2; exit 1; } +test $? = 0 || { cat mi-test1.err 1>&2; Exit 1; } # The charset stored in the header entry is the locale encoding of the gl_IE # locale, which is system dependent, or ASCII if the locale does not exist. -sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test1.tmp | LC_ALL=C tr -d '\r' > mi-test1.out || exit 1 +sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test1.tmp | LC_ALL=C tr -d '\r' > mi-test1.out || Exit 1 cat <<\EOF > mi-test1.ok "Last-Translator: Automatically generated\n" |