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/xgettext-c-19 | |
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/xgettext-c-19')
-rwxr-xr-x | gettext-tools/tests/xgettext-c-19 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/tests/xgettext-c-19 b/gettext-tools/tests/xgettext-c-19 index 674af4f..628ecb8 100755 --- a/gettext-tools/tests/xgettext-c-19 +++ b/gettext-tools/tests/xgettext-c-19 @@ -11,7 +11,7 @@ cat <<\EOF > err1.c gettext ("\U00110000"); EOF -(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location --no-wrap -o - err1.c 2>&1; exit) | grep 'invalid Unicode character' || exit 1 +(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location --no-wrap -o - err1.c 2>&1; exit) | grep 'invalid Unicode character' || Exit 1 cat <<\EOF > xg-c-19.in.c /* 最初のコメント */ @@ -29,12 +29,12 @@ EOF : ${ICONV=iconv} iconv -f UTF-8 -t EUC-JP < xg-c-19.in.c > xg-c-19.c \ - || { echo "Skipping test: iconv does not work for EUC-JP"; exit 77; } + || { echo "Skipping test: iconv does not work for EUC-JP"; Exit 77; } ${XGETTEXT} --from-code=EUC-JP --add-comments --no-location --no-wrap \ -o - xg-c-19.c | grep -v 'POT-Creation-Date' > xg-c-19.tmp.po \ - || exit 1 -LC_ALL=C tr -d '\r' < xg-c-19.tmp.po > xg-c-19.po || exit 1 + || Exit 1 +LC_ALL=C tr -d '\r' < xg-c-19.tmp.po > xg-c-19.po || Exit 1 cat <<\EOF > xg-c-19.ok # SOME DESCRIPTIVE TITLE. |