summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-php-2
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/xgettext-php-2
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/xgettext-php-2')
-rwxr-xr-xgettext-tools/tests/xgettext-php-220
1 files changed, 10 insertions, 10 deletions
diff --git a/gettext-tools/tests/xgettext-php-2 b/gettext-tools/tests/xgettext-php-2
index 34f2e7f..3eb6a92 100755
--- a/gettext-tools/tests/xgettext-php-2
+++ b/gettext-tools/tests/xgettext-php-2
@@ -40,22 +40,22 @@ echo _("Franks");
EOF
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-ph-2.tmp xg-ph-2.php || exit 1
-LC_ALL=C tr -d '\r' < xg-ph-2.tmp.po > xg-ph-2.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-ph-2.tmp xg-ph-2.php || Exit 1
+LC_ALL=C tr -d '\r' < xg-ph-2.tmp.po > xg-ph-2.po || Exit 1
-sed 's!<<<EOTMARKER!<<<"EOTMARKER"!' xg-ph-2.php > xg-ph-2d.php || exit 1
-sed "s!<<<EOTMARKER!<<<'EOTMARKER'!" xg-ph-2.php > xg-ph-2s.php || exit 1
+sed 's!<<<EOTMARKER!<<<"EOTMARKER"!' xg-ph-2.php > xg-ph-2d.php || Exit 1
+sed "s!<<<EOTMARKER!<<<'EOTMARKER'!" xg-ph-2.php > xg-ph-2s.php || Exit 1
: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-ph-2.tmp xg-ph-2.php || exit 1
-LC_ALL=C tr -d '\r' < xg-ph-2.tmp.po > xg-ph-2.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-ph-2.tmp xg-ph-2.php || Exit 1
+LC_ALL=C tr -d '\r' < xg-ph-2.tmp.po > xg-ph-2.po || Exit 1
-${XGETTEXT} --omit-header --no-location -d xg-ph-2d.tmp xg-ph-2d.php || exit 1
-LC_ALL=C tr -d '\r' < xg-ph-2d.tmp.po > xg-ph-2d.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-ph-2d.tmp xg-ph-2d.php || Exit 1
+LC_ALL=C tr -d '\r' < xg-ph-2d.tmp.po > xg-ph-2d.po || Exit 1
-${XGETTEXT} --omit-header --no-location -d xg-ph-2s.tmp xg-ph-2s.php || exit 1
-LC_ALL=C tr -d '\r' < xg-ph-2s.tmp.po > xg-ph-2s.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-ph-2s.tmp xg-ph-2s.php || Exit 1
+LC_ALL=C tr -d '\r' < xg-ph-2s.tmp.po > xg-ph-2s.po || Exit 1
cat <<EOF > xg-ph-2.ok
msgid "Egyptians"