summaryrefslogtreecommitdiff
path: root/gettext-tools/tests/lang-pascal
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2016-06-11 13:13:21 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2016-06-11 13:13:21 +0000
commit500500ec9b7b0d0cef90b48c9b4ddc8866b5f19c (patch)
tree1d7b3e6fab5c199fdbbaab53ee9532de6a4c8cf7 /gettext-tools/tests/lang-pascal
parent6eb5949dd99d174393465069c2fd0bab32deddcc (diff)
downloadgettext-tarball-0016c6a2873c279b4274ba605c10e8ed782e8ba2.tar.gz
Diffstat (limited to 'gettext-tools/tests/lang-pascal')
-rwxr-xr-xgettext-tools/tests/lang-pascal28
1 files changed, 14 insertions, 14 deletions
diff --git a/gettext-tools/tests/lang-pascal b/gettext-tools/tests/lang-pascal
index 76a12b6..a6781e8 100755
--- a/gettext-tools/tests/lang-pascal
+++ b/gettext-tools/tests/lang-pascal
@@ -30,12 +30,12 @@ EOF
(ppcx64 pascalprog.pp) >/dev/null 2>&1 ||
{
echo "Skipping test: Pascal compiler ppc386 or ppcx64 not found"
- exit 77
+ Exit 77
}
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o pascalprog.tmp --omit-header --add-location pascalprog.rst || exit 1
-LC_ALL=C tr -d '\r' < pascalprog.tmp > pascalprog.pot || exit 1
+${XGETTEXT} -o pascalprog.tmp --omit-header --add-location pascalprog.rst || Exit 1
+LC_ALL=C tr -d '\r' < pascalprog.tmp > pascalprog.pot || Exit 1
cat <<EOF > pascalprog.ok
#: pascalprog.question
@@ -49,7 +49,7 @@ msgstr ""
EOF
: ${DIFF=diff}
-${DIFF} pascalprog.ok pascalprog.pot || exit 1
+${DIFF} pascalprog.ok pascalprog.pot || Exit 1
cat <<\EOF > fr.po
msgid ""
@@ -67,11 +67,11 @@ msgstr "%1:s remplace %0:s."
EOF
: ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po pascalprog.pot || exit 1
-LC_ALL=C tr -d '\r' < fr.po.tmp > fr.po.new || exit 1
+${MSGMERGE} -q -o fr.po.tmp fr.po pascalprog.pot || Exit 1
+LC_ALL=C tr -d '\r' < fr.po.tmp > fr.po.new || Exit 1
: ${DIFF=diff}
-${DIFF} fr.po fr.po.new || exit 1
+${DIFF} fr.po fr.po.new || Exit 1
test -d fr || mkdir fr
test -d fr/LC_MESSAGES || mkdir fr/LC_MESSAGES
@@ -93,16 +93,16 @@ EOF
: ${LOCALE_FR_UTF8=fr_FR.UTF-8}
if test $LOCALE_FR != none; then
prepare_locale_ fr $LOCALE_FR
- LANGUAGE= LC_ALL= LC_MESSAGES= LC_CTYPE= LANG=$LOCALE_FR ./pascalprog > pascalprog.out || exit 1
+ LANGUAGE= LC_ALL= LC_MESSAGES= LC_CTYPE= LANG=$LOCALE_FR ./pascalprog > pascalprog.out || Exit 1
: ${DIFF=diff}
- ${DIFF} pascalprog.ok pascalprog.out || exit 1
+ ${DIFF} pascalprog.ok pascalprog.out || Exit 1
fi
if test -z "$UTF8_LOCALE_UNSUPPORTED"; then
if test $LOCALE_FR_UTF8 != none; then
prepare_locale_ fr $LOCALE_FR_UTF8
- LANGUAGE= LC_ALL= LC_MESSAGES= LC_CTYPE= LANG=$LOCALE_FR_UTF8 ./pascalprog > pascalprog.out || exit 1
+ LANGUAGE= LC_ALL= LC_MESSAGES= LC_CTYPE= LANG=$LOCALE_FR_UTF8 ./pascalprog > pascalprog.out || Exit 1
: ${DIFF=diff}
- ${DIFF} pascalprog.oku pascalprog.out || exit 1
+ ${DIFF} pascalprog.oku pascalprog.out || Exit 1
fi
if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
if test -f /usr/bin/localedef; then
@@ -110,7 +110,7 @@ if test -z "$UTF8_LOCALE_UNSUPPORTED"; then
else
echo "Skipping test: no french locale is supported"
fi
- exit 77
+ Exit 77
fi
else
if test $LOCALE_FR = none; then
@@ -119,8 +119,8 @@ else
else
echo "Skipping test: no traditional french locale is supported"
fi
- exit 77
+ Exit 77
fi
fi
-exit 0
+Exit 0