summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgfmt-15
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-15
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-15')
-rwxr-xr-xgettext-tools/tests/msgfmt-158
1 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/tests/msgfmt-15 b/gettext-tools/tests/msgfmt-15
index 5ff7c4b..ba5d516 100755
--- a/gettext-tools/tests/msgfmt-15
+++ b/gettext-tools/tests/msgfmt-15
@@ -37,7 +37,7 @@ msgstr[2] "%d der unnützen Nichtterminale"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} --check -o /dev/null mf-15.po1 || exit 1
+${MSGFMT} --check -o /dev/null mf-15.po1 || Exit 1
cat <<\EOF > mf-15.po2
# SOME DESCRIPTIVE TITLE.
@@ -67,7 +67,7 @@ EOF
: ${MSGFMT=msgfmt}
${MSGFMT} --check -o /dev/null mf-15.po2 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
cat <<\EOF > mf-15.po3
# SOME DESCRIPTIVE TITLE.
@@ -96,7 +96,7 @@ msgstr[2] "%d der unnützen Nichtterminale"
EOF
: ${MSGFMT=msgfmt}
-${MSGFMT} --check -o /dev/null mf-15.po3 || exit 1
+${MSGFMT} --check -o /dev/null mf-15.po3 || Exit 1
cat <<\EOF > mf-15.po4
# SOME DESCRIPTIVE TITLE.
@@ -126,6 +126,6 @@ EOF
: ${MSGFMT=msgfmt}
${MSGFMT} --check -o /dev/null mf-15.po4 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
exit $result