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/msgunfmt-java-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/msgunfmt-java-1')
-rwxr-xr-x | gettext-tools/tests/msgunfmt-java-1 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gettext-tools/tests/msgunfmt-java-1 b/gettext-tools/tests/msgunfmt-java-1 index 8857eb1..3b807f0 100755 --- a/gettext-tools/tests/msgunfmt-java-1 +++ b/gettext-tools/tests/msgunfmt-java-1 @@ -9,15 +9,15 @@ # Test whether we can compile and execute Java programs. test "${JAVA_CHOICE}" != no || { echo "Skipping test: configured with --disable-java" - exit 77 + Exit 77 } test "${BUILDJAVA}" = yes || { echo "Skipping test: Java compiler or jar not found" - exit 77 + Exit 77 } test "${TESTJAVA}" = yes || { echo "Skipping test: Java engine not found" - exit 77 + Exit 77 } test -d mu-java-1 || mkdir mu-java-1 @@ -54,15 +54,15 @@ msgstr "Fermer" EOF : ${MSGFMT=msgfmt} -${MSGFMT} -j -d mu-java-1 -r prog -l fr mu-java-1/fr.po || exit 1 +${MSGFMT} -j -d mu-java-1 -r prog -l fr mu-java-1/fr.po || Exit 1 : ${MSGUNFMT=msgunfmt} CLASSPATH=mu-java-1${CLASSPATH:+:$CLASSPATH} \ GETTEXTJEXEDIR=../../src GETTEXTJAR=../../src/gettext.jar \ -${MSGUNFMT} --java -d mu-java-1 -r prog -l fr -o mu-java-1/prog.out || exit 1 +${MSGUNFMT} --java -d mu-java-1 -r prog -l fr -o mu-java-1/prog.out || Exit 1 : ${MSGCAT=msgcat} -${MSGCAT} -s -o mu-java-1/prog.sort mu-java-1/prog.out || exit 1 +${MSGCAT} -s -o mu-java-1/prog.sort mu-java-1/prog.out || Exit 1 cat <<\EOF > mu-java-1/prog.ok msgid "" @@ -89,6 +89,6 @@ msgid "{0} is replaced by {1}." msgstr "{1} remplace {0}." EOF : ${DIFF=diff} -${DIFF} mu-java-1/prog.ok mu-java-1/prog.sort || exit 1 +${DIFF} mu-java-1/prog.ok mu-java-1/prog.sort || Exit 1 -exit 0 +Exit 0 |