summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/format-javascript-1
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/format-javascript-1')
-rwxr-xr-xgettext-tools/tests/format-javascript-18
1 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/tests/format-javascript-1 b/gettext-tools/tests/format-javascript-1
index 0b8db0c..c0a4aa3 100755
--- a/gettext-tools/tests/format-javascript-1
+++ b/gettext-tools/tests/format-javascript-1
@@ -68,8 +68,8 @@ gettext(${string});
EOF
# Hide xgettext's "The translator cannot reorder the arguments." warnings.
${XGETTEXT} -L JavaScript -o f-js-1-$n.po f-js-1-$n.in 2> f-js-1.err \
- || { cat f-js-1.err 1>&2; exit 1; }
- test -f f-js-1-$n.po || exit 1
+ || { cat f-js-1.err 1>&2; Exit 1; }
+ test -f f-js-1-$n.po || Exit 1
fail=
if echo "$comment" | grep 'Valid:' > /dev/null; then
if grep javascript-format f-js-1-$n.po > /dev/null; then
@@ -89,9 +89,9 @@ EOF
cat f-js-1-$n.in 1>&2
echo "Got:" 1>&2
cat f-js-1-$n.po 1>&2
- exit 1
+ Exit 1
fi
rm -f f-js-1-$n.in f-js-1-$n.po
done < f-js-1.data
-exit 0
+Exit 0