summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/gettext-5
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/gettext-5
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/gettext-5')
-rwxr-xr-xgettext-tools/tests/gettext-510
1 files changed, 5 insertions, 5 deletions
diff --git a/gettext-tools/tests/gettext-5 b/gettext-tools/tests/gettext-5
index a7af65e..d33ebf1 100755
--- a/gettext-tools/tests/gettext-5
+++ b/gettext-tools/tests/gettext-5
@@ -8,7 +8,7 @@
: ${GLIBC2=no}
test "$GLIBC2" = yes || {
echo "Skipping test: not a glibc system"
- exit 77
+ Exit 77
}
# This test works only on systems that have a de_DE.ISO-8859-1 and
@@ -19,7 +19,7 @@ LC_ALL=de_DE.ISO-8859-1 ../testlocale || {
else
echo "Skipping test: locale de_DE.ISO-8859-1 not supported"
fi
- exit 77
+ Exit 77
}
LC_ALL=de_DE.UTF-8 ../testlocale || {
if test -f /usr/bin/localedef; then
@@ -27,7 +27,7 @@ LC_ALL=de_DE.UTF-8 ../testlocale || {
else
echo "Skipping test: locale de_DE.UTF-8 not supported"
fi
- exit 77
+ Exit 77
}
test -d gt-5 || mkdir gt-5
@@ -37,6 +37,6 @@ test -d gt-5/de_DE/LC_MESSAGES || mkdir gt-5/de_DE/LC_MESSAGES
: ${MSGFMT=msgfmt}
${MSGFMT} -o gt-5/de_DE/LC_MESSAGES/codeset.mo "$abs_srcdir"/gettext-5.po
-../gettext-5-prg || exit 1
+../gettext-5-prg || Exit 1
-exit 0
+Exit 0