summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/msgunfmt-java-1
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/msgunfmt-java-1')
-rwxr-xr-xgettext-tools/tests/msgunfmt-java-116
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