summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgfmt-17
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2016-06-08 15:27:59 +0900
committerDaiki Ueno <ueno@gnu.org>2016-06-08 15:28:49 +0900
commit59d9b55bb203ec78be4ace221123e0d1b5827b35 (patch)
tree4bbc2d778869beac6c86475523d366b7e8700966 /gettext-tools/tests/msgfmt-17
parenta2a048cfe39504db09cfbbfdfc6cb9f417b3789f (diff)
downloadexternal_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/msgfmt-17')
-rwxr-xr-xgettext-tools/tests/msgfmt-178
1 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/tests/msgfmt-17 b/gettext-tools/tests/msgfmt-17
index cc98b96..8624d7e 100755
--- a/gettext-tools/tests/msgfmt-17
+++ b/gettext-tools/tests/msgfmt-17
@@ -37,7 +37,7 @@ EOF
: ${MSGFMT=msgfmt}
${MSGFMT} --check -o /dev/null mf-17.po1 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
cat <<\EOF > mf-17.po2
# SOME DESCRIPTIVE TITLE.
@@ -66,7 +66,7 @@ msgstr[2] "час и %(number)s четвертей"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} --check -o /dev/null mf-17.po2 || exit 1
+${MSGFMT} --check -o /dev/null mf-17.po2 || Exit 1
cat <<\EOF > mf-17.po3
# SOME DESCRIPTIVE TITLE.
@@ -96,7 +96,7 @@ EOF
: ${MSGFMT=msgfmt}
${MSGFMT} --check -o /dev/null mf-17.po3 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
cat <<\EOF > mf-17.po4
# SOME DESCRIPTIVE TITLE.
@@ -126,6 +126,6 @@ EOF
: ${MSGFMT=msgfmt}
${MSGFMT} --check -o /dev/null mf-17.po4 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
exit $result