]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: Use Exit instead of exit if init.sh is used
authorDaiki Ueno <ueno@gnu.org>
Wed, 8 Jun 2016 06:27:59 +0000 (15:27 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 8 Jun 2016 06:28:49 +0000 (15:28 +0900)
* gettext-tools/tests/*: Use Exit instead of exit, as suggested by
init.sh.

396 files changed:
gettext-tools/tests/autopoint-1
gettext-tools/tests/autopoint-2
gettext-tools/tests/autopoint-3
gettext-tools/tests/cldr-plurals-1
gettext-tools/tests/format-awk-1
gettext-tools/tests/format-awk-2
gettext-tools/tests/format-boost-1
gettext-tools/tests/format-boost-2
gettext-tools/tests/format-c-1
gettext-tools/tests/format-c-2
gettext-tools/tests/format-c-3
gettext-tools/tests/format-c-4
gettext-tools/tests/format-c-5
gettext-tools/tests/format-csharp-1
gettext-tools/tests/format-csharp-2
gettext-tools/tests/format-elisp-1
gettext-tools/tests/format-elisp-2
gettext-tools/tests/format-gcc-internal-1
gettext-tools/tests/format-gcc-internal-2
gettext-tools/tests/format-gfc-internal-1
gettext-tools/tests/format-gfc-internal-2
gettext-tools/tests/format-java-1
gettext-tools/tests/format-java-2
gettext-tools/tests/format-javascript-1
gettext-tools/tests/format-javascript-2
gettext-tools/tests/format-kde-1
gettext-tools/tests/format-kde-2
gettext-tools/tests/format-kde-kuit-1
gettext-tools/tests/format-kde-kuit-2
gettext-tools/tests/format-librep-1
gettext-tools/tests/format-librep-2
gettext-tools/tests/format-lisp-1
gettext-tools/tests/format-lisp-2
gettext-tools/tests/format-lua-1
gettext-tools/tests/format-lua-2
gettext-tools/tests/format-pascal-1
gettext-tools/tests/format-pascal-2
gettext-tools/tests/format-perl-1
gettext-tools/tests/format-perl-2
gettext-tools/tests/format-perl-brace-1
gettext-tools/tests/format-perl-brace-2
gettext-tools/tests/format-perl-mixed-1
gettext-tools/tests/format-perl-mixed-2
gettext-tools/tests/format-php-1
gettext-tools/tests/format-php-2
gettext-tools/tests/format-python-1
gettext-tools/tests/format-python-2
gettext-tools/tests/format-python-brace-1
gettext-tools/tests/format-python-brace-2
gettext-tools/tests/format-qt-1
gettext-tools/tests/format-qt-2
gettext-tools/tests/format-qt-plural-1
gettext-tools/tests/format-qt-plural-2
gettext-tools/tests/format-scheme-1
gettext-tools/tests/format-scheme-2
gettext-tools/tests/format-sh-1
gettext-tools/tests/format-sh-2
gettext-tools/tests/format-tcl-1
gettext-tools/tests/format-tcl-2
gettext-tools/tests/format-ycp-1
gettext-tools/tests/format-ycp-2
gettext-tools/tests/gettext-3
gettext-tools/tests/gettext-4
gettext-tools/tests/gettext-5
gettext-tools/tests/gettext-6
gettext-tools/tests/gettext-7
gettext-tools/tests/gettextpo-1
gettext-tools/tests/lang-bash
gettext-tools/tests/lang-c
gettext-tools/tests/lang-c++
gettext-tools/tests/lang-clisp
gettext-tools/tests/lang-csharp
gettext-tools/tests/lang-elisp
gettext-tools/tests/lang-gawk
gettext-tools/tests/lang-guile
gettext-tools/tests/lang-java
gettext-tools/tests/lang-javascript
gettext-tools/tests/lang-librep
gettext-tools/tests/lang-lua
gettext-tools/tests/lang-objc
gettext-tools/tests/lang-pascal
gettext-tools/tests/lang-perl-1
gettext-tools/tests/lang-perl-2
gettext-tools/tests/lang-php
gettext-tools/tests/lang-po
gettext-tools/tests/lang-python-1
gettext-tools/tests/lang-python-2
gettext-tools/tests/lang-rst
gettext-tools/tests/lang-sh
gettext-tools/tests/lang-smalltalk
gettext-tools/tests/lang-tcl
gettext-tools/tests/lang-vala
gettext-tools/tests/lang-ycp
gettext-tools/tests/msgattrib-1
gettext-tools/tests/msgattrib-10
gettext-tools/tests/msgattrib-11
gettext-tools/tests/msgattrib-12
gettext-tools/tests/msgattrib-13
gettext-tools/tests/msgattrib-14
gettext-tools/tests/msgattrib-15
gettext-tools/tests/msgattrib-16
gettext-tools/tests/msgattrib-17
gettext-tools/tests/msgattrib-18
gettext-tools/tests/msgattrib-19
gettext-tools/tests/msgattrib-2
gettext-tools/tests/msgattrib-3
gettext-tools/tests/msgattrib-4
gettext-tools/tests/msgattrib-5
gettext-tools/tests/msgattrib-6
gettext-tools/tests/msgattrib-7
gettext-tools/tests/msgattrib-8
gettext-tools/tests/msgattrib-9
gettext-tools/tests/msgattrib-properties-1
gettext-tools/tests/msgcat-1
gettext-tools/tests/msgcat-10
gettext-tools/tests/msgcat-11
gettext-tools/tests/msgcat-12
gettext-tools/tests/msgcat-13
gettext-tools/tests/msgcat-14
gettext-tools/tests/msgcat-15
gettext-tools/tests/msgcat-16
gettext-tools/tests/msgcat-17
gettext-tools/tests/msgcat-18
gettext-tools/tests/msgcat-19
gettext-tools/tests/msgcat-2
gettext-tools/tests/msgcat-20
gettext-tools/tests/msgcat-3
gettext-tools/tests/msgcat-4
gettext-tools/tests/msgcat-5
gettext-tools/tests/msgcat-6
gettext-tools/tests/msgcat-7
gettext-tools/tests/msgcat-8
gettext-tools/tests/msgcat-9
gettext-tools/tests/msgcat-properties-1
gettext-tools/tests/msgcat-properties-2
gettext-tools/tests/msgcat-stringtable-1
gettext-tools/tests/msgcmp-4
gettext-tools/tests/msgcomm-1
gettext-tools/tests/msgcomm-10
gettext-tools/tests/msgcomm-11
gettext-tools/tests/msgcomm-12
gettext-tools/tests/msgcomm-13
gettext-tools/tests/msgcomm-14
gettext-tools/tests/msgcomm-15
gettext-tools/tests/msgcomm-16
gettext-tools/tests/msgcomm-17
gettext-tools/tests/msgcomm-18
gettext-tools/tests/msgcomm-19
gettext-tools/tests/msgcomm-2
gettext-tools/tests/msgcomm-20
gettext-tools/tests/msgcomm-21
gettext-tools/tests/msgcomm-22
gettext-tools/tests/msgcomm-23
gettext-tools/tests/msgcomm-24
gettext-tools/tests/msgcomm-25
gettext-tools/tests/msgcomm-26
gettext-tools/tests/msgcomm-27
gettext-tools/tests/msgcomm-28
gettext-tools/tests/msgcomm-3
gettext-tools/tests/msgcomm-4
gettext-tools/tests/msgcomm-5
gettext-tools/tests/msgcomm-6
gettext-tools/tests/msgcomm-7
gettext-tools/tests/msgcomm-8
gettext-tools/tests/msgcomm-9
gettext-tools/tests/msgconv-1
gettext-tools/tests/msgconv-2
gettext-tools/tests/msgconv-4
gettext-tools/tests/msgconv-5
gettext-tools/tests/msgconv-6
gettext-tools/tests/msgconv-7
gettext-tools/tests/msgen-1
gettext-tools/tests/msgen-2
gettext-tools/tests/msgen-3
gettext-tools/tests/msgen-4
gettext-tools/tests/msgexec-1
gettext-tools/tests/msgexec-2
gettext-tools/tests/msgexec-3
gettext-tools/tests/msgexec-4
gettext-tools/tests/msgexec-5
gettext-tools/tests/msgexec-6
gettext-tools/tests/msgfilter-1
gettext-tools/tests/msgfilter-2
gettext-tools/tests/msgfilter-3
gettext-tools/tests/msgfilter-4
gettext-tools/tests/msgfilter-5
gettext-tools/tests/msgfilter-6
gettext-tools/tests/msgfilter-7
gettext-tools/tests/msgfilter-8
gettext-tools/tests/msgfilter-quote-1
gettext-tools/tests/msgfilter-sr-latin-1
gettext-tools/tests/msgfmt-1
gettext-tools/tests/msgfmt-10
gettext-tools/tests/msgfmt-12
gettext-tools/tests/msgfmt-14
gettext-tools/tests/msgfmt-15
gettext-tools/tests/msgfmt-16
gettext-tools/tests/msgfmt-17
gettext-tools/tests/msgfmt-18
gettext-tools/tests/msgfmt-2
gettext-tools/tests/msgfmt-3
gettext-tools/tests/msgfmt-5
gettext-tools/tests/msgfmt-desktop-1
gettext-tools/tests/msgfmt-desktop-2
gettext-tools/tests/msgfmt-properties-1
gettext-tools/tests/msgfmt-qt-1
gettext-tools/tests/msgfmt-qt-2
gettext-tools/tests/msgfmt-xml-1
gettext-tools/tests/msgfmt-xml-2
gettext-tools/tests/msggrep-1
gettext-tools/tests/msggrep-10
gettext-tools/tests/msggrep-11
gettext-tools/tests/msggrep-2
gettext-tools/tests/msggrep-3
gettext-tools/tests/msggrep-4
gettext-tools/tests/msggrep-5
gettext-tools/tests/msggrep-6
gettext-tools/tests/msggrep-7
gettext-tools/tests/msggrep-8
gettext-tools/tests/msggrep-9
gettext-tools/tests/msginit-1
gettext-tools/tests/msginit-2
gettext-tools/tests/msginit-3
gettext-tools/tests/msginit-4
gettext-tools/tests/msgmerge-1
gettext-tools/tests/msgmerge-10
gettext-tools/tests/msgmerge-11
gettext-tools/tests/msgmerge-12
gettext-tools/tests/msgmerge-13
gettext-tools/tests/msgmerge-14
gettext-tools/tests/msgmerge-15
gettext-tools/tests/msgmerge-16
gettext-tools/tests/msgmerge-17
gettext-tools/tests/msgmerge-18
gettext-tools/tests/msgmerge-19
gettext-tools/tests/msgmerge-20
gettext-tools/tests/msgmerge-21
gettext-tools/tests/msgmerge-22
gettext-tools/tests/msgmerge-23
gettext-tools/tests/msgmerge-24
gettext-tools/tests/msgmerge-25
gettext-tools/tests/msgmerge-3
gettext-tools/tests/msgmerge-4
gettext-tools/tests/msgmerge-5
gettext-tools/tests/msgmerge-6
gettext-tools/tests/msgmerge-7
gettext-tools/tests/msgmerge-8
gettext-tools/tests/msgmerge-compendium-1
gettext-tools/tests/msgmerge-compendium-2
gettext-tools/tests/msgmerge-compendium-3
gettext-tools/tests/msgmerge-compendium-4
gettext-tools/tests/msgmerge-compendium-5
gettext-tools/tests/msgmerge-compendium-6
gettext-tools/tests/msgmerge-properties-1
gettext-tools/tests/msgmerge-properties-2
gettext-tools/tests/msgmerge-update-1
gettext-tools/tests/msgmerge-update-2
gettext-tools/tests/msgmerge-update-3
gettext-tools/tests/msgmerge-update-4
gettext-tools/tests/msgunfmt-1
gettext-tools/tests/msgunfmt-2
gettext-tools/tests/msgunfmt-3
gettext-tools/tests/msgunfmt-csharp-1
gettext-tools/tests/msgunfmt-java-1
gettext-tools/tests/msgunfmt-properties-1
gettext-tools/tests/msgunfmt-tcl-1
gettext-tools/tests/msguniq-1
gettext-tools/tests/msguniq-2
gettext-tools/tests/msguniq-3
gettext-tools/tests/msguniq-4
gettext-tools/tests/msguniq-5
gettext-tools/tests/msguniq-6
gettext-tools/tests/msguniq-7
gettext-tools/tests/plural-1
gettext-tools/tests/plural-2
gettext-tools/tests/recode-sr-latin-1
gettext-tools/tests/recode-sr-latin-2
gettext-tools/tests/sentence-1
gettext-tools/tests/xgettext-1
gettext-tools/tests/xgettext-10
gettext-tools/tests/xgettext-11
gettext-tools/tests/xgettext-12
gettext-tools/tests/xgettext-13
gettext-tools/tests/xgettext-14
gettext-tools/tests/xgettext-2
gettext-tools/tests/xgettext-5
gettext-tools/tests/xgettext-6
gettext-tools/tests/xgettext-7
gettext-tools/tests/xgettext-8
gettext-tools/tests/xgettext-9
gettext-tools/tests/xgettext-appdata-1
gettext-tools/tests/xgettext-awk-1
gettext-tools/tests/xgettext-awk-2
gettext-tools/tests/xgettext-c-1
gettext-tools/tests/xgettext-c-10
gettext-tools/tests/xgettext-c-11
gettext-tools/tests/xgettext-c-12
gettext-tools/tests/xgettext-c-13
gettext-tools/tests/xgettext-c-14
gettext-tools/tests/xgettext-c-15
gettext-tools/tests/xgettext-c-16
gettext-tools/tests/xgettext-c-17
gettext-tools/tests/xgettext-c-18
gettext-tools/tests/xgettext-c-19
gettext-tools/tests/xgettext-c-2
gettext-tools/tests/xgettext-c-20
gettext-tools/tests/xgettext-c-21
gettext-tools/tests/xgettext-c-3
gettext-tools/tests/xgettext-c-4
gettext-tools/tests/xgettext-c-5
gettext-tools/tests/xgettext-c-6
gettext-tools/tests/xgettext-c-7
gettext-tools/tests/xgettext-c-8
gettext-tools/tests/xgettext-c-9
gettext-tools/tests/xgettext-csharp-1
gettext-tools/tests/xgettext-csharp-2
gettext-tools/tests/xgettext-csharp-3
gettext-tools/tests/xgettext-csharp-4
gettext-tools/tests/xgettext-csharp-5
gettext-tools/tests/xgettext-csharp-6
gettext-tools/tests/xgettext-csharp-7
gettext-tools/tests/xgettext-csharp-8
gettext-tools/tests/xgettext-desktop-1
gettext-tools/tests/xgettext-elisp-1
gettext-tools/tests/xgettext-elisp-2
gettext-tools/tests/xgettext-glade-1
gettext-tools/tests/xgettext-glade-2
gettext-tools/tests/xgettext-glade-3
gettext-tools/tests/xgettext-glade-4
gettext-tools/tests/xgettext-glade-5
gettext-tools/tests/xgettext-glade-6
gettext-tools/tests/xgettext-glade-7
gettext-tools/tests/xgettext-gsettings-1
gettext-tools/tests/xgettext-its-1
gettext-tools/tests/xgettext-its-2
gettext-tools/tests/xgettext-java-1
gettext-tools/tests/xgettext-java-2
gettext-tools/tests/xgettext-java-3
gettext-tools/tests/xgettext-java-4
gettext-tools/tests/xgettext-java-5
gettext-tools/tests/xgettext-java-6
gettext-tools/tests/xgettext-java-7
gettext-tools/tests/xgettext-javascript-1
gettext-tools/tests/xgettext-javascript-2
gettext-tools/tests/xgettext-javascript-3
gettext-tools/tests/xgettext-javascript-4
gettext-tools/tests/xgettext-javascript-5
gettext-tools/tests/xgettext-javascript-6
gettext-tools/tests/xgettext-librep-1
gettext-tools/tests/xgettext-librep-2
gettext-tools/tests/xgettext-lisp-1
gettext-tools/tests/xgettext-lisp-2
gettext-tools/tests/xgettext-lua-1
gettext-tools/tests/xgettext-lua-2
gettext-tools/tests/xgettext-objc-1
gettext-tools/tests/xgettext-objc-2
gettext-tools/tests/xgettext-perl-1
gettext-tools/tests/xgettext-perl-2
gettext-tools/tests/xgettext-perl-3
gettext-tools/tests/xgettext-perl-4
gettext-tools/tests/xgettext-perl-5
gettext-tools/tests/xgettext-perl-6
gettext-tools/tests/xgettext-perl-7
gettext-tools/tests/xgettext-perl-8
gettext-tools/tests/xgettext-php-1
gettext-tools/tests/xgettext-php-2
gettext-tools/tests/xgettext-php-3
gettext-tools/tests/xgettext-php-4
gettext-tools/tests/xgettext-po-1
gettext-tools/tests/xgettext-properties-1
gettext-tools/tests/xgettext-python-1
gettext-tools/tests/xgettext-python-2
gettext-tools/tests/xgettext-python-3
gettext-tools/tests/xgettext-python-4
gettext-tools/tests/xgettext-scheme-1
gettext-tools/tests/xgettext-scheme-2
gettext-tools/tests/xgettext-scheme-3
gettext-tools/tests/xgettext-scheme-4
gettext-tools/tests/xgettext-sh-1
gettext-tools/tests/xgettext-sh-2
gettext-tools/tests/xgettext-sh-3
gettext-tools/tests/xgettext-sh-4
gettext-tools/tests/xgettext-sh-5
gettext-tools/tests/xgettext-sh-6
gettext-tools/tests/xgettext-smalltalk-1
gettext-tools/tests/xgettext-smalltalk-2
gettext-tools/tests/xgettext-stringtable-1
gettext-tools/tests/xgettext-tcl-1
gettext-tools/tests/xgettext-tcl-2
gettext-tools/tests/xgettext-tcl-3
gettext-tools/tests/xgettext-tcl-4
gettext-tools/tests/xgettext-vala-1
gettext-tools/tests/xgettext-ycp-1
gettext-tools/tests/xgettext-ycp-2
gettext-tools/tests/xgettext-ycp-3
gettext-tools/tests/xgettext-ycp-4

index 1a6be8f7df91aa6d50f28dfcee0a329741a01fb7..499c1f7ceab68b6bb7638550f42044eea599030c 100755 (executable)
@@ -5,14 +5,14 @@
 
 : ${AUTOCONF=autoconf}
 ${AUTOCONF} --version >/dev/null 2>/dev/null \
-  || { echo "Skipping test: autoconf not found"; exit 77; }
+  || { echo "Skipping test: autoconf not found"; Exit 77; }
 
 cat <<\EOF >configure.ac
 AC_PREREQ([2.60])
 EOF
 
 ${AUTOCONF} >/dev/null 2>/dev/null \
-  || { echo "Skipping test: autoconf version too old"; exit 77; }
+  || { echo "Skipping test: autoconf version too old"; Exit 77; }
 
 rm -f configure.ac
 
@@ -23,11 +23,11 @@ export gettext_datadir
 
 # no configure.ac
 $gettext_datadir/autopoint 2>&1 | grep 'Missing configure.in or configure.ac' 2>&1 >/dev/null \
-    || exit 1
+    || Exit 1
 
-test ! -d intl || exit 1
-test ! -d m4 || exit 1
-test ! -d po || exit 1
+test ! -d intl || Exit 1
+test ! -d m4 || Exit 1
+test ! -d po || Exit 1
 
 # configure.ac without AM_GNU_GETTEXT_VERSION
 cat <<\EOF >configure.ac
@@ -41,11 +41,11 @@ AC_OUTPUT
 EOF
 
 $gettext_datadir/autopoint 2>&1 | grep 'Missing version' 2>&1 >/dev/null \
-    || exit 1
+    || Exit 1
 
-test ! -d intl || exit 1
-test ! -d m4 || exit 1
-test ! -d po || exit 1
+test ! -d intl || Exit 1
+test ! -d m4 || Exit 1
+test ! -d po || Exit 1
 
 # VERSION specified through intl/VERSION file, but in wrong format
 cat <<\EOF >configure.ac
@@ -62,10 +62,10 @@ test -d intl || mkdir intl
 echo bogus-version > intl/VERSION
 
 $gettext_datadir/autopoint 2>&1 | grep 'Missing version' 2>&1 >/dev/null \
-    || exit 1
+    || Exit 1
 
-test ! -d m4 || exit 1
-test ! -d po || exit 1
+test ! -d m4 || Exit 1
+test ! -d po || Exit 1
 
 # VERSION specified through intl/VERSION file
 cat <<\EOF >configure.ac
@@ -84,15 +84,15 @@ echo gettext-0.15 > intl/VERSION
 
 # For further investigation, autopoint keeps autopoint.diff in $TMPDIR
 # if there is a mismatch.  Set TMPDIR not to pollute /tmp.
-TMPDIR="$PWD" $gettext_datadir/autopoint 2>&1 | grep 'locally modified' 2>&1 >/dev/null || exit 1
+TMPDIR="$PWD" $gettext_datadir/autopoint 2>&1 | grep 'locally modified' 2>&1 >/dev/null || Exit 1
 
-test ! -d m4 || exit 1
-test ! -d po || exit 1
+test ! -d m4 || Exit 1
+test ! -d po || Exit 1
 
 echo 'GNU gettext library from gettext-0.15' > intl/VERSION
 
-TMPDIR="$PWD" $gettext_datadir/autopoint 2>&1 || exit 1
+TMPDIR="$PWD" $gettext_datadir/autopoint 2>&1 || Exit 1
 
 rm -fr intl
 
-exit 0
+Exit 0
index 740937ad38d78ff4ce92501f9274a2b5197fac7a..e86a7f3671af4490230aa4a31794cb833ef6e297 100755 (executable)
@@ -5,14 +5,14 @@
 
 : ${AUTOCONF=autoconf}
 ${AUTOCONF} --version >/dev/null 2>/dev/null \
-  || { echo "Skipping test: autoconf not found"; exit 77; }
+  || { echo "Skipping test: autoconf not found"; Exit 77; }
 
 cat <<\EOF >configure.ac
 AC_PREREQ([2.60])
 EOF
 
 ${AUTOCONF} >/dev/null 2>/dev/null \
-  || { echo "Skipping test: autoconf version too old"; exit 77; }
+  || { echo "Skipping test: autoconf version too old"; Exit 77; }
 
 rm -f configure.ac
 
@@ -35,16 +35,16 @@ AC_OUTPUT
 EOF
 
 $gettext_datadir/autopoint >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-test ! -d intl || exit 1
-test -d m4 || exit 1
-test -d po || exit 1
-test -d build-aux || exit 1
+test ! -d intl || Exit 1
+test -d m4 || Exit 1
+test -d po || Exit 1
+test -d build-aux || Exit 1
 
-test -f m4/po.m4 || exit 1
-test -f po/Makefile.in.in || exit 1
-test -f build-aux/config.rpath || exit 1
+test -f m4/po.m4 || Exit 1
+test -f po/Makefile.in.in || Exit 1
+test -f build-aux/config.rpath || Exit 1
 
 rm -fr m4 po
 
@@ -63,15 +63,15 @@ AC_OUTPUT
 EOF
 
 $gettext_datadir/autopoint >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-test -d intl || exit 1
-test -d m4 || exit 1
-test -d po || exit 1
+test -d intl || Exit 1
+test -d m4 || Exit 1
+test -d po || Exit 1
 
-test -f intl/VERSION || exit 1
-test -f m4/po.m4 || exit 1
-test -f po/Makefile.in.in || exit 1
+test -f intl/VERSION || Exit 1
+test -f m4/po.m4 || Exit 1
+test -f po/Makefile.in.in || Exit 1
 
 rm -fr intl m4 po
 
@@ -96,15 +96,15 @@ AC_OUTPUT
 EOF
 
 $gettext_datadir/autopoint >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-test ! -d intl || exit 1
-test ! -d m4 || exit 1
-test -d gettext-m4 || exit 1
-test -d po || exit 1
+test ! -d intl || Exit 1
+test ! -d m4 || Exit 1
+test -d gettext-m4 || Exit 1
+test -d po || Exit 1
 
-test -f gettext-m4/po.m4 || exit 1
-test -f po/Makefile.in.in || exit 1
+test -f gettext-m4/po.m4 || Exit 1
+test -f po/Makefile.in.in || Exit 1
 
 rm -fr gettext-m4 po
 
@@ -124,14 +124,14 @@ AC_OUTPUT
 EOF
 
 $gettext_datadir/autopoint >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-test ! -d intl || exit 1
-test -d m4 || exit 1
-test -d po || exit 1
+test ! -d intl || Exit 1
+test -d m4 || Exit 1
+test -d po || Exit 1
 
-test -f m4/po.m4 || exit 1
-test -f po/Makefile.in.in || exit 1
+test -f m4/po.m4 || Exit 1
+test -f po/Makefile.in.in || Exit 1
 
 rm -fr m4 po
 
@@ -156,14 +156,14 @@ AC_OUTPUT
 EOF
 
 $gettext_datadir/autopoint >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-test ! -d intl || exit 1
-test -d m4 || exit 1
-test -d po || exit 1
+test ! -d intl || Exit 1
+test -d m4 || Exit 1
+test -d po || Exit 1
 
-test -f m4/po.m4 || exit 1
-test -f po/Makefile.in.in || exit 1
+test -f m4/po.m4 || Exit 1
+test -f po/Makefile.in.in || Exit 1
 
 rm -fr m4 po
 
@@ -182,14 +182,14 @@ AC_OUTPUT
 EOF
 
 $gettext_datadir/autopoint >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-test ! -d intl || exit 1
-test -d m4 || exit 1
-test -d po || exit 1
+test ! -d intl || Exit 1
+test -d m4 || Exit 1
+test -d po || Exit 1
 
-test -f m4/po.m4 || exit 1
-test -f po/Makefile.in.in || exit 1
+test -f m4/po.m4 || Exit 1
+test -f po/Makefile.in.in || Exit 1
 
 # Check for the case where both AM_GNU_GETTEXT_REQUIRE_VERSION and
 # AM_GNU_GETTEXT_VERSION are used.
@@ -211,18 +211,18 @@ AC_OUTPUT
 EOF
 
 $gettext_datadir/autopoint >autopoint.out 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-grep 'using AM_GNU_GETTEXT_REQUIRE_VERSION' autopoint.out 2>&1 >/dev/null || exit 1
+grep 'using AM_GNU_GETTEXT_REQUIRE_VERSION' autopoint.out 2>&1 >/dev/null || Exit 1
 
-test -d intl || exit 1
-test -d m4 || exit 1
-test -d po || exit 1
+test -d intl || Exit 1
+test -d m4 || Exit 1
+test -d po || Exit 1
 
 cat >autopoint.ver <<EOF
 GNU gettext library from gettext-$ARCHIVE_VERSION
 EOF
 : ${DIFF=diff}
-${DIFF} autopoint.ver intl/VERSION || exit 1
-test -f m4/po.m4 || exit 1
-test -f po/Makefile.in.in || exit 1
+${DIFF} autopoint.ver intl/VERSION || Exit 1
+test -f m4/po.m4 || Exit 1
+test -f po/Makefile.in.in || Exit 1
index c0f468cebba0873591f2c4e1b9a599ae8f1feb75..722910b05879214e00827f6c196472ff750f5c0d 100755 (executable)
@@ -5,20 +5,20 @@
 
 : ${AUTOCONF=autoconf}
 ${AUTOCONF} --version >/dev/null 2>/dev/null \
-  || { echo "Skipping test: autoconf not found"; exit 77; }
+  || { echo "Skipping test: autoconf not found"; Exit 77; }
 
 cat <<\EOF >configure.ac
 AC_PREREQ([2.60])
 EOF
 
 ${AUTOCONF} >/dev/null 2>/dev/null \
-  || { echo "Skipping test: autoconf version too old"; exit 77; }
+  || { echo "Skipping test: autoconf version too old"; Exit 77; }
 
 rm -f configure.ac
 
 : ${AUTOMAKE=automake}
 ${AUTOMAKE} --version >/dev/null 2>/dev/null \
-  || { echo "Skipping test: automake not found"; exit 77; }
+  || { echo "Skipping test: automake not found"; Exit 77; }
 
 cat <<\EOF >configure.ac
 AC_PREREQ([2.60])
@@ -30,22 +30,22 @@ EOF
 
 : ${ACLOCAL=aclocal}
 ${ACLOCAL} >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
 : > Makefile.am
 
 ${AUTOMAKE} --add-missing >/dev/null 2>/dev/null \
-  || { echo "Skipping test: automake version too old"; exit 77; }
+  || { echo "Skipping test: automake version too old"; Exit 77; }
 
 rm -f configure.ac Makefile.am
 
 : ${LIBTOOLIZE=libtoolize}
 ${LIBTOOLIZE} --version >/dev/null 2>/dev/null \
-  || { echo "Skipping test: libtoolize not found"; exit 77; }
+  || { echo "Skipping test: libtoolize not found"; Exit 77; }
 
 : ${MAKE=make}
 ${MAKE} --version >/dev/null 2>/dev/null \
-  || { echo "Skipping test: make not found"; exit 77; }
+  || { echo "Skipping test: make not found"; Exit 77; }
 
 gettext_datadir=$top_builddir/misc
 export gettext_datadir
@@ -97,43 +97,43 @@ cp -p "$abs_top_srcdir"/gnulib-lib/gettext.h .
 cp -p "$abs_top_srcdir"/examples/hello-c/hello.c .
 
 $gettext_datadir/autopoint -f >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-test -d intl || exit 1
-test -d m4 || exit 1
-test -d po || exit 1
+test -d intl || Exit 1
+test -d m4 || Exit 1
+test -d po || Exit 1
 
-test -f m4/po.m4 || exit 1
-test -f po/Makefile.in.in || exit 1
+test -f m4/po.m4 || Exit 1
+test -f po/Makefile.in.in || Exit 1
 
 cp -p po/Makevars.template po/Makevars
 echo hello.c > po/POTFILES.in
 
 ${LIBTOOLIZE} -f -i >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
 ${ACLOCAL} -I m4 >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
 : ${AUTOHEADER=autoheader}
 ${AUTOHEADER} >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
 ${AUTOCONF} >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
 ${AUTOMAKE} -a -c >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
 # Check if libintl compiles.
 : ${CONFIG_SHELL=${SHELL-/bin/sh}}
 ${CONFIG_SHELL} ./configure --with-included-gettext >/dev/null 2>autpoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
 ${MAKE} >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
 ${MAKE} dist >/dev/null 2>autopoint.err
-test $? = 0 || { cat autopoint.err; exit 1; }
+test $? = 0 || { cat autopoint.err; Exit 1; }
 
-exit 0
+Exit 0
index e593812ae26ff76c87320b0f1d34c504f9a7a2a6..18a8b61bbb725f2ea69d7093c9911a5cc8c02b04 100755 (executable)
@@ -8,7 +8,7 @@
 LC_ALL=C "$top_builddir/src/cldr-plurals" ru /dev/null 2>&1 | grep 'extraction is not supported' > /dev/null 2>&1
 test $? = 0 && {
   echo "Skipping test: cldr-plurals was built without XML support"
-  exit 77
+  Exit 77
 }
 
 cat > ar.ok <<\EOF
@@ -19,7 +19,7 @@ EOF
 zero: n = 0 @integer 0 @decimal 0.0, 0.00, 0.000, 0.0000; one: n = 1 @integer 1 @decimal 1.0, 1.00, 1.000, 1.0000; two: n = 2 @integer 2 @decimal 2.0, 2.00, 2.000, 2.0000; few: n % 100 = 3..10 @integer 3~10, 103~110, 1003, … @decimal 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 103.0, 1003.0, …; many: n % 100 = 11..99 @integer 11~26, 111, 1011, … @decimal 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 111.0, 1011.0, …; other:  @integer 100~102, 200~202, 300~302, 400~402, 500~502, 600, 1000, 10000, 100000, 1000000, … @decimal 0.1~0.9, 1.1~1.7, 10.1, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …
 EOF
 
-${DIFF} ar.ok ar.out || exit 1
+${DIFF} ar.ok ar.out || Exit 1
 
 cat > ru.ok <<\EOF
 nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);
@@ -29,7 +29,7 @@ EOF
 one: v = 0 and i % 10 = 1 and i % 100 != 11 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, …; few: v = 0 and i % 10 = 2..4 and i % 100 != 12..14 @integer 2~4, 22~24, 32~34, 42~44, 52~54, 62, 102, 1002, …; many: v = 0 and i % 10 = 0 or v = 0 and i % 10 = 5..9 or v = 0 and i % 100 = 11..14 @integer 0, 5~19, 100, 1000, 10000, 100000, 1000000, …; other:    @decimal 0.0~1.5, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …
 EOF
 
-${DIFF} ru.ok ru.out || exit 1
+${DIFF} ru.ok ru.out || Exit 1
 
 # Test extraction from CLDR
 
@@ -48,12 +48,12 @@ EOF
 cat > foo.ok <<\EOF
 nplurals=2; plural=(n != 1);
 EOF
-${DIFF} foo.ok foo.out || exit 1
+${DIFF} foo.ok foo.out || Exit 1
 
 "$top_builddir/src/cldr-plurals" -c foo foo.in > foo.cldr.out
 cat > foo.cldr.ok <<\EOF
 one: i = 1 and v = 0 @integer 1; other:  @integer 0, 2~16, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0~1.5, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, …
 EOF
-${DIFF} foo.cldr.ok foo.cldr.out || exit 1
+${DIFF} foo.cldr.ok foo.cldr.out || Exit 1
 
-exit 0
+Exit 0
index 0baa275c56938239666e004439ee50c6d78196e0..ce423cb0709e7b67bbb9f42758b292cbc5dbd24e 100755 (executable)
@@ -106,8 +106,8 @@ while read comment; do
   cat <<EOF > f-a-1-$n.in
 dcgettext(${string});
 EOF
-  ${XGETTEXT} -L awk -o f-a-1-$n.po f-a-1-$n.in || exit 1
-  test -f f-a-1-$n.po || exit 1
+  ${XGETTEXT} -L awk -o f-a-1-$n.po f-a-1-$n.in || Exit 1
+  test -f f-a-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep awk-format f-a-1-$n.po > /dev/null; then
@@ -127,9 +127,9 @@ EOF
     cat f-a-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-a-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-a-1-$n.in f-a-1-$n.po
 done < f-a-1.data
 
-exit 0
+Exit 0
index feaaf82aca7c8be84f8f2f42789bca10a12af129..6a458bb3201acf5c4a7806f360b7953d5c6861e8 100755 (executable)
@@ -131,9 +131,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-a-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-a-2-$n.po f-a-2-$n.mo
 done < f-a-2.data
 
-exit 0
+Exit 0
index a9d4ad9b39ad4041f87498e32570794764e23e37..717a7962113a0db3f081e339165d13b1d85e83e9 100755 (executable)
@@ -280,8 +280,8 @@ while read comment; do
   cat <<EOF > f-bo-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L C++ --boost -o f-bo-1-$n.po f-bo-1-$n.in || exit 1
-  test -f f-bo-1-$n.po || exit 1
+  ${XGETTEXT} -L C++ --boost -o f-bo-1-$n.po f-bo-1-$n.in || Exit 1
+  test -f f-bo-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep boost-format f-bo-1-$n.po > /dev/null; then
@@ -301,9 +301,9 @@ EOF
     cat f-bo-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-bo-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-bo-1-$n.in f-bo-1-$n.po
 done < f-bo-1.data
 
-exit 0
+Exit 0
index b41b7b02ef2f778e87e89a0e1e5ead049955357b..c97a4b1b18f45553ce5c8ac85a4c8124fb07a7c2 100755 (executable)
@@ -197,9 +197,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-bo-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-bo-2-$n.po f-bo-2-$n.mo
 done < f-bo-2.data
 
-exit 0
+Exit 0
index 8150abf42e6f4118c4dd182ea16e53dd19496e24..83ba0ca74b0675f380e45ff8e442fe030d9c0534 100755 (executable)
@@ -130,8 +130,8 @@ while read comment; do
   cat <<EOF > f-c-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L C -o f-c-1-$n.po f-c-1-$n.in || exit 1
-  test -f f-c-1-$n.po || exit 1
+  ${XGETTEXT} -L C -o f-c-1-$n.po f-c-1-$n.in || Exit 1
+  test -f f-c-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep c-format f-c-1-$n.po > /dev/null; then
@@ -151,9 +151,9 @@ EOF
     cat f-c-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-c-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-c-1-$n.in f-c-1-$n.po
 done < f-c-1.data
 
-exit 0
+Exit 0
index e7793e09b41bc3edb1e26be0e8dc54ce6b428331..4883a27efef9d3a85042afc9fd0e3c45f8edccae 100755 (executable)
@@ -299,9 +299,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-c-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-c-2-$n.po f-c-2-$n.mo
 done < f-c-2.data
 
-exit 0
+Exit 0
index b72da21afc48b0a90f23eb92c851e1ea27569c51..0509e1fce6337314de9f1362f5cb82b25e74c60c 100755 (executable)
@@ -4,8 +4,8 @@
 # Test ISO C 99 <inttypes.h> format string directives.
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc3.tmp --omit-header --no-location "$abs_srcdir"/format-c-3-prg.c || exit 1
-LC_ALL=C tr -d '\r' < fc3.tmp > fc3.pot || exit 1
+${XGETTEXT} -o fc3.tmp --omit-header --no-location "$abs_srcdir"/format-c-3-prg.c || Exit 1
+LC_ALL=C tr -d '\r' < fc3.tmp > fc3.pot || Exit 1
 
 cat <<EOF > fc3.ok
 #, c-format
@@ -14,7 +14,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} fc3.ok fc3.pot || exit 1
+${DIFF} fc3.ok fc3.pot || Exit 1
 
 cat <<EOF > fc3-de.po
 #, c-format
@@ -30,11 +30,11 @@ test -d fc3-dir/de/LC_MESSAGES || mkdir fc3-dir/de/LC_MESSAGES
 ${MSGFMT} -o fc3-dir/de/LC_MESSAGES/fc3.mo fc3-de.po
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o fc3-de.po.tmp fc3-dir/de/LC_MESSAGES/fc3.mo || exit 1
-LC_ALL=C tr -d '\r' < fc3-de.po.tmp > fc3-de.po.un || exit 1
+${MSGUNFMT} -o fc3-de.po.tmp fc3-dir/de/LC_MESSAGES/fc3.mo || Exit 1
+LC_ALL=C tr -d '\r' < fc3-de.po.tmp > fc3-de.po.un || Exit 1
 
 : ${DIFF=diff}
-${DIFF} fc3-de.po fc3-de.po.un || exit 1
+${DIFF} fc3-de.po fc3-de.po.un || Exit 1
 
 LANGUAGE= ../fc3 de_DE
 result=$?
index edfdc4e7e0d2cb2da0d55fd3978e8de4a3a9ff7a..3ab9ddcb88654d9d666e6153615bd697fed85951 100755 (executable)
@@ -4,8 +4,8 @@
 # Test ISO C 99 <inttypes.h> format string directives with plural forms.
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc4.tmp --omit-header --no-location "$abs_srcdir"/format-c-4-prg.c || exit 1
-LC_ALL=C tr -d '\r' < fc4.tmp > fc4.pot || exit 1
+${XGETTEXT} -o fc4.tmp --omit-header --no-location "$abs_srcdir"/format-c-4-prg.c || Exit 1
+LC_ALL=C tr -d '\r' < fc4.tmp > fc4.pot || Exit 1
 
 cat <<EOF > fc4.ok
 #, c-format
@@ -16,7 +16,7 @@ msgstr[1] ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} fc4.ok fc4.pot || exit 1
+${DIFF} fc4.ok fc4.pot || Exit 1
 
 cat <<EOF > fc4-de.po
 #, c-format
@@ -34,11 +34,11 @@ test -d fc4-dir/de/LC_MESSAGES || mkdir fc4-dir/de/LC_MESSAGES
 ${MSGFMT} -o fc4-dir/de/LC_MESSAGES/fc4.mo fc4-de.po
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o fc4-de.po.tmp fc4-dir/de/LC_MESSAGES/fc4.mo || exit 1
-LC_ALL=C tr -d '\r' < fc4-de.po.tmp > fc4-de.po.un || exit 1
+${MSGUNFMT} -o fc4-de.po.tmp fc4-dir/de/LC_MESSAGES/fc4.mo || Exit 1
+LC_ALL=C tr -d '\r' < fc4-de.po.tmp > fc4-de.po.un || Exit 1
 
 : ${DIFF=diff}
-${DIFF} fc4-de.po fc4-de.po.un || exit 1
+${DIFF} fc4-de.po fc4-de.po.un || Exit 1
 
 LANGUAGE= ../fc4 de_DE
 result=$?
index 7868785a1b0dc3697c8bbfffeaee5e3bd7be702d..919296758669d61debf0e49fb9d7a4588b1862b8 100755 (executable)
@@ -4,8 +4,8 @@
 # Test 'I' format directive flag.
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o fc5.tmp --omit-header --no-location "$abs_srcdir"/format-c-5-prg.c || exit 1
-LC_ALL=C tr -d '\r' < fc5.tmp > fc5.pot || exit 1
+${XGETTEXT} -o fc5.tmp --omit-header --no-location "$abs_srcdir"/format-c-5-prg.c || Exit 1
+LC_ALL=C tr -d '\r' < fc5.tmp > fc5.pot || Exit 1
 
 cat <<EOF > fc5.ok
 #, c-format
@@ -14,7 +14,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} fc5.ok fc5.pot || exit 1
+${DIFF} fc5.ok fc5.pot || Exit 1
 
 # This should better be Farsi, not German. Can some translator help me?
 cat <<EOF > fa.po
@@ -30,11 +30,11 @@ test -d fa/LC_MESSAGES || mkdir fa/LC_MESSAGES
 ${MSGFMT} -o fa/LC_MESSAGES/fc5.mo fa.po
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o fa.po.tmp fa/LC_MESSAGES/fc5.mo || exit 1
-LC_ALL=C tr -d '\r' < fa.po.tmp > fa.po.un || exit 1
+${MSGUNFMT} -o fa.po.tmp fa/LC_MESSAGES/fc5.mo || Exit 1
+LC_ALL=C tr -d '\r' < fa.po.tmp > fa.po.un || Exit 1
 
 : ${DIFF=diff}
-${DIFF} fa.po fa.po.un || exit 1
+${DIFF} fa.po fa.po.un || Exit 1
 
 LANGUAGE= ../fc5 fa_IR
 case $? in
@@ -45,8 +45,8 @@ case $? in
     else
       echo "Skipping test: locale fa_IR not supported"
     fi
-    exit 77;;
-  *) exit 1;;
+    Exit 77;;
+  *) Exit 1;;
 esac
 
-exit 0
+Exit 0
index 792165a6170a8679521a54bb3b1f65016f8b7e61..0bd4a2387d1059a9e5d6682690e13a39a5ceb1ce 100755 (executable)
@@ -54,8 +54,8 @@ while read comment; do
   cat <<EOF > f-cs-1-$n.in
 GetString(${string});
 EOF
-  ${XGETTEXT} -L C# -o f-cs-1-$n.po f-cs-1-$n.in || exit 1
-  test -f f-cs-1-$n.po || exit 1
+  ${XGETTEXT} -L C# -o f-cs-1-$n.po f-cs-1-$n.in || Exit 1
+  test -f f-cs-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep csharp-format f-cs-1-$n.po > /dev/null; then
@@ -75,9 +75,9 @@ EOF
     cat f-cs-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-cs-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-cs-1-$n.in f-cs-1-$n.po
 done < f-cs-1.data
 
-exit 0
+Exit 0
index cc6857589e7f27e51d9e6f660b62afcd8d20dc1c..6b63dc86003882b2ea10d82ae279490f5ed6d106 100755 (executable)
@@ -65,9 +65,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-cs-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-cs-2-$n.po f-cs-2-$n.mo
 done < f-cs-2.data
 
-exit 0
+Exit 0
index 918530a41e8e373019d6fc571ec3b2ce28f30c89..f95dda03dc018c54cb5f7512f78218e44c5b301d 100755 (executable)
@@ -102,8 +102,8 @@ while read comment; do
   cat <<EOF > f-el-1-$n.in
 (_ ${string});
 EOF
-  ${XGETTEXT} -L EmacsLisp -o f-el-1-$n.po f-el-1-$n.in || exit 1
-  test -f f-el-1-$n.po || exit 1
+  ${XGETTEXT} -L EmacsLisp -o f-el-1-$n.po f-el-1-$n.in || Exit 1
+  test -f f-el-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep elisp-format f-el-1-$n.po > /dev/null; then
@@ -123,9 +123,9 @@ EOF
     cat f-el-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-el-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-el-1-$n.in f-el-1-$n.po
 done < f-el-1.data
 
-exit 0
+Exit 0
index d4b1e6a10e9535b7a236929b93169b78cf04b827..de0d11846bec0b90202a452eb33f5a354c0b94e6 100755 (executable)
@@ -281,9 +281,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-el-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-el-2-$n.po f-el-2-$n.mo
 done < f-el-2.data
 
-exit 0
+Exit 0
index 92c931bfe067d5981edbebb28b84e310bf3cfa5e..b0f3dd8a8b7ceb39e5177debe63ce1fb06126ea0 100755 (executable)
@@ -134,8 +134,8 @@ while read comment; do
   cat <<EOF > f-gi-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L GCC-source -o f-gi-1-$n.po f-gi-1-$n.in || exit 1
-  test -f f-gi-1-$n.po || exit 1
+  ${XGETTEXT} -L GCC-source -o f-gi-1-$n.po f-gi-1-$n.in || Exit 1
+  test -f f-gi-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep gcc-internal-format f-gi-1-$n.po > /dev/null; then
@@ -155,9 +155,9 @@ EOF
     cat f-gi-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-gi-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-gi-1-$n.in f-gi-1-$n.po
 done < f-gi-1.data
 
-exit 0
+Exit 0
index 3034f243721b51084153ff7b7208b0f9bda2e7f6..c0b604554cc1001684e619990304f18a0d163c87 100755 (executable)
@@ -530,9 +530,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-gi-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-gi-2-$n.po f-gi-2-$n.mo
 done < f-gi-2.data
 
-exit 0
+Exit 0
index fc0c44c040c078a3224b3cb2470ed4b9fa75491f..da26e76a95cfde5644fcf9e70dff5a83473354d0 100755 (executable)
@@ -74,8 +74,8 @@ while read comment; do
   cat <<EOF > f-gf-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L GCC-source -o f-gf-1-$n.po f-gf-1-$n.in || exit 1
-  test -f f-gf-1-$n.po || exit 1
+  ${XGETTEXT} -L GCC-source -o f-gf-1-$n.po f-gf-1-$n.in || Exit 1
+  test -f f-gf-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep gfc-internal-format f-gf-1-$n.po > /dev/null; then
@@ -95,9 +95,9 @@ EOF
     cat f-gf-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-gf-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-gf-1-$n.in f-gf-1-$n.po
 done < f-gf-1.data
 
-exit 0
+Exit 0
index f89fecefe4a44d7dbe31f8118ac8dac660694523..2c417b40428ff3969db8e7c218d77159154cd771 100755 (executable)
@@ -170,9 +170,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-gf-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-gf-2-$n.po f-gf-2-$n.mo
 done < f-gf-2.data
 
-exit 0
+Exit 0
index ecf56ddd7de0647a94927b451ab549ea34ef7391..465e93b214c31228df5ea7ab9f782dc24ff1ea52 100755 (executable)
@@ -124,8 +124,8 @@ while read comment; do
   cat <<EOF > f-j-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L Java -o f-j-1-$n.po f-j-1-$n.in || exit 1
-  test -f f-j-1-$n.po || exit 1
+  ${XGETTEXT} -L Java -o f-j-1-$n.po f-j-1-$n.in || Exit 1
+  test -f f-j-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep java-format f-j-1-$n.po > /dev/null; then
@@ -145,9 +145,9 @@ EOF
     cat f-j-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-j-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-j-1-$n.in f-j-1-$n.po
 done < f-j-1.data
 
-exit 0
+Exit 0
index e363e922c3df3992ddb6d6dad1abcd1abbf0dd6b..dfef92eef546533f921898d921ebf32984af7159 100755 (executable)
@@ -134,9 +134,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-j-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-j-2-$n.po f-j-2-$n.mo
 done < f-j-2.data
 
-exit 0
+Exit 0
index 0b8db0c9252bab6539d2c856e57a3a30ad992fe3..c0a4aa3c46e78102fa4e4315076b928be70c750a 100755 (executable)
@@ -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
index e613ef8b0af769f6a696e5ec342e5f763c743330..62113cac28c9e81b9bae3c6ca05f5ff1d10afc93 100755 (executable)
@@ -74,9 +74,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-js-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-js-2-$n.po f-js-2-$n.mo
 done < f-js-2.data
 
-exit 0
+Exit 0
index 1b4dafcbc243ba12e97ab644eef9a5abdc1e86f4..640fbcae2db00d4e40cb34974498b55870c2d13b 100755 (executable)
@@ -48,8 +48,8 @@ while read comment; do
   cat <<EOF > f-kd-1-$n.in
 _(${string});
 EOF
-  ${XGETTEXT} -L C++ --kde -k_ -o f-kd-1-$n.po f-kd-1-$n.in || exit 1
-  test -f f-kd-1-$n.po || exit 1
+  ${XGETTEXT} -L C++ --kde -k_ -o f-kd-1-$n.po f-kd-1-$n.in || Exit 1
+  test -f f-kd-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep kde-format f-kd-1-$n.po > /dev/null; then
@@ -69,9 +69,9 @@ EOF
     cat f-kd-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-kd-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-kd-1-$n.in f-kd-1-$n.po
 done < f-kd-1.data
 
-exit 0
+Exit 0
index 9fb96f542a7239d6b0031cd1af02a76d757df92d..8f9ddab93fef40bba5a75b349245d7be2a1a270b 100755 (executable)
@@ -95,9 +95,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-kd-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-kd-2-$n.po f-kd-2-$n.mo
 done < f-kd-2.data
 
-exit 0
+Exit 0
index aeaa7432439c55d4a6868cd3403229271fc5381c..23edc9c2599b3924d67464c429112d56ccd61820 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 LC_ALL=C ${XGETTEXT} -L C++ --kde --flag=xi18n:1:kde-kuit-format -o - f-kd-invalid.cpp 2>&1 | grep 'not a valid KDE KUIT format' > /dev/null 2>&1
 test $? = 0 || {
   echo "Skipping test: xgettext was built without KDE KUIT format support"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > f-kd-1.data
@@ -43,8 +43,8 @@ while read comment; do
   cat <<EOF > f-kd-1-$n.in
 xi18n(${string});
 EOF
-  ${XGETTEXT} -L C++ --kde --flag=xi18n:1:kde-kuit-format --flag=i18n:1:kde-format -kxi18n -ki18n -o f-kd-1-$n.po f-kd-1-$n.in || exit 1
-  test -f f-kd-1-$n.po || exit 1
+  ${XGETTEXT} -L C++ --kde --flag=xi18n:1:kde-kuit-format --flag=i18n:1:kde-format -kxi18n -ki18n -o f-kd-1-$n.po f-kd-1-$n.in || Exit 1
+  test -f f-kd-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep kde-kuit-format f-kd-1-$n.po > /dev/null; then
@@ -64,9 +64,9 @@ EOF
     cat f-kd-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-kd-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-kd-1-$n.in f-kd-1-$n.po
 done < f-kd-1.data
 
-exit 0
+Exit 0
index 0634b628cbaa3aab24dcb67e55c7c84c8bdb7afa..f4e5564614755c08fece79682ee34e136912d658 100755 (executable)
@@ -14,7 +14,7 @@ EOF
 LC_ALL=C ${MSGFMT} --check-format -o /dev/null f-kd-invalid.po 2>&1 | grep 'not a valid KDE KUIT format' > /dev/null 2>&1
 test $? = 0 || {
   echo "Skipping test: msgfmt was built without KDE KUIT format support"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > f-kd-2.data
@@ -72,9 +72,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-kd-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-kd-2-$n.po f-kd-2-$n.mo
 done < f-kd-2.data
 
-exit 0
+Exit 0
index 216838140f1d49b1913e21e60c4aab662c76d745..cffaa89b7fca7c27949c6424200d168916422548 100755 (executable)
@@ -76,8 +76,8 @@ while read comment; do
   cat <<EOF > f-lr-1-$n.in
 (_ ${string});
 EOF
-  ${XGETTEXT} -L librep -o f-lr-1-$n.po f-lr-1-$n.in || exit 1
-  test -f f-lr-1-$n.po || exit 1
+  ${XGETTEXT} -L librep -o f-lr-1-$n.po f-lr-1-$n.in || Exit 1
+  test -f f-lr-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep librep-format f-lr-1-$n.po > /dev/null; then
@@ -97,9 +97,9 @@ EOF
     cat f-lr-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-lr-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-lr-1-$n.in f-lr-1-$n.po
 done < f-lr-1.data
 
-exit 0
+Exit 0
index 62666193e3544b1766bd48d9dedf805e9231e1b9..bb3c44e9c8e912f9a0e5c9f64b95db7bb93fbaa3 100755 (executable)
@@ -137,9 +137,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-lr-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-lr-2-$n.po f-lr-2-$n.mo
 done < f-lr-2.data
 
-exit 0
+Exit 0
index ef863b35dd9ba7a64ba550e9bb82b9a2ff98e94c..278137669577e74f27075b3b4ef5e70a23eed496 100755 (executable)
@@ -258,8 +258,8 @@ while read comment; do
   cat <<EOF > f-l-1-$n.in
 (gettext ${string})
 EOF
-  ${XGETTEXT} -L Lisp -o f-l-1-$n.po f-l-1-$n.in || exit 1
-  test -f f-l-1-$n.po || exit 1
+  ${XGETTEXT} -L Lisp -o f-l-1-$n.po f-l-1-$n.in || Exit 1
+  test -f f-l-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep lisp-format f-l-1-$n.po > /dev/null; then
@@ -279,9 +279,9 @@ EOF
     cat f-l-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-l-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-l-1-$n.in f-l-1-$n.po
 done < f-l-1.data
 
-exit 0
+Exit 0
index 46c4feea1c64b3da9e5dd76e76d9e6df6d252833..a3958e9895bef4c84fba54b962755bda9d297c9b 100755 (executable)
@@ -215,9 +215,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-l-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-l-2-$n.po f-l-2-$n.mo
 done < f-l-2.data
 
-exit 0
+Exit 0
index 6a213d77ef86f624fe633cfeed39911ecec4fbd3..502342c705c8055ae7528b03042725285bda9c38 100755 (executable)
@@ -61,8 +61,8 @@ while read comment; do
   read string
   n=`expr $n + 1`
   echo "gettext.gettext(${string});" > f-lu-1-$n.in
-  ${XGETTEXT} -L Lua -o f-lu-1-$n.po f-lu-1-$n.in || exit 1
-  test -f f-lu-1-$n.po || exit 1
+  ${XGETTEXT} -L Lua -o f-lu-1-$n.po f-lu-1-$n.in || Exit 1
+  test -f f-lu-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep lua-format f-lu-1-$n.po > /dev/null; then
@@ -82,10 +82,10 @@ while read comment; do
     cat f-lu-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-lu-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-lu-1-$n.in f-lu-1-$n.po
 done < f-lu-1.data
 
-exit 0
+Exit 0
 
index 5c4a45b025dcdec4c5c6e3368bce56d75f32d131..8b7308e3d50abb11f55a7278365f8df054fe4344 100755 (executable)
@@ -110,9 +110,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-lu-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-lu-2-$n.po f-lu-2-$n.mo
 done < f-lu-2.data
 
-exit 0
+Exit 0
index 16549b105287e10acb55f559f79b747fc55cd704..c0694c087d869bf6b0802dcc49dabea6372d2ff1 100755 (executable)
@@ -94,8 +94,8 @@ while read comment; do
   read string
   n=`expr $n + 1`
   echo "x.y=${string}" | sed -e "s/\"/'/g" > f-op-1-$n.in
-  ${XGETTEXT} -L RST -o f-op-1-$n.po f-op-1-$n.in || exit 1
-  test -f f-op-1-$n.po || exit 1
+  ${XGETTEXT} -L RST -o f-op-1-$n.po f-op-1-$n.in || Exit 1
+  test -f f-op-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep object-pascal-format f-op-1-$n.po > /dev/null; then
@@ -115,9 +115,9 @@ while read comment; do
     cat f-op-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-op-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-op-1-$n.in f-op-1-$n.po
 done < f-op-1.data
 
-exit 0
+Exit 0
index 48bacc4bbdf6978960c37beb43f255650eb562f0..67d02f533add81dd8ac21cb4beaab2ba210eba6c 100755 (executable)
@@ -122,9 +122,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-op-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-op-2-$n.po f-op-2-$n.mo
 done < f-op-2.data
 
-exit 0
+Exit 0
index 3f8a44ab78a57fad45cd407c1e21b8ef17813b9b..090795a75f9ff882e37b0e58a16008e5faef7a3d 100755 (executable)
@@ -136,8 +136,8 @@ while read comment; do
   sed -e 's,\$,\\$,g' <<EOF > f-pl-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L Perl -o f-pl-1-$n.po f-pl-1-$n.in || exit 1
-  test -f f-pl-1-$n.po || exit 1
+  ${XGETTEXT} -L Perl -o f-pl-1-$n.po f-pl-1-$n.in || Exit 1
+  test -f f-pl-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep perl-format f-pl-1-$n.po > /dev/null; then
@@ -157,9 +157,9 @@ EOF
     cat f-pl-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-pl-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-pl-1-$n.in f-pl-1-$n.po
 done < f-pl-1.data
 
-exit 0
+Exit 0
index 8bbbd2e369356cd4ac67266d216544704f6a2eed..4a5faa4f20434e9d2eda61da229d1df4bff6a297 100755 (executable)
@@ -233,9 +233,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-pl-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-pl-2-$n.po f-pl-2-$n.mo
 done < f-pl-2.data
 
-exit 0
+Exit 0
index c42ddaa714ee78685405ce66191ae537235f0b7d..413b814e5188654d23f81aee992cbe2b63a08c9d 100755 (executable)
@@ -36,8 +36,8 @@ while read comment; do
   cat <<EOF > f-pb-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L Perl -o f-pb-1-$n.po f-pb-1-$n.in || exit 1
-  test -f f-pb-1-$n.po || exit 1
+  ${XGETTEXT} -L Perl -o f-pb-1-$n.po f-pb-1-$n.in || Exit 1
+  test -f f-pb-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep perl-brace-format f-pb-1-$n.po > /dev/null; then
@@ -57,9 +57,9 @@ EOF
     cat f-pb-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-pb-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-pb-1-$n.in f-pb-1-$n.po
 done < f-pb-1.data
 
-exit 0
+Exit 0
index 486bf3071f9e3a23220beb465d613db45a578ca3..a1c207d5c88d553649c82eeae2acc7778bad1c1c 100755 (executable)
@@ -56,9 +56,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-pb-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-pb-2-$n.po f-pb-2-$n.mo
 done < f-pb-2.data
 
-exit 0
+Exit 0
index d94abf3c85841c670ff0f47d779dac3668fba565..119fcfd24a023c1ba802bf5b042b3781109a1161 100755 (executable)
@@ -35,8 +35,8 @@ while read comment; do
   cat <<EOF > f-pm-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L perl --omit-header --no-location -o f-pm-1-$n.po f-pm-1-$n.in || exit 1
-  test -f f-pm-1-$n.po || exit 1
+  ${XGETTEXT} -L perl --omit-header --no-location -o f-pm-1-$n.po f-pm-1-$n.in || Exit 1
+  test -f f-pm-1-$n.po || Exit 1
   fail=
   if test -n "${formats}"; then
     # Verify that the first line contains the expected #, comment.
@@ -58,8 +58,8 @@ EOF
     cat f-pm-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-pm-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
 done < f-pm-1.data
 
-exit 0
+Exit 0
index 6e313f744e45ca89e37c856fd8f7019e85a6c3d5..738eb1e25f12968ec20ec6db29b90d8adc691687 100755 (executable)
@@ -65,8 +65,8 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-pm-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
 done < f-pm-2.data
 
-exit 0
+Exit 0
index 642e660500e02a1e2da157287524e21586e4e7f4..79583d28e08a930ecf163b806a4e4b7144228d30 100755 (executable)
@@ -82,8 +82,8 @@ while read comment; do
   read string
   n=`expr $n + 1`
   echo "<?= gettext(${string}) ?>" | sed -e 's/\$/\\\$/g' > f-ph-1-$n.in
-  ${XGETTEXT} -L PHP -o f-ph-1-$n.po f-ph-1-$n.in || exit 1
-  test -f f-ph-1-$n.po || exit 1
+  ${XGETTEXT} -L PHP -o f-ph-1-$n.po f-ph-1-$n.in || Exit 1
+  test -f f-ph-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep php-format f-ph-1-$n.po > /dev/null; then
@@ -103,9 +103,9 @@ while read comment; do
     cat f-ph-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-ph-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-ph-1-$n.in f-ph-1-$n.po
 done < f-ph-1.data
 
-exit 0
+Exit 0
index f64c11996b67582bd6a09a701227405ab4f90759..dc6fbc231460fb6f3197ccdfff20c3beaae0058c 100755 (executable)
@@ -110,9 +110,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-ph-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-ph-2-$n.po f-ph-2-$n.mo
 done < f-ph-2.data
 
-exit 0
+Exit 0
index b42ccca7145691f776a672b5b9179e3db6f52958..1bbc9824a8ce470023d975d41609ce63dab6b549 100755 (executable)
@@ -104,8 +104,8 @@ gettext(${string});
 EOF
   # Hide xgettext's "The translator cannot reorder the arguments." warnings.
   ${XGETTEXT} -L Python -o f-p-1-$n.po f-p-1-$n.in 2> f-p-1.err \
-    || { cat f-p-1.err 1>&2; exit 1; }
-  test -f f-p-1-$n.po || exit 1
+    || { cat f-p-1.err 1>&2; Exit 1; }
+  test -f f-p-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep python-format f-p-1-$n.po > /dev/null; then
@@ -125,9 +125,9 @@ EOF
     cat f-p-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-p-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-p-1-$n.in f-p-1-$n.po
 done < f-p-1.data
 
-exit 0
+Exit 0
index 204fc0cafbcc57e12fb1656a479af74cbe01c444..455aba1c0ae7fcacd7bbffe9e58696cdd9f7221f 100755 (executable)
@@ -137,9 +137,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-p-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-p-2-$n.po f-p-2-$n.mo
 done < f-p-2.data
 
-exit 0
+Exit 0
index 3a1f9eab6055fc6f48781944db648c10858342d1..593e3a65209a466eb11e7e72f359ee504dfeddb0 100755 (executable)
@@ -54,8 +54,8 @@ while read comment; do
   cat <<EOF > f-pyb-1-$n.in
 gettext(${string});
 EOF
-  ${XGETTEXT} -L Python -o f-pyb-1-$n.po f-pyb-1-$n.in || exit 1
-  test -f f-pyb-1-$n.po || exit 1
+  ${XGETTEXT} -L Python -o f-pyb-1-$n.po f-pyb-1-$n.in || Exit 1
+  test -f f-pyb-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep python-brace-format f-pyb-1-$n.po > /dev/null; then
@@ -75,9 +75,9 @@ EOF
     cat f-pyb-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-pyb-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-pyb-1-$n.in f-pyb-1-$n.po
 done < f-pyb-1.data
 
-exit 0
+Exit 0
index 3f9423f98b89b2d1966d42000feff3191996a186..376ad266e15b0cc2c91250848b1318b733e2b2bc 100755 (executable)
@@ -59,9 +59,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-pyb-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-pyb-2-$n.po f-pyb-2-$n.mo
 done < f-pyb-2.data
 
-exit 0
+Exit 0
index a092ef7c646eae35853e45ed3cc816a3be9a4e58..74e27ef82da90ecb0bd11f6ed33eba9c74b9cf5d 100755 (executable)
@@ -42,8 +42,8 @@ while read comment; do
   cat <<EOF > f-qt-1-$n.in
 _(${string});
 EOF
-  ${XGETTEXT} -L C++ --qt -k_ -o f-qt-1-$n.po f-qt-1-$n.in || exit 1
-  test -f f-qt-1-$n.po || exit 1
+  ${XGETTEXT} -L C++ --qt -k_ -o f-qt-1-$n.po f-qt-1-$n.in || Exit 1
+  test -f f-qt-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep qt-format f-qt-1-$n.po > /dev/null; then
@@ -63,9 +63,9 @@ EOF
     cat f-qt-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-qt-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-qt-1-$n.in f-qt-1-$n.po
 done < f-qt-1.data
 
-exit 0
+Exit 0
index 4cfc713ac8eeb282d865db8d9573091bf3cf29d0..602c3777106c36a431c9d282a85732e1bed332ad 100755 (executable)
@@ -74,9 +74,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-qt-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-qt-2-$n.po f-qt-2-$n.mo
 done < f-qt-2.data
 
-exit 0
+Exit 0
index 89bbfc33b8f85382cf5ca9caa91eac92f32825c6..7b44251f7acaaae2987cbd8567259a01beb03f16 100755 (executable)
@@ -30,8 +30,8 @@ while read comment; do
   cat <<EOF > f-qtp-1-$n.in
 _(${string});
 EOF
-  ${XGETTEXT} -L C++ --qt -k_ -o f-qtp-1-$n.po f-qtp-1-$n.in || exit 1
-  test -f f-qtp-1-$n.po || exit 1
+  ${XGETTEXT} -L C++ --qt -k_ -o f-qtp-1-$n.po f-qtp-1-$n.in || Exit 1
+  test -f f-qtp-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep qt-plural-format f-qtp-1-$n.po > /dev/null; then
@@ -51,9 +51,9 @@ EOF
     cat f-qtp-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-qtp-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-qtp-1-$n.in f-qtp-1-$n.po
 done < f-qtp-1.data
 
-exit 0
+Exit 0
index ec21a86a33d0def95330dafcd729db02274bd379..8cb6e6a80ba5b912e22d2f9e14727ba42c0e9a8a 100755 (executable)
@@ -59,9 +59,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-qtp-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-qtp-2-$n.po f-qtp-2-$n.mo
 done < f-qtp-2.data
 
-exit 0
+Exit 0
index 6a34146c4ac8f07a1bdc3d320ae3ade35d62137a..8450d0225dc9b2d04dd663229447c600504878ce 100755 (executable)
@@ -260,8 +260,8 @@ while read comment; do
   cat <<EOF > f-sc-1-$n.in
 (gettext ${string})
 EOF
-  ${XGETTEXT} -L Scheme -o f-sc-1-$n.po f-sc-1-$n.in || exit 1
-  test -f f-sc-1-$n.po || exit 1
+  ${XGETTEXT} -L Scheme -o f-sc-1-$n.po f-sc-1-$n.in || Exit 1
+  test -f f-sc-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep scheme-format f-sc-1-$n.po > /dev/null; then
@@ -281,9 +281,9 @@ EOF
     cat f-sc-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-sc-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-sc-1-$n.in f-sc-1-$n.po
 done < f-sc-1.data
 
-exit 0
+Exit 0
index 44829aea34997acffa7da8481aec0a5cf8d9a6c4..417a38271af555f76372bfcebf5accdabc59da99 100755 (executable)
@@ -230,9 +230,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-sc-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-sc-2-$n.po f-sc-2-$n.mo
 done < f-sc-2.data
 
-exit 0
+Exit 0
index e274a7b8314ddd54b70d9c902c978b0c42eb4ce7..28c7623ad9ecf3bb6be36bfb256157b7981cc3e8 100755 (executable)
@@ -40,8 +40,8 @@ while read comment; do
   LC_ALL=C sed -e 's,\$,\\$,g' <<EOF > f-sh-1-$n.in
 gettext ${string};
 EOF
-  ${XGETTEXT} -L Shell --from-code=ISO-8859-1 -o f-sh-1-$n.po f-sh-1-$n.in || exit 1
-  test -f f-sh-1-$n.po || exit 1
+  ${XGETTEXT} -L Shell --from-code=ISO-8859-1 -o f-sh-1-$n.po f-sh-1-$n.in || Exit 1
+  test -f f-sh-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep sh-format f-sh-1-$n.po > /dev/null; then
@@ -61,9 +61,9 @@ EOF
     cat f-sh-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-sh-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-sh-1-$n.in f-sh-1-$n.po
 done < f-sh-1.data
 
-exit 0
+Exit 0
index d98005afe8828115f3499dae224ba581c56dba09..5a192146eb88a63370327dec4682ff36863eb434 100755 (executable)
@@ -53,9 +53,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-sh-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-sh-2-$n.po f-sh-2-$n.mo
 done < f-sh-2.data
 
-exit 0
+Exit 0
index feecaaa77a1577d59d92d6498f3da672bf1eb979..984f0c72427558fb488b3243768983e78700a5ba 100755 (executable)
@@ -108,8 +108,8 @@ while read comment; do
   cat <<EOF > f-t-1-$n.in
 [msgcat::mc ${string}];
 EOF
-  ${XGETTEXT} -L Tcl -o f-t-1-$n.po f-t-1-$n.in || exit 1
-  test -f f-t-1-$n.po || exit 1
+  ${XGETTEXT} -L Tcl -o f-t-1-$n.po f-t-1-$n.in || Exit 1
+  test -f f-t-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep tcl-format f-t-1-$n.po > /dev/null; then
@@ -129,9 +129,9 @@ EOF
     cat f-t-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-t-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-t-1-$n.in f-t-1-$n.po
 done < f-t-1.data
 
-exit 0
+Exit 0
index 8a942368081b83d77970165e1d75800407c998bc..7a9b9f9e739c15349a2f82e54aef8d47ac73756b 100755 (executable)
@@ -131,9 +131,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-t-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-t-2-$n.po f-t-2-$n.mo
 done < f-t-2.data
 
-exit 0
+Exit 0
index c0102095e9b596655e6992812043d5657894a76e..bf7b3a9936e3cf0d0ce5035803f8349d52295571 100755 (executable)
@@ -30,8 +30,8 @@ while read comment; do
   cat <<EOF > f-y-1-$n.in
 _(${string});
 EOF
-  ${XGETTEXT} -L YCP -o f-y-1-$n.po f-y-1-$n.in || exit 1
-  test -f f-y-1-$n.po || exit 1
+  ${XGETTEXT} -L YCP -o f-y-1-$n.po f-y-1-$n.in || Exit 1
+  test -f f-y-1-$n.po || Exit 1
   fail=
   if echo "$comment" | grep 'Valid:' > /dev/null; then
     if grep ycp-format f-y-1-$n.po > /dev/null; then
@@ -51,9 +51,9 @@ EOF
     cat f-y-1-$n.in 1>&2
     echo "Got:" 1>&2
     cat f-y-1-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-y-1-$n.in f-y-1-$n.po
 done < f-y-1.data
 
-exit 0
+Exit 0
index e60674489ef7e1372fbdbc010de43302154637e3..b9bc466ae93e52d5f8b96984854444e190a09d0f 100755 (executable)
@@ -59,9 +59,9 @@ EOF
   if test -n "$fail"; then
     echo "Format string checking error:" 1>&2
     cat f-y-2-$n.po 1>&2
-    exit 1
+    Exit 1
   fi
   rm -f f-y-2-$n.po f-y-2-$n.mo
 done < f-y-2.data
 
-exit 0
+Exit 0
index 76c28a98729bab48d746f52789cb381c2adc345d..0f64ee8b849be80cb48821afb151fba2d4689a3e 100755 (executable)
@@ -8,7 +8,7 @@
 : ${GLIBC2=no}
 test "$GLIBC2" = yes || {
   echo "Skipping test: not a glibc system"
-  exit 77
+  Exit 77
 }
 
 # This test works only on systems that have a de_DE and fr_FR locale installed.
@@ -18,7 +18,7 @@ LC_ALL=de_DE ../testlocale || {
   else
     echo "Skipping test: locale de_DE not supported"
   fi
-  exit 77
+  Exit 77
 }
 LC_ALL=fr_FR ../testlocale || {
   if test -f /usr/bin/localedef; then
@@ -26,7 +26,7 @@ LC_ALL=fr_FR ../testlocale || {
   else
     echo "Skipping test: locale fr_FR not supported"
   fi
-  exit 77
+  Exit 77
 }
 
 test -d gt-3 || mkdir gt-3
@@ -48,9 +48,9 @@ String1 - First string for testing.
 String2 - Another string for testing.
 EOF
 
-../gettext-3-prg > gt-3.out || exit 1
+../gettext-3-prg > gt-3.out || Exit 1
 
 : ${DIFF=diff}
-${DIFF} gt-3.ok gt-3.out || exit 1
+${DIFF} gt-3.ok gt-3.out || Exit 1
 
-exit 0
+Exit 0
index fdfa09688a41b76a8c502f775c7a4ff5deb2edec..ba200cae53351384971f5df0b10afde13cb3d651 100755 (executable)
@@ -16,7 +16,7 @@
   else
     echo "Skipping test: no traditional french locale is supported"
   fi
-  exit 77
+  Exit 77
 }
 
 test -d gt-4 || mkdir gt-4
@@ -26,6 +26,6 @@ test -d gt-4/fr/LC_MESSAGES || mkdir gt-4/fr/LC_MESSAGES
 : ${MSGFMT=msgfmt}
 ${MSGFMT} -o gt-4/fr/LC_MESSAGES/codeset.mo "$abs_srcdir"/gettext-4.po
 
-../gettext-4-prg $LOCALE_FR || exit 1
+../gettext-4-prg $LOCALE_FR || Exit 1
 
-exit 0
+Exit 0
index a7af65e8ebc80aaaec7355e35e04e6b7099dfc96..d33ebf11cd6040715eb1d2c74559893763c4743c 100755 (executable)
@@ -8,7 +8,7 @@
 : ${GLIBC2=no}
 test "$GLIBC2" = yes || {
   echo "Skipping test: not a glibc system"
-  exit 77
+  Exit 77
 }
 
 # This test works only on systems that have a de_DE.ISO-8859-1 and
@@ -19,7 +19,7 @@ LC_ALL=de_DE.ISO-8859-1 ../testlocale || {
   else
     echo "Skipping test: locale de_DE.ISO-8859-1 not supported"
   fi
-  exit 77
+  Exit 77
 }
 LC_ALL=de_DE.UTF-8 ../testlocale || {
   if test -f /usr/bin/localedef; then
@@ -27,7 +27,7 @@ LC_ALL=de_DE.UTF-8 ../testlocale || {
   else
     echo "Skipping test: locale de_DE.UTF-8 not supported"
   fi
-  exit 77
+  Exit 77
 }
 
 test -d gt-5 || mkdir gt-5
@@ -37,6 +37,6 @@ test -d gt-5/de_DE/LC_MESSAGES || mkdir gt-5/de_DE/LC_MESSAGES
 : ${MSGFMT=msgfmt}
 ${MSGFMT} -o gt-5/de_DE/LC_MESSAGES/codeset.mo "$abs_srcdir"/gettext-5.po
 
-../gettext-5-prg || exit 1
+../gettext-5-prg || Exit 1
 
-exit 0
+Exit 0
index 7bc4e01ce7b8e265d671e56956fdeb74dad5fa27..cadfbc8f0ae1ceaf9f7a9b21a88c999d7134335e 100755 (executable)
@@ -15,7 +15,7 @@
   esac
 } || {
   echo "Skipping test: not a glibc or Mac OS X system"
-  exit 77
+  Exit 77
 }
 
 # This test works only on systems that have a de_DE and fr_FR locale installed.
@@ -26,7 +26,7 @@ if test -n "$missing_locale"; then
   else
     echo "Skipping test: locale ${missing_locale} not supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 test -d gt-6 || mkdir gt-6
@@ -51,11 +51,11 @@ case $? in
   0) ;;
   77)
     echo "Skipping test: not a glibc >= 2.3 or MacOS X >= 10.5 system"
-    exit 77
+    Exit 77
     ;;
 esac
 
 : ${DIFF=diff}
-${DIFF} gt-6.ok gt-6.out || exit 1
+${DIFF} gt-6.ok gt-6.out || Exit 1
 
-exit 0
+Exit 0
index a38e5f180a84d76d8bb52e39685b061e01a35a8c..cf9f114cdf812f9779743586fcb59f57e5c9070b 100755 (executable)
@@ -15,7 +15,7 @@
   esac
 } || {
   echo "Skipping test: not a glibc or Mac OS X system"
-  exit 77
+  Exit 77
 }
 
 # This test works only on systems that have a de_DE.ISO-8859-1 and
@@ -27,7 +27,7 @@ if test -n "$missing_locale"; then
   else
     echo "Skipping test: locale ${missing_locale} not supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 test -d gt-7 || mkdir gt-7
@@ -42,11 +42,11 @@ case $? in
   0) ;;
   77)
     echo "Skipping test: not a glibc >= 2.3 or MacOS X >= 10.5 system"
-    exit 77
+    Exit 77
     ;;
   *)
-    exit 1
+    Exit 1
     ;;
 esac
 
-exit 0
+Exit 0
index 2657a1bcf75c7d10f57764a26a62e54efee351ac..2ad641ed09e38fac9be4679627e449240fa29012 100755 (executable)
@@ -2,10 +2,10 @@
 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
 
 # Test the libgettextpo library.
-../gettextpo-1-prg${EXEEXT} "$abs_srcdir"/gettextpo-1.de.po > /dev/null || exit 1
+../gettextpo-1-prg${EXEEXT} "$abs_srcdir"/gettextpo-1.de.po > /dev/null || Exit 1
 
 : ${DIFF=diff}
-${DIFF} "$abs_srcdir"/gettextpo-1.de.po gtpo-1-copied.po || exit 1
-${DIFF} "$abs_srcdir"/gettextpo-1.de.po gtpo-1-created.po || exit 1
+${DIFF} "$abs_srcdir"/gettextpo-1.de.po gtpo-1-copied.po || Exit 1
+${DIFF} "$abs_srcdir"/gettextpo-1.de.po gtpo-1-created.po || Exit 1
 
-exit 0
+Exit 0
index 7c74651e538317f6c09155ffbdf8e5f61f299006..a5ec2b0441827bc51a88f90c25eac567456bfd81 100755 (executable)
@@ -33,8 +33,8 @@ ${XGETTEXT} -o prog.tmp --omit-header --no-location prog.bash \
   >prog.err 2>&1
 result=$?
 cat prog.err | grep -v 'warning: the syntax \$"\.\.\." is deprecated due to security reasons'
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -48,7 +48,7 @@ msgstr[1] ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -68,11 +68,11 @@ msgstr[1] "$n morceaux de gateau"
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -82,10 +82,10 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
 # Test for presence of bash version 2.0 or newer.
 (bash -c :) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: bash not found"; exit 77; }
+  || { echo "Skipping test: bash not found"; Exit 77; }
 case `bash -c 'echo $BASH_VERSION'` in
   [2-9].*) ;;
-  *) echo "Skipping test: bash version too old"; exit 77;;
+  *) echo "Skipping test: bash version too old"; Exit 77;;
 esac
 
 # Test which of the fr_FR locales are installed.
@@ -96,7 +96,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -104,7 +104,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -113,18 +113,18 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 case "$host_os" in
   darwin*)
     if test $LOCALE_FR != none; then
       LC_ALL=$LOCALE_FR bash --help \
-        | grep '^Utilisation' > /dev/null 2>&1 || exit 77
+        | grep '^Utilisation' > /dev/null 2>&1 || Exit 77
     fi
     if test $LOCALE_FR_UTF8 != none; then
       LC_ALL=$LOCALE_FR_UTF8 bash --help \
-        | grep '^Utilisation' > /dev/null 2>&1 || exit 77
+        | grep '^Utilisation' > /dev/null 2>&1 || Exit 77
     fi
   ;;
 esac
@@ -148,23 +148,23 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR bash ./prog.bash 2 > prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR bash ./prog.bash 2 > prog.out || Exit 1
   : ${DIFF=diff}
   ${DIFF} prog.nok prog.out > /dev/null && {
     echo "Skipping test: bash is built without i18n support"
-    exit 77
+    Exit 77
   }
-  ${DIFF} prog.ok prog.out || exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 bash ./prog.bash 2 > prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 bash ./prog.bash 2 > prog.out || Exit 1
   : ${DIFF=diff}
   ${DIFF} prog.nok prog.out > /dev/null && {
     echo "Skipping test: bash is built without i18n support"
-    exit 77
+    Exit 77
   }
-  ${DIFF} prog.oku prog.out || exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index f58df8804db0ec3d26e49bef367167a20e37938c..2babb08ae9e96d9b7fe168662aa60ea4fc65d4ae 100755 (executable)
@@ -43,17 +43,17 @@ EOF
 # is found in the build directory, regardless of -I options present in
 # ${CFLAGS} or ${CPPFLAGS}.
 ${CC} -I../.. -I"$abs_top_srcdir"/gnulib-lib -I../../intl ${CFLAGS} \
-      ${CPPFLAGS} -c prog.c || exit 1
+      ${CPPFLAGS} -c prog.c || Exit 1
 
 : ${CONFIG_SHELL=${SHELL-/bin/sh}}
 ${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CC --mode=link \
                 ${CC} ${CFLAGS} -o prog prog.${OBJEXT} \
                 ../../gnulib-lib/libgettextlib.la ${LDFLAGS} ${LTLIBINTL} \
-               || exit 1
+               || Exit 1
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.c || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.c || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 #, c-format
@@ -72,7 +72,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -98,11 +98,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -128,18 +128,18 @@ if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
   LANGUAGE= ./prog $LOCALE_FR 2 > prog.out
   case $? in
-    0) ${DIFF} prog.ok prog.out || exit 1;;
+    0) ${DIFF} prog.ok prog.out || Exit 1;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= ./prog $LOCALE_FR_UTF8 2 > prog.out
   case $? in
-    0) ${DIFF} prog.oku prog.out || exit 1;;
+    0) ${DIFF} prog.oku prog.out || Exit 1;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -148,7 +148,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
-exit 0
+Exit 0
index 65a8a28885d9fd6b4fa410e282296ac4a2ba4e5c..105e70e2544b6d3f9beb7f6cbbed9f43cffa1ba5 100755 (executable)
@@ -8,11 +8,11 @@
 # Test whether a C++ compiler is found and libasprintf is built.
 test "${CXX}" != "no" || {
   echo "Skipping test: no C++ compiler found"
-  exit 77
+  Exit 77
 }
 test "${TESTLIBASPRINTF}" = yes || {
   echo "Skipping test: configured with --disable-libasprintf"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > prog.cc
@@ -62,7 +62,7 @@ EOF
 # is found in the build directory, regardless of -I options present in
 # ${CXXFLAGS} or ${CPPFLAGS}.
 ${CXX} -I../.. -I../../../gettext-runtime/libasprintf -I"$abs_top_srcdir"/gnulib-lib -I../../intl ${CXXFLAGS} ${CPPFLAGS} -c prog.cc \
-  || exit 1
+  || Exit 1
 # Remove the -Wl,--disable-auto-import option here that is added by
 # woe32-dll.m4. Cygwin 1.7.2 does not support it in C++ mode: It gives
 # a link error about 'std::cout'.
@@ -71,11 +71,11 @@ ${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CXX --mode=link \
                 ${CXX} ${CXXFLAGS} `echo "X ${LDFLAGS} " | sed -e 's/^X//' -e 's/ -Wl,--disable-auto-import / /'` -o prog prog.${OBJEXT} \
                 ../../../gettext-runtime/libasprintf/libasprintf.la \
                 ../../gnulib-lib/libgettextlib.la ${LTLIBINTL} \
-               || exit 1
+               || Exit 1
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.cc || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.cc || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -93,7 +93,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -118,11 +118,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -148,18 +148,18 @@ if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
   LANGUAGE= ./prog $LOCALE_FR 2 > prog.out
   case $? in
-    0) ${DIFF} prog.ok prog.out || exit 1;;
+    0) ${DIFF} prog.ok prog.out || Exit 1;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= ./prog $LOCALE_FR_UTF8 2 > prog.out
   case $? in
-    0) ${DIFF} prog.oku prog.out || exit 1;;
+    0) ${DIFF} prog.oku prog.out || Exit 1;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -168,7 +168,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
-exit 0
+Exit 0
index 631d30a73734321d1ec1a3a1abbc1d4c9756e859..471c4f6c8c4b39ef743ae1406b6c74c3e5ecbab2 100755 (executable)
@@ -19,8 +19,8 @@ cat <<\EOF > prog.lisp
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.lisp || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.lisp || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -38,7 +38,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -63,11 +63,11 @@ msgstr "~1@*~A remplace ~0@*~A."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -79,17 +79,17 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 # Use clisp for the comparison of the version numbers; neither 'expr' nor 'bc'
 # can deal with floating-point numbers.
 (clisp --version) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: clisp not found"; exit 77; }
+  || { echo "Skipping test: clisp not found"; Exit 77; }
 version=`clisp --version | sed -n -e 1p | sed -e 's/^[^0-9]*//'`
 case $version in
   19* | 20*) # older than 2.25
-    echo "Skipping test: clisp version too old"; exit 77;;
+    echo "Skipping test: clisp version too old"; Exit 77;;
 esac
 version=`echo $version | sed -e 's/^\([0-9]*\.[0-9]*\).*/\1/'`
 clisp -norc -x "(sys::exit #+GETTEXT (not (>= $version 2.28)) #-GETTEXT t)" \
       >/dev/null \
   || { echo "Skipping test: clisp was built without gettext support"
-       exit 77
+       Exit 77
      }
 
 # Test which of the fr_FR locales are installed.
@@ -100,7 +100,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -108,7 +108,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -117,7 +117,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -136,15 +136,15 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  CLISP_LANGUAGE= LANGUAGE= LC_ALL=$LOCALE_FR clisp prog.lisp 2 > prog.tmp || exit 1
-  LC_ALL=C tr -d '\r' < prog.tmp > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  CLISP_LANGUAGE= LANGUAGE= LC_ALL=$LOCALE_FR clisp prog.lisp 2 > prog.tmp || Exit 1
+  LC_ALL=C tr -d '\r' < prog.tmp > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  CLISP_LANGUAGE= LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 clisp prog.lisp 2 > prog.tmp || exit 1
-  LC_ALL=C tr -d '\r' < prog.tmp > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  CLISP_LANGUAGE= LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 clisp prog.lisp 2 > prog.tmp || Exit 1
+  LC_ALL=C tr -d '\r' < prog.tmp > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index 505d9796c924f30117f3c99ccded445778b4865e..eccfe54ca22b8249ac96cdb5c3d8da2007a78ac2 100755 (executable)
 # Test whether we can build and test C# programs.
 test "${CSHARP_CHOICE}" != no || {
   echo "Skipping test: configured with --disable-csharp"
-  exit 77
+  Exit 77
 }
 test "${BUILDCSHARP}" = yes || {
   echo "Skipping test: C# compiler not found"
-  exit 77
+  Exit 77
 }
 test "${TESTCSHARP}" = yes || {
   echo "Skipping test: C# engine not found"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > program.cs
@@ -47,11 +47,11 @@ class Program {
 EOF
 
 : ${CSHARPCOMP="/bin/sh ../../csharpcomp.sh"}
-${CSHARPCOMP} -o program.exe -L ../../../gettext-runtime/intl-csharp -l GNU.Gettext program.cs || exit 1
+${CSHARPCOMP} -o program.exe -L ../../../gettext-runtime/intl-csharp -l GNU.Gettext program.cs || Exit 1
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location program.cs || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location program.cs || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -81,7 +81,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -120,15 +120,15 @@ msgstr "Le nouveau {1} remplace le vieux {0}."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
 
 : ${MSGFMT=msgfmt}
 GETTEXTCSHARPLIBDIR=../../../gettext-runtime/intl-csharp \
-${MSGFMT} --csharp -d . -r prog -l fr fr.po || exit 1
+${MSGFMT} --csharp -d . -r prog -l fr fr.po || Exit 1
 
 # Test which of the fr_FR locales are installed.
 : ${LOCALE_FR=fr_FR}
@@ -138,7 +138,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -146,7 +146,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -155,7 +155,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -179,13 +179,13 @@ EOF
 : ${CSHARPEXEC="/bin/sh ../../csharpexec.sh"}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR ${CSHARPEXEC} -L ../../../gettext-runtime/intl-csharp program.exe 2 > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR ${CSHARPEXEC} -L ../../../gettext-runtime/intl-csharp program.exe 2 > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ${CSHARPEXEC} -L ../../../gettext-runtime/intl-csharp program.exe 2 > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ${CSHARPEXEC} -L ../../../gettext-runtime/intl-csharp program.exe 2 > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index 5823ff7f02e88e7c6c1454c285b19d83b475bab1..3081ddc5d22bdf21795f15c1e976b2babe50a49c 100755 (executable)
@@ -14,8 +14,8 @@ cat <<\EOF > prog.el
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.el || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.el || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -27,7 +27,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -45,11 +45,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -57,4 +57,4 @@ test -d fr/LC_MESSAGES || mkdir fr/LC_MESSAGES
 : ${MSGFMT=msgfmt}
 ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
-exit 0
+Exit 0
index 47bcb34e86206fb6e2a8c46f66500de152e5b47d..33b68317865dd6f68cc13eeb8f0702b3dce633a2 100755 (executable)
@@ -23,8 +23,8 @@ BEGIN {
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.awk || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.awk || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -42,7 +42,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -67,11 +67,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -81,10 +81,10 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
 # Test for presence of gawk version 3.1.3 or newer, excluding version 3.1.5.
 (gawk --version) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: gawk not found"; exit 77; }
+  || { echo "Skipping test: gawk not found"; Exit 77; }
 case `gawk --version 2>&1 | sed -e 's/^[^0-9]*//'` in
   0.* | 1.* | 2.* | 3.0* | 3.1.0* | 3.1.1* | 3.1.2* | 3.1.5*)
-    echo "Skipping test: gawk version too old"; exit 77;;
+    echo "Skipping test: gawk version too old"; Exit 77;;
 esac
 
 # Test which of the fr_FR locales are installed.
@@ -95,7 +95,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -103,7 +103,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -112,7 +112,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 # Test that gawk wasn't built with --disable-nls.
@@ -122,14 +122,14 @@ if test $LOCALE_FR != none; then
   LANGUAGE= LC_ALL=$LOCALE_FR gawk --version | grep logiciel > /dev/null
   test $? = 0 || {
     echo "Skipping test: gawk was built without i18n support"
-    exit 77
+    Exit 77
   }
 fi
 if test $LOCALE_FR_UTF8 != none; then
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gawk --version | grep logiciel > /dev/null
   test $? = 0 || {
     echo "Skipping test: gawk was built without i18n support"
-    exit 77
+    Exit 77
   }
 fi
 
@@ -149,13 +149,13 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR gawk -v n=2 -f prog.awk > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR gawk -v n=2 -f prog.awk > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gawk -v n=2 -f prog.awk > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gawk -v n=2 -f prog.awk > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index 4023d77d1abd5534e1d78cb4910ca47ece9fe3bc..9a2a9b8f7b507ccd79b1691433bfb77491af73a2 100755 (executable)
@@ -22,8 +22,8 @@ cat <<\EOF > prog.scm
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.scm || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.scm || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -41,7 +41,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -66,11 +66,11 @@ msgstr "~1@*~A remplace ~0@*~A."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -80,10 +80,10 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
 # Test for presence of guile version 1.7 or newer.
 (guile --version) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: guile not found"; exit 77; }
+  || { echo "Skipping test: guile not found"; Exit 77; }
 case `guile --version | sed -e 1q | sed -e 's/^[^0-9]*//'` in
   0.* | 1.[0-6] | 1.[0-6].* )
-    echo "Skipping test: guile version too old"; exit 77;;
+    echo "Skipping test: guile version too old"; Exit 77;;
 esac
 
 # Test which of the fr_FR locales are installed.
@@ -94,7 +94,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -102,7 +102,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -111,7 +111,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -130,15 +130,15 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR guile -s prog.scm 2 > prog.out 2>prog.err || { cat prog.err 1>&2; exit 1; }
+  LANGUAGE= LC_ALL=$LOCALE_FR guile -s prog.scm 2 > prog.out 2>prog.err || { cat prog.err 1>&2; Exit 1; }
   grep -v '^;;;' prog.err 1>&2
-  ${DIFF} prog.ok prog.out || exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 guile -s prog.scm 2 > prog.out 2>prog.err || { cat prog.err 1>&2; exit 1; }
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 guile -s prog.scm 2 > prog.out 2>prog.err || { cat prog.err 1>&2; Exit 1; }
   grep -v '^;;;' prog.err 1>&2
-  ${DIFF} prog.oku prog.out || exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index e09ec86177f52a81fbdaf807f76f813e4dde6c97..558211453b7032e4c6a2f51cd92c0c04754be3f2 100755 (executable)
 # Test whether we can build and test 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
 }
 
 cat <<\EOF > Program.java
@@ -61,11 +61,11 @@ EOF
 
 : ${JAVACOMP="/bin/sh ../../javacomp.sh"}
 CLASSPATH=../../../gettext-runtime/intl-java/libintl.jar ${JAVACOMP} -d . Program.java 2>prog.err \
-  || { cat prog.err 1>&2; exit 1; }
+  || { cat prog.err 1>&2; Exit 1; }
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location Program.java || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location Program.java || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -95,7 +95,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -134,14 +134,14 @@ msgstr "Le nouveau {1} remplace le vieux {0}."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} -j -d . -r prog -l fr fr.po || exit 1
+${MSGFMT} -j -d . -r prog -l fr fr.po || Exit 1
 
 # Test which of the fr_FR locales are installed.
 : ${LOCALE_FR=fr_FR}
@@ -151,7 +151,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -159,7 +159,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -168,7 +168,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -192,13 +192,13 @@ EOF
 : ${JAVAEXEC="/bin/sh ../../javaexec.sh"}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR CLASSPATH=.:../../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 ISO-8859-1 > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR CLASSPATH=.:../../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 ISO-8859-1 > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 CLASSPATH=.:../../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 UTF-8 > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 CLASSPATH=.:../../../gettext-runtime/intl-java/libintl.jar ${JAVAEXEC} Program 2 UTF-8 > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index 5f502aa6758d77b94bc7ff299a6ade7c74dcd8aa..bbed1407707868d933eebf1d6b7295015a50a5da 100755 (executable)
@@ -19,8 +19,8 @@ print(_("%s is replaced by %s.").format("FF", "EUR"));
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.js || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.js || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -32,7 +32,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -48,11 +48,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -62,13 +62,13 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
 # Test for presence of gjs.
 (gjs -h) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: gjs not found"; exit 77; }
+  || { echo "Skipping test: gjs not found"; Exit 77; }
 (gjs -c imports.gettext) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: gjs gettext module not found"; exit 77; }
+  || { echo "Skipping test: gjs gettext module not found"; Exit 77; }
 (gjs -c imports.format) >/dev/null 2>/dev/null \
-    || { echo "Skipping test: gjs format module not found"; exit 77; }
+    || { echo "Skipping test: gjs format module not found"; Exit 77; }
 (pkg-config gjs-1.0 --atleast-version=1.40) >/dev/null 2>/dev/null \
-    || { echo "Skipping test: gjs version is older than 1.40"; exit 77; }
+    || { echo "Skipping test: gjs version is older than 1.40"; Exit 77; }
 
 # Test which of the fr_FR locales are installed.
 : ${LOCALE_FR=fr_FR}
@@ -78,7 +78,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -86,7 +86,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -95,7 +95,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -112,13 +112,13 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR gjs prog.js > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR gjs prog.js > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gjs prog.js > prog.out || exit 1
-  ${DIFF} -u prog.oku prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gjs prog.js > prog.out || Exit 1
+  ${DIFF} -u prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index 4c7e3f24c08e5baded4fbc7bc87b5b5377699054..db314a9084fb2502eedad1904755637d514db996 100755 (executable)
@@ -18,8 +18,8 @@ cat <<\EOF > prog.jl
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.jl || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.jl || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -31,7 +31,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -49,11 +49,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -63,10 +63,10 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
 # Test for presence of rep version 0.15.3 or newer.
 (rep --version) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: rep not found"; exit 77; }
+  || { echo "Skipping test: rep not found"; Exit 77; }
 case `rep --version | sed -e 's/^[^0-9]*//'` in
   0.[0-9] | 0.1[0-5] | 0.[0-9].* | 0.1[0-4].* | 0.15.[0-2] )
-    echo "Skipping test: rep version too old"; exit 77;;
+    echo "Skipping test: rep version too old"; Exit 77;;
 esac
 
 # Test which of the fr_FR locales are installed.
@@ -77,7 +77,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -85,7 +85,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -94,7 +94,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -111,13 +111,13 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR rep --no-rc --batch prog.jl > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR rep --no-rc --batch prog.jl > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 rep --no-rc --batch prog.jl > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 rep --no-rc --batch prog.jl > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index 202ef1391392a9b6c275b30faedcee4945b50b92..c0e35dfb4ef17afc98ed2b2a9eea7fc01caae3f0 100755 (executable)
@@ -18,8 +18,8 @@ print(string.format(_[==[%s is replaced by %s.]==], "FF", "EUR"))
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.lua || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.lua || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -37,7 +37,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -60,11 +60,11 @@ msgstr "%s remplace %s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -75,14 +75,14 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 # Test for presence of lua version 5.0 or newer with gettext support.
 (lua -v) >/dev/null 2>/dev/null
 test $? -le 1 \
-  || { echo "Skipping test: lua not found"; exit 77; }
+  || { echo "Skipping test: lua not found"; Exit 77; }
 case `lua -v 2>&1 | sed -e 's/^[^0-9]*//'` in
   [5-9].*) ;;
-  *) echo "Skipping test: lua version too old"; exit 77;;
+  *) echo "Skipping test: lua version too old"; Exit 77;;
 esac
 { lua -v -l gettext > /dev/null 2>/dev/null; } \
   || { echo "Skipping test: lua gettext module not found"
-       exit 77
+       Exit 77
      }
 
 # Test which of the fr_FR locales are installed.
@@ -93,7 +93,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -101,7 +101,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -110,7 +110,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -129,13 +129,13 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR lua -l gettext prog.lua > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR lua -l gettext prog.lua > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 lua -l gettext prog.lua > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 lua -l gettext prog.lua > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index 126246f62fc835c29bb997ba27190fe1ac34ea87..25ca2119d65412897dbb7629f2b08d017e581caf 100755 (executable)
@@ -17,7 +17,7 @@ int main ()
 EOF
 ${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o hello hello.m 2>/dev/null \
   || { echo "Skipping test: Objective C compiler not found"
-       exit 77
+       Exit 77
      }
 
 cat <<\EOF > prog.m
@@ -58,17 +58,17 @@ EOF
 # is found in the build directory, regardless of -I options present in
 # ${CFLAGS} or ${CPPFLAGS}.
 ${CC} -I../.. -I"$abs_top_srcdir"/gnulib-lib -I../../intl ${CFLAGS} \
-      ${CPPFLAGS} -c prog.m || exit 1
+      ${CPPFLAGS} -c prog.m || Exit 1
 
 : ${CONFIG_SHELL=${SHELL-/bin/sh}}
 ${CONFIG_SHELL} "$top_builddir"/libtool --quiet --tag=CC --mode=link \
                 ${CC} ${CFLAGS} -o prog prog.${OBJEXT} \
                 ../../gnulib-lib/libgettextlib.la ${LDFLAGS} ${LTLIBINTL} \
-               || exit 1
+               || Exit 1
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.m || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location -k_ prog.m || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 #, c-format
@@ -87,7 +87,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -113,11 +113,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -143,18 +143,18 @@ if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
   LANGUAGE= ./prog $LOCALE_FR 2 > prog.out
   case $? in
-    0) ${DIFF} prog.ok prog.out || exit 1;;
+    0) ${DIFF} prog.ok prog.out || Exit 1;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= ./prog $LOCALE_FR_UTF8 2 > prog.out
   case $? in
-    0) ${DIFF} prog.oku prog.out || exit 1;;
+    0) ${DIFF} prog.oku prog.out || Exit 1;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -163,7 +163,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
-exit 0
+Exit 0
index 76a12b671410e7df2912773b66860fc1937186c1..a6781e8d84f857bb3ef107f1bc7900a670387271 100755 (executable)
@@ -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
index acf6c97547471011d49ae435bf04c133f35dfd5d..40b1424be51c87d57301731db0ee495b2705a02c 100755 (executable)
@@ -24,8 +24,8 @@ EOF
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} \
   -k__ --flag=__:1:pass-perl-format --flag=__:1:pass-perl-brace-format \
-  -o prog.tmp --omit-header --no-location program1.pl || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+  -o prog.tmp --omit-header --no-location program1.pl || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -43,7 +43,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -68,11 +68,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -95,20 +95,20 @@ EOF
 # Test for perl with Locale::Messages package.
 perl -e 'use Locale::Messages;' 2>/dev/null \
   || { echo "Skipping test: perl package Locale::Messages is not installed"
-       exit 77
+       Exit 77
      }
 
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LANG=$LOCALE_FR LC_MESSAGES= LC_CTYPE= LC_ALL= perl program1.pl > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LANG=$LOCALE_FR LC_MESSAGES= LC_CTYPE= LC_ALL= perl program1.pl > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LANG=$LOCALE_FR_UTF8 LC_MESSAGES= LC_CTYPE= LC_ALL= perl program1.pl > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LANG=$LOCALE_FR_UTF8 LC_MESSAGES= LC_CTYPE= LC_ALL= perl program1.pl > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   if test -f /usr/bin/localedef; then
@@ -116,7 +116,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
-exit 0
+Exit 0
index 40b814b974d7af26094a3d14fc3a72941df79d09..5bc2fa84214d9cdbbce1e734d574653da98441fa 100755 (executable)
@@ -23,8 +23,8 @@ ${XGETTEXT} \
   -k__n:1,2 --flag=__n:1:pass-perl-format --flag=__n:1:pass-perl-brace-format \
             --flag=__n:2:pass-perl-format --flag=__n:2:pass-perl-brace-format \
   -k__x --flag=__x:1:perl-brace-format \
-  -o prog.tmp --omit-header --no-location program2.pl || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+  -o prog.tmp --omit-header --no-location program2.pl || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -42,7 +42,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -67,11 +67,11 @@ msgstr "{new} remplace {old}."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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 l-perl-2 || mkdir l-perl-2
 test -d fr || mkdir fr
@@ -95,20 +95,20 @@ EOF
 # Test for perl with libintl-perl package.
 perl -M'Locale::TextDomain' -e '' 2>/dev/null \
   || { echo "Skipping test: perl package libintl-perl is not installed"
-       exit 77
+       Exit 77
      }
 
 : ${LOCALE_FR=fr_FR}
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LANG=$LOCALE_FR LC_MESSAGES= LC_CTYPE= LC_ALL= perl program2.pl > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LANG=$LOCALE_FR LC_MESSAGES= LC_CTYPE= LC_ALL= perl program2.pl > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LANG=$LOCALE_FR_UTF8 LC_MESSAGES= LC_CTYPE= LC_ALL= perl program2.pl > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LANG=$LOCALE_FR_UTF8 LC_MESSAGES= LC_CTYPE= LC_ALL= perl program2.pl > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   if test -f /usr/bin/localedef; then
@@ -116,7 +116,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
-exit 0
+Exit 0
index 83a61abfb4691523d94e5bca24f8c70d0610e14c..b8238d5b9fea0b62d2af90d2a2a3aec8d568f33d 100755 (executable)
@@ -18,8 +18,8 @@ cat <<\EOF > prog.php
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.php || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.php || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -31,7 +31,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -47,11 +47,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -62,14 +62,14 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 # Test for presence of php version 4.0 or newer with gettext support.
 (php -v) >/dev/null 2>/dev/null
 test $? -le 1 \
-  || { echo "Skipping test: php not found"; exit 77; }
+  || { echo "Skipping test: php not found"; Exit 77; }
 case `php -v | sed -n -e 1p | sed -e 's/^[^0-9]*//'` in
   [4-9].*) ;;
-  *) echo "Skipping test: php version too old"; exit 77;;
+  *) echo "Skipping test: php version too old"; Exit 77;;
 esac
 { php -m | grep '^gettext$' >/dev/null; } \
   || { echo "Skipping test: php was built without gettext support"
-       exit 77
+       Exit 77
      }
 
 # Test which of the fr_FR locales are installed.
@@ -80,7 +80,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -88,7 +88,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -97,7 +97,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -114,13 +114,13 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR php -q prog.php > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR php -q prog.php > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 php -q prog.php > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 php -q prog.php > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index c04a3437b4b78992d9e1e1cb188e515d23434e1c..c8b90c3684eba7b82da4fa59b7cf7249a3736151 100755 (executable)
@@ -21,11 +21,11 @@ msgstr ""
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --add-location prog-in.pot || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --add-location prog-in.pot || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 : ${DIFF=diff}
-${DIFF} prog-in.pot prog.pot || exit 1
+${DIFF} prog-in.pot prog.pot || Exit 1
 
 # Test with PO format.
 
@@ -52,10 +52,10 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp.po --omit-header --add-location prog-in.po || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp.po > prog.po || exit 1
+${XGETTEXT} -o prog.tmp.po --omit-header --add-location prog-in.po || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp.po > prog.po || Exit 1
 
 : ${DIFF=diff}
-${DIFF} prog-in.po prog.po || exit 1
+${DIFF} prog-in.po prog.po || Exit 1
 
-exit 0
+Exit 0
index f19878063d8b0d97ddb919342546c4a69409306e..5d482fbeac0ae4de5755a02798f42b2b62bfb85f 100755 (executable)
@@ -19,8 +19,8 @@ print gettext.gettext("%(oldCurrency)s is replaced by %(newCurrency)s.") \
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog1.py || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog1.py || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -32,7 +32,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -50,11 +50,11 @@ msgstr "%(newCurrency)s remplace %(oldCurrency)s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -64,10 +64,10 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
 # Test for presence of python version 2.0 or newer.
 (python -V) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: python not found"; exit 77; }
+  || { echo "Skipping test: python not found"; Exit 77; }
 case `python -c 'import sys; print sys.hexversion >= 0x20000F0'` in
   1 | True) ;;
-  *) echo "Skipping test: python version too old"; exit 77;;
+  *) echo "Skipping test: python version too old"; Exit 77;;
 esac
 
 : ${DIFF=diff}
@@ -84,14 +84,14 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR python prog1.py > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR python prog1.py > prog.out || Exit 1
+  ${DIFF} prog.ok prog.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=$LOCALE_FR_UTF8 python prog1.py > prog.out || exit 1
-    ${DIFF} prog.oku prog.out || exit 1
+    LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 python prog1.py > prog.out || Exit 1
+    ${DIFF} prog.oku prog.out || Exit 1
   fi
   if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
     if test -f /usr/bin/localedef; then
@@ -99,7 +99,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
@@ -108,8 +108,8 @@ else
     else
       echo "Skipping test: no traditional french locale is supported"
     fi
-    exit 77
+    Exit 77
   fi
 fi
 
-exit 0
+Exit 0
index 2f431c7ced99eb7d599b987845bfabdab3676586..99e72e8cc454da241ac3dd7b76075cfdc2fce908 100755 (executable)
@@ -25,8 +25,8 @@ print gettext.gettext("%(oldCurrency)s is replaced by %(newCurrency)s.") \
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog2.py || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog2.py || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -44,7 +44,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -69,11 +69,11 @@ msgstr "%(newCurrency)s remplace %(oldCurrency)s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -83,10 +83,10 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
 # Test for presence of python version 2.3 or newer.
 (python -V) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: python not found"; exit 77; }
+  || { echo "Skipping test: python not found"; Exit 77; }
 case `python -c 'import sys; print sys.hexversion >= 0x20300F0'` in
   1 | True) ;;
-  *) echo "Skipping test: python version too old"; exit 77;;
+  *) echo "Skipping test: python version too old"; Exit 77;;
 esac
 
 : ${DIFF=diff}
@@ -105,14 +105,14 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR python prog2.py 2 > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR python prog2.py 2 > prog.out || Exit 1
+  ${DIFF} prog.ok prog.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=$LOCALE_FR_UTF8 python prog2.py 2 > prog.out || exit 1
-    ${DIFF} prog.oku prog.out || exit 1
+    LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 python prog2.py 2 > prog.out || Exit 1
+    ${DIFF} prog.oku prog.out || Exit 1
   fi
   if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
     if test -f /usr/bin/localedef; then
@@ -120,7 +120,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
@@ -129,8 +129,8 @@ else
     else
       echo "Skipping test: no traditional french locale is supported"
     fi
-    exit 77
+    Exit 77
   fi
 fi
 
-exit 0
+Exit 0
index 6758564317985dc136b018ff74c223b3a003fd8f..348aa726ff987406607b1d16fa215c11b84fb2cd 100755 (executable)
@@ -20,8 +20,8 @@ rstconv.InvalidOutputFormat='Invalid output format -'
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --add-location prog.rst || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --add-location prog.rst || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 #: rstconv.help
@@ -54,7 +54,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 # The output of rstconv is slightly different:
 # - ModuleName:ConstName instead of ModuleName.ConstName
@@ -119,8 +119,8 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok1 prog.pot >/dev/null || ${DIFF} prog.ok2 prog.pot || exit 1
+${DIFF} prog.ok1 prog.pot >/dev/null || ${DIFF} prog.ok2 prog.pot || Exit 1
 
 fi
 
-exit 0
+Exit 0
index af417e62993aac8680324d068d05ccfbadf6c2fd..2737f3acc0baaedaaed3c8e0ee24cb6362e6eb9c 100755 (executable)
@@ -26,8 +26,8 @@ $echo "`eval_ngettext \"a piece of cake\" \"\\$n pieces of cake\" $n`"
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.sh || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.sh || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<\EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -41,7 +41,7 @@ msgstr[1] ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -61,11 +61,11 @@ msgstr[1] "$n morceaux de gateau"
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -81,7 +81,7 @@ if test $LOCALE_FR != none; then
   case $? in
     0) ;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
@@ -89,7 +89,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -98,7 +98,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 : ${DIFF=diff}
@@ -115,13 +115,13 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR sh ./prog.sh 2 > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR sh ./prog.sh 2 > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 sh ./prog.sh 2 > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 sh ./prog.sh 2 > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 
-exit 0
+Exit 0
index e21591e258f72019da1b22d504587f11cc0a5ef8..6b3584d5455410837b4c1207f7fe766a007d7802 100755 (executable)
@@ -31,8 +31,8 @@ Main new run!
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.st || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.st || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -50,7 +50,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -75,11 +75,11 @@ msgstr "%2 remplace %1."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -89,10 +89,10 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
 # Test for presence of gst version 2.0.6 or newer.
 (gst --version) >/dev/null 2>/dev/null \
-  || { echo "Skipping test: gst not found"; exit 77; }
+  || { echo "Skipping test: gst not found"; Exit 77; }
 case `gst --version | sed -n -e 1p | sed -e 's/^[^0-9]*//'` in
   0.* | 1.* | 2.0 | 2.0.[0-5] | 2.1 | 2.1.[0-1])
-    echo "Skipping test: gst version too old"; exit 77;;
+    echo "Skipping test: gst version too old"; Exit 77;;
 esac
 
 : ${DIFF=diff}
@@ -118,19 +118,19 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LC_ALL=$LOCALE_FR gst -Q prog.st > prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR gst -Q prog.st > prog.out || Exit 1
   ${DIFF} prog.ok prog.out > /dev/null ||
     ${DIFF} prog.ok2 prog.out > /dev/null ||
       ${DIFF} prog.ok3 prog.out > /dev/null ||
-        { ${DIFF} prog.ok prog.out; exit 1; }
+        { ${DIFF} prog.ok prog.out; Exit 1; }
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gst -Q prog.st > prog.out || exit 1
+  LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 gst -Q prog.st > prog.out || Exit 1
   ${DIFF} prog.oku prog.out > /dev/null ||
     ${DIFF} prog.oku2 prog.out > /dev/null ||
       ${DIFF} prog.oku3 prog.out > /dev/null ||
-        { ${DIFF} prog.oku prog.out; exit 1; }
+        { ${DIFF} prog.oku prog.out; Exit 1; }
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   if test -f /usr/bin/localedef; then
@@ -138,7 +138,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
-exit 0
+Exit 0
index e0130cc421be1e0b817803e2c43ba0325a832859..1d7578834061c02ff45df79beb1e8c0d90dd9ea2 100755 (executable)
@@ -22,8 +22,8 @@ puts [format [::msgcat::mc "%s is replaced by %s."] "FF" "EUR"]
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header -k_ program.tcl || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header -k_ program.tcl || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 #: program.tcl:5
@@ -37,7 +37,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -55,16 +55,16 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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 msgs || mkdir msgs
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --tcl -d msgs -l fr fr.po || exit 1
+${MSGFMT} --tcl -d msgs -l fr fr.po || Exit 1
 
 # Test for presence of tclsh with msgcat extension.
 cat <<\EOF > version.tcl
@@ -73,7 +73,7 @@ puts $tcl_version
 EOF
 (tclsh version.tcl) >/dev/null 2>/dev/null \
   || { echo "Skipping test: tclsh not found or msgcat extension not present"
-       exit 77
+       Exit 77
      }
 
 : ${DIFF=diff}
@@ -90,15 +90,15 @@ EOF
 : ${LOCALE_FR_UTF8=fr_FR.UTF-8}
 if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
-  LANGUAGE= LANG=$LOCALE_FR LC_MESSAGES= LC_CTYPE= LC_ALL= tclsh program.tcl > prog.tmp || exit 1
-  LC_ALL=C tr -d '\r' < prog.tmp > prog.out || exit 1
-  ${DIFF} prog.ok prog.out || exit 1
+  LANGUAGE= LANG=$LOCALE_FR LC_MESSAGES= LC_CTYPE= LC_ALL= tclsh program.tcl > prog.tmp || Exit 1
+  LC_ALL=C tr -d '\r' < prog.tmp > prog.out || Exit 1
+  ${DIFF} prog.ok prog.out || Exit 1
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
-  LANGUAGE= LANG=$LOCALE_FR_UTF8 LC_MESSAGES= LC_CTYPE= LC_ALL= tclsh program.tcl > prog.tmp || exit 1
-  LC_ALL=C tr -d '\r' < prog.tmp > prog.out || exit 1
-  ${DIFF} prog.oku prog.out || exit 1
+  LANGUAGE= LANG=$LOCALE_FR_UTF8 LC_MESSAGES= LC_CTYPE= LC_ALL= tclsh program.tcl > prog.tmp || Exit 1
+  LC_ALL=C tr -d '\r' < prog.tmp > prog.out || Exit 1
+  ${DIFF} prog.oku prog.out || Exit 1
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   if test -f /usr/bin/localedef; then
@@ -106,7 +106,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
-exit 0
+Exit 0
index 3d27631691e8eea82bd22017eac0fab2d74e9aa7..b24de6a676f51d4499d219c4be4bf7228399c970 100755 (executable)
@@ -19,15 +19,15 @@ EOF
 # Test for presence of valac.
 (valac --version) >/dev/null 2>/dev/null
 test $? -le 1 \
-  || { echo "Skipping test: valac not found"; exit 77; }
+  || { echo "Skipping test: valac not found"; Exit 77; }
 
 : ${VALAC=valac}
 ${VALAC} --Xcc=-DGETTEXT_PACKAGE=\"prog\" prog.vala 2>prog.err \
-  || { cat prog.err 1>&2; exit 1; }
+  || { cat prog.err 1>&2; Exit 1; }
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.vala || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.vala || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -39,7 +39,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -55,11 +55,11 @@ msgstr "%2$s remplace %1$s."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
@@ -83,18 +83,18 @@ if test $LOCALE_FR != none; then
   prepare_locale_ fr $LOCALE_FR
   LANGUAGE= LC_ALL=$LOCALE_FR ./prog > prog.out
   case $? in
-    0) ${DIFF} prog.ok prog.out || exit 1;;
+    0) ${DIFF} prog.ok prog.out || Exit 1;;
     77) LOCALE_FR=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 != none; then
   prepare_locale_ fr $LOCALE_FR_UTF8
   LANGUAGE= LC_ALL=$LOCALE_FR_UTF8 ./prog > prog.out
   case $? in
-    0) ${DIFF} prog.oku prog.out || exit 1;;
+    0) ${DIFF} prog.oku prog.out || Exit 1;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
@@ -103,7 +103,7 @@ if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
-exit 0
+Exit 0
index 941d8c26f916cdacaf7e51c0060479d5ee1c11b1..20ac13342556def71e6f1547296613ea4cb6e193 100755 (executable)
@@ -14,8 +14,8 @@ cat <<\EOF > prog.ycp
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o prog.tmp --omit-header --no-location prog.ycp || exit 1
-LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || exit 1
+${XGETTEXT} -o prog.tmp --omit-header --no-location prog.ycp || Exit 1
+LC_ALL=C tr -d '\r' < prog.tmp > prog.pot || Exit 1
 
 cat <<EOF > prog.ok
 msgid "'Your command, please?', asked the waiter."
@@ -33,7 +33,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} prog.ok prog.pot || exit 1
+${DIFF} prog.ok prog.pot || Exit 1
 
 cat <<\EOF > fr.po
 msgid ""
@@ -58,10 +58,10 @@ msgstr "%2 remplace %1."
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o fr.po.tmp fr.po prog.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 prog.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
 
-exit 0
+Exit 0
index 72aa4f404bb63fa35e5636535982f4757de63e52..1e483cafa4e513232f2eeaf420688716aec1ec39 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --translated -o ma-test1.tmp ma-test1.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test1.tmp > ma-test1.out || exit 1
+${MSGATTRIB} --translated -o ma-test1.tmp ma-test1.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test1.tmp > ma-test1.out || Exit 1
 
 cat <<\EOF > ma-test1.ok
 # HEADER.
index ba529db12bee7e924f3571428b02104b22265fd6..8b30d2a3ff26c488d275237d18bf82571a6d38da 100755 (executable)
@@ -55,8 +55,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --set-obsolete -o ma-test10.tmp ma-test10.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test10.tmp > ma-test10.out || exit 1
+${MSGATTRIB} --set-obsolete -o ma-test10.tmp ma-test10.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test10.tmp > ma-test10.out || Exit 1
 
 cat <<\EOF > ma-test10.ok
 # HEADER.
index d0362968beed7d8f2edcb83df04fac793c5751fc..86fdc787b16d92b1895ca93403a99d0bec73a6d9 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --clear-obsolete -o ma-test11.tmp ma-test11.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test11.tmp > ma-test11.out || exit 1
+${MSGATTRIB} --clear-obsolete -o ma-test11.tmp ma-test11.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test11.tmp > ma-test11.out || Exit 1
 
 cat <<\EOF > ma-test11.ok
 # HEADER.
index 9587f1d5deccfe8e83d594f463e07e62c2f0be0d..a05a8c44e264e8fe386032364145e7bc328cc653 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --fuzzy -o ma-test12.tmp ma-test12.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test12.tmp > ma-test12.out || exit 1
+${MSGATTRIB} --fuzzy -o ma-test12.tmp ma-test12.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test12.tmp > ma-test12.out || Exit 1
 
 cat <<\EOF > ma-test12.ok
 # HEADER.
index f352983e1aa7680f25620371834ec95938e88943..ec1a71b7ba7647f0f99730931977024bf48da481 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --obsolete -o ma-test13.tmp ma-test13.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test13.tmp > ma-test13.out || exit 1
+${MSGATTRIB} --obsolete -o ma-test13.tmp ma-test13.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test13.tmp > ma-test13.out || Exit 1
 
 cat <<\EOF > ma-test13.ok
 # HEADER.
index 7c811c6a1a20f6454cba4a0330b04079a6592063..08069de4964704d9c928dc3652f2a397413dbb32 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --obsolete --no-fuzzy -o ma-test14.tmp ma-test14.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test14.tmp > ma-test14.out || exit 1
+${MSGATTRIB} --obsolete --no-fuzzy -o ma-test14.tmp ma-test14.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test14.tmp > ma-test14.out || Exit 1
 
 cat <<\EOF > ma-test14.ok
 # HEADER.
index d32e534c8ffe4a40142dbfb73016f144ab9cb945..fc058b52038ee8150d8d746af6fceb8659ff9664 100755 (executable)
@@ -49,8 +49,8 @@ msgstr "photocopieur"
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --clear-fuzzy -o ma-test15.tmp ma-test15.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test15.tmp > ma-test15.out || exit 1
+${MSGATTRIB} --clear-fuzzy -o ma-test15.tmp ma-test15.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test15.tmp > ma-test15.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} ma-test15.po ma-test15.out
index 72fefd1f0afc3c46ec33fad7f1ba654a394642e2..b1df38d57a3710d3fc4eed14f06c1030e71c1f3c 100755 (executable)
@@ -42,8 +42,8 @@ msgstr "Argumente fehlen."
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --fuzzy -o ma-test16.tmp ma-test16.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test16.tmp > ma-test16.out || exit 1
+${MSGATTRIB} --fuzzy -o ma-test16.tmp ma-test16.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test16.tmp > ma-test16.out || Exit 1
 
 cat <<\EOF > ma-test16.ok
 msgid ""
index fcfe9159bb41d81fdf09b4c36919b6a95f12ec3e..e5ba4293c6a740a6eb825ca177bf95de995b4bf6 100755 (executable)
@@ -42,8 +42,8 @@ msgstr "Argumente fehlen."
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --clear-previous -o ma-test17.tmp ma-test17.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test17.tmp > ma-test17.out || exit 1
+${MSGATTRIB} --clear-previous -o ma-test17.tmp ma-test17.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test17.tmp > ma-test17.out || Exit 1
 
 cat <<\EOF > ma-test17.ok
 msgid ""
index 68be0f2f5ee7ae037ceae9b3555f8b762a8a581c..0c04f6f2ee5f4e6bd85a103f3387ae76da01ca81 100755 (executable)
@@ -55,8 +55,8 @@ EOF
 
 : ${MSGATTRIB=msgattrib}
 ${MSGATTRIB} --translated --add-location=file -o ma-test18.tmp ma-test18.po \
-    || exit 1
-LC_ALL=C tr -d '\r' < ma-test18.tmp > ma-test18.out || exit 1
+    || Exit 1
+LC_ALL=C tr -d '\r' < ma-test18.tmp > ma-test18.out || Exit 1
 
 cat <<\EOF > ma-test18.ok
 # HEADER.
index f517a27ff10b288f97b5686712dc0e99d0ff4d45..3519b7a3954d51ce54a9c5f45f710e6448ef01f3 100755 (executable)
@@ -42,8 +42,8 @@ EOF
 
 : ${MSGATTRIB=msgattrib}
 ${MSGATTRIB} --clear-fuzzy --empty -o ma-test19.tmp ma-test19.po \
-    || exit 1
-LC_ALL=C tr -d '\r' < ma-test19.tmp > ma-test19.out || exit 1
+    || Exit 1
+LC_ALL=C tr -d '\r' < ma-test19.tmp > ma-test19.out || Exit 1
 
 cat <<\EOF > ma-test19.ok
 # HEADER.
index 0ee4f5a390fb65f0f9f66c1594ad00f484a37e7e..c72e783fe083f5e915d8c9565707b6d20652daa5 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --untranslated -o ma-test2.tmp ma-test2.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test2.tmp > ma-test2.out || exit 1
+${MSGATTRIB} --untranslated -o ma-test2.tmp ma-test2.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test2.tmp > ma-test2.out || Exit 1
 
 cat <<\EOF > ma-test2.ok
 # HEADER.
index 784da59d64f3766f6c740dd95d3bc41801c8ef5e..9636349a59d2f7707964a7127cd7cceda38519df 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --no-fuzzy -o ma-test3.tmp ma-test3.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test3.tmp > ma-test3.out || exit 1
+${MSGATTRIB} --no-fuzzy -o ma-test3.tmp ma-test3.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test3.tmp > ma-test3.out || Exit 1
 
 cat <<\EOF > ma-test3.ok
 # HEADER.
index 913d14880aa58faf6b54a869d691b856100a27c3..12707773ae99bb3958b384cf60193b6db566dddb 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --only-fuzzy -o ma-test4.tmp ma-test4.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test4.tmp > ma-test4.out || exit 1
+${MSGATTRIB} --only-fuzzy -o ma-test4.tmp ma-test4.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test4.tmp > ma-test4.out || Exit 1
 
 cat <<\EOF > ma-test4.ok
 # HEADER.
index 56ef8ffdef612ec82562df597ad245803845a1f4..72d9de1e7c69ea1bbf3fba89282172d64e2519e6 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --no-obsolete -o ma-test5.tmp ma-test5.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test5.tmp > ma-test5.out || exit 1
+${MSGATTRIB} --no-obsolete -o ma-test5.tmp ma-test5.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test5.tmp > ma-test5.out || Exit 1
 
 cat <<\EOF > ma-test5.ok
 # HEADER.
index 5a9965d7ed499481bae10a69062acb5701f2e662..4946045a1cbfb9dc9131de3df3b261b9341a2914 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --only-obsolete -o ma-test6.tmp ma-test6.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test6.tmp > ma-test6.out || exit 1
+${MSGATTRIB} --only-obsolete -o ma-test6.tmp ma-test6.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test6.tmp > ma-test6.out || Exit 1
 
 cat <<\EOF > ma-test6.ok
 # HEADER.
index 0584c9ec16a2a7567b623b3cab9b4cfd2b74287f..40db1c9e4c96d890f394a9cb17d5f59b17a5933e 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --translated --only-obsolete -o ma-test7.tmp ma-test7.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test7.tmp > ma-test7.out || exit 1
+${MSGATTRIB} --translated --only-obsolete -o ma-test7.tmp ma-test7.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test7.tmp > ma-test7.out || Exit 1
 
 cat <<\EOF > ma-test7.ok
 # HEADER.
index c187dd654cd6a23b1205420347c2e41d8adf1c8a..9a7f13f3900aa63f8bc8e0c09923c7d81be29424 100755 (executable)
@@ -55,8 +55,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --set-fuzzy -o ma-test8.tmp ma-test8.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test8.tmp > ma-test8.out || exit 1
+${MSGATTRIB} --set-fuzzy -o ma-test8.tmp ma-test8.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test8.tmp > ma-test8.out || Exit 1
 
 cat <<\EOF > ma-test8.ok
 # HEADER.
index 826965298a596a1638d74da305d3c357a3b666af..e1b3368283323d23c5a1b9114f9f7dca8c58fee3 100755 (executable)
@@ -54,8 +54,8 @@ msgstr ""
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --clear-fuzzy -o ma-test9.tmp ma-test9.po || exit 1
-LC_ALL=C tr -d '\r' < ma-test9.tmp > ma-test9.out || exit 1
+${MSGATTRIB} --clear-fuzzy -o ma-test9.tmp ma-test9.po || Exit 1
+LC_ALL=C tr -d '\r' < ma-test9.tmp > ma-test9.out || Exit 1
 
 cat <<\EOF > ma-test9.ok
 # HEADER.
index 4a5c5231ef8e3fd4ce038fd45d1c3d19884334c1..2c25c1f181fc154edc6ba9942c0f2872e99657a2 100755 (executable)
@@ -30,8 +30,8 @@ with\ wives\ who\ never\ understand=und ihre Frauen verstehen sie nicht
 EOF
 
 : ${MSGATTRIB=msgattrib}
-${MSGATTRIB} --translated --properties-input --properties-output -o ma-s-1.tmp ma-s-1.properties || exit 1
-LC_ALL=C tr -d '\r' < ma-s-1.tmp > ma-s-1.out || exit 1
+${MSGATTRIB} --translated --properties-input --properties-output -o ma-s-1.tmp ma-s-1.properties || Exit 1
+LC_ALL=C tr -d '\r' < ma-s-1.tmp > ma-s-1.out || Exit 1
 
 cat <<\EOF > ma-s-1.ok
 # HEADER.
index 189c95b999a1ea8c3111b6b5e559aacdd537a26e..a554e8a1d2db9598924f7077bdf924909cd8e3aa 100755 (executable)
@@ -39,8 +39,8 @@ msgstr "eins"
 EOF
 
 : ${MSGCAT=msgcat}
-${MSGCAT} -o mcat-test1.tmp mcat-test1.in1 mcat-test1.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test1.tmp > mcat-test1.out || exit 1
+${MSGCAT} -o mcat-test1.tmp mcat-test1.in1 mcat-test1.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test1.tmp > mcat-test1.out || Exit 1
 
 cat << EOF > mcat-test1.ok
 msgid ""
index 624d8c337b506ee64dd881e616b98b8fb95af733..a84e001ec383ed996f5922e766fb215f225d5fe0 100755 (executable)
@@ -60,8 +60,8 @@ rm -f mcat-test10.tmp
 
 : ${MSGCAT=msgcat}
 ${MSGCAT} --more-than=0 -o mcat-test10.tmp \
-    mcat-test10.in1 mcat-test10.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test10.tmp > mcat-test10.out || exit 1
+    mcat-test10.in1 mcat-test10.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test10.tmp > mcat-test10.out || Exit 1
 
 cat <<\EOF > mcat-test10.ok
 # #-#-#-#-#  mcat-test10.in1 (xyz)  #-#-#-#-#
index 24854b6937766e2e0591fc3a8f4266f2653999ce..0f6a05a2ccd7a55d1f98a121a7fb16f74939f997 100755 (executable)
@@ -31,8 +31,8 @@ msgstr "immer"
 EOF
 
 : ${MSGCAT=msgcat}
-${MSGCAT} -o mcat-test11.tmp mcat-test11.in || exit 1
-LC_ALL=C tr -d '\r' < mcat-test11.tmp > mcat-test11.out || exit 1
+${MSGCAT} -o mcat-test11.tmp mcat-test11.in || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test11.tmp > mcat-test11.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mcat-test11.in mcat-test11.out
index 31a152876d3ce9f7d36f6796266feeb28feee7b2..41182cf26c9c7a0fe31e162ea2b3931ba5ea383b 100755 (executable)
@@ -44,6 +44,6 @@ EOF
 rm -f mcat-test12.out
 : ${MSGCAT=msgcat}
 ${MSGCAT} -o mcat-test12.out mcat-test12.in1 mcat-test12.in2 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
-exit 0
+Exit 0
index 9f972eb0e619ebedf235f35febf138cd659565f7..44d76588e900ab3fcb1cc1051d3235964465417e 100755 (executable)
@@ -67,8 +67,8 @@ EOF
 
 rm -f mcat-test13.tmp
 : ${MSGCAT=msgcat}
-${MSGCAT} -o mcat-test13.tmp mcat-test13.in1 mcat-test13.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test13.tmp > mcat-test13.out || exit 1
+${MSGCAT} -o mcat-test13.tmp mcat-test13.in1 mcat-test13.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test13.tmp > mcat-test13.out || Exit 1
 
 cat <<\EOF > mcat-test13.ok
 msgid ""
index 475e9e6595af9ac8459cd8f46662c63e63f4ec5c..21a544b02504412e1d57a07ece9dd7d9c5c764d1 100755 (executable)
@@ -68,6 +68,6 @@ EOF
 rm -f mcat-test14.out
 : ${MSGCAT=msgcat}
 ${MSGCAT} -o mcat-test14.out mcat-test14.in1 mcat-test14.in2 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
-exit 0
+Exit 0
index 046502c5eda36357489e3934304fc230ccfcebdb..7731e5ba616199bb973acd2b59e6f8ea367fcf0c 100755 (executable)
@@ -43,8 +43,8 @@ EOF
 
 rm -f mcat-test15.tmp1
 : ${MSGCAT=msgcat}
-${MSGCAT} -o mcat-test15.tmp1 mcat-test15.in || exit 1
-LC_ALL=C tr -d '\r' < mcat-test15.tmp1 > mcat-test15.out1 || exit 1
+${MSGCAT} -o mcat-test15.tmp1 mcat-test15.in || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test15.tmp1 > mcat-test15.out1 || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mcat-test15.in mcat-test15.out1
@@ -52,8 +52,8 @@ result=$?
 
 rm -f mcat-test15.tmp2
 : ${MSGCAT=msgcat}
-${MSGCAT} --indent -o mcat-test15.tmp2 mcat-test15.in || exit 1
-LC_ALL=C tr -d '\r' < mcat-test15.tmp2 > mcat-test15.out2 || exit 1
+${MSGCAT} --indent -o mcat-test15.tmp2 mcat-test15.in || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test15.tmp2 > mcat-test15.out2 || Exit 1
 
 cat <<\EOF > mcat-test15.ok
 msgid   ""
index 7a8a4793fb82fe66ca1707f61ec8aa104849bae3..424be016420a3ef57af3a244b8b2120e1a82e69e 100755 (executable)
@@ -43,8 +43,8 @@ EOF
 
 rm -f mcat-test16.tmp
 : ${MSGCAT=msgcat}
-${MSGCAT} -o mcat-test16.tmp mcat-test16.in1 mcat-test16.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test16.tmp > mcat-test16.out || exit 1
+${MSGCAT} -o mcat-test16.tmp mcat-test16.in1 mcat-test16.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test16.tmp > mcat-test16.out || Exit 1
 
 cat <<\EOF > mcat-test16.ok
 msgid ""
index 40bc785f0a6981e266bfb89dbc71a24c52988d4a..8fecc4039759487390b2a577355bfa265272434d 100755 (executable)
@@ -20,8 +20,8 @@ EOF
 
 rm -f mcat-test17.tmp
 : ${MSGCAT=msgcat}
-${MSGCAT} -o mcat-test17.tmp --width=80 mcat-test17.in || exit 1
-LC_ALL=C tr -d '\r' < mcat-test17.tmp > mcat-test17.out || exit 1
+${MSGCAT} -o mcat-test17.tmp --width=80 mcat-test17.in || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test17.tmp > mcat-test17.out || Exit 1
 
 cat <<\EOF > mcat-test17.ok
 msgid ""
index afe9d578931a6817cdfa28964cd0ab2f47f2379b..03170f6bf14c2470e3ca0297d81d749a9afcf963 100755 (executable)
@@ -55,8 +55,8 @@ EOF
 
 rm -f mcat-test18.tmp
 : ${MSGCAT=msgcat}
-${MSGCAT} -o mcat-test18.tmp mcat-test18.in1 mcat-test18.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test18.tmp > mcat-test18.out || exit 1
+${MSGCAT} -o mcat-test18.tmp mcat-test18.in1 mcat-test18.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test18.tmp > mcat-test18.out || Exit 1
 
 cat <<\EOF > mcat-test18.ok
 #, c-format
index 4dd2a403bc8ca64104ca8ea185c70a394d7d1f48..7068a8332f28a94b7407403186f670d7f655e33b 100755 (executable)
@@ -39,8 +39,8 @@ EOF
 
 : ${MSGCAT=msgcat}
 ${MSGCAT} --add-location=file \
-          -o mcat-test19.tmp mcat-test19.in1 mcat-test19.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test19.tmp > mcat-test19.out || exit 1
+          -o mcat-test19.tmp mcat-test19.in1 mcat-test19.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test19.tmp > mcat-test19.out || Exit 1
 
 cat << EOF > mcat-test19.ok
 msgid ""
index 11439f9e578550e0033703ddc550e03c97184559..f4caa61834553fa23444fdc6c2260c5e0d8f4ffe 100755 (executable)
@@ -58,8 +58,8 @@ ${MSGCAT} --more-than=0 -o mcat-test2.tmp \
     mcat-test2.in1 mcat-test2.in2 >mcat-test2.err 2>&1
 result=$?
 cat mcat-test2.err | grep -v 'warning: .* encodings' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mcat-test2.tmp > mcat-test2.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mcat-test2.tmp > mcat-test2.out || Exit 1
 
 cat << \EOF > mcat-test2.ok
 # German message file for xyz.
index 2960fb6cd52deb9403c9f30a073d81d4743880da..8685f6580d3ffb3b91d7dc4c4024814d06310ab2 100755 (executable)
@@ -30,8 +30,8 @@ msgstr "4"
 EOF
 
 : ${MSGCAT=msgcat}
-${MSGCAT} --sort-by-file -o mcat-test20.tmp mcat-test20.in || exit 1
-LC_ALL=C tr -d '\r' < mcat-test20.tmp > mcat-test20.out || exit 1
+${MSGCAT} --sort-by-file -o mcat-test20.tmp mcat-test20.in || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test20.tmp > mcat-test20.out || Exit 1
 
 cat << EOF > mcat-test20.ok
 #: clients/inst_language.ycp:103
index 990b612f859bfc10c2108ffeb25b5d5d30477157..bf757c415a7718657cef6716219af14361d67416 100755 (executable)
@@ -59,8 +59,8 @@ ${MSGCAT} --use-first --more-than=0 -o mcat-test3.tmp \
     mcat-test3.in1 mcat-test3.in2 >mcat-test3.err 2>&1
 result=$?
 cat mcat-test3.err | grep -v 'warning: .* encodings' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mcat-test3.tmp > mcat-test3.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mcat-test3.tmp > mcat-test3.out || Exit 1
 
 cat << \EOF > mcat-test3.ok
 # German message file for xyz.
index b593fd40f702fbde279b8e19da20a6ad154e9ed1..5e9a3bc65dc33085d8a028a8166b2d335955ff45 100755 (executable)
@@ -59,8 +59,8 @@ ${MSGCAT} --use-first --more-than=0 -o mcat-test4.tmp \
     mcat-test4.in1 mcat-test4.in2 >mcat-test4.err 2>&1
 result=$?
 cat mcat-test4.err | grep -v 'warning: .* encodings' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mcat-test4.tmp > mcat-test4.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mcat-test4.tmp > mcat-test4.out || Exit 1
 
 cat << \EOF > mcat-test4.ok
 # German message file for xyz.
index 8cdde507f6e11832f23c01d054ec8008d2596122..ced04e266bb76009c77478ffe34d8855cc8ee8e0 100755 (executable)
@@ -56,8 +56,8 @@ rm -f mcat-test5.tmp
 
 : ${MSGCAT=msgcat}
 ${MSGCAT} --use-first --more-than=0 -o mcat-test5.tmp \
-    mcat-test5.in1 mcat-test5.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test5.tmp > mcat-test5.out || exit 1
+    mcat-test5.in1 mcat-test5.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test5.tmp > mcat-test5.out || Exit 1
 
 cat << \EOF > mcat-test5.ok
 # German message file for xyz.
index dbb2cff6b5bb3517bd76cba899f5697204001bc7..969c88d1d48c81c4e48c772cb06e6f17a628be8b 100755 (executable)
@@ -56,8 +56,8 @@ rm -f mcat-test6.tmp
 
 : ${MSGCAT=msgcat}
 ${MSGCAT} --more-than=0 -o mcat-test6.tmp \
-    mcat-test6.in1 mcat-test6.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test6.tmp > mcat-test6.out || exit 1
+    mcat-test6.in1 mcat-test6.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test6.tmp > mcat-test6.out || Exit 1
 
 cat << \EOF > mcat-test6.ok
 # German message file for xyz.
index 9a11f275d6954fb758c221b19b78a25a4bb27fd2..93890e3fdcd453e3f775641e91498e31a4b75a9b 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 rm -f mcat-test7.tmp
 : ${MSGCAT=msgcat}
-${MSGCAT} --sort-output -o mcat-test7.tmp mcat-test7.in1 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test7.tmp > mcat-test7.out || exit 1
+${MSGCAT} --sort-output -o mcat-test7.tmp mcat-test7.in1 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test7.tmp > mcat-test7.out || Exit 1
 
 cat << EOF > mcat-test7.ok
 #: clients/inst_language.ycp:108
index f757138f68313309b8d464c217b28337f20941b9..d8f076510366ec9911ec5bfbea9d6f16673be505 100755 (executable)
@@ -57,8 +57,8 @@ rm -f mcat-test8.tmp
 
 : ${MSGCAT=msgcat}
 ${MSGCAT} --more-than=0 -o mcat-test8.tmp \
-    mcat-test8.in1 mcat-test8.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test8.tmp > mcat-test8.out || exit 1
+    mcat-test8.in1 mcat-test8.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test8.tmp > mcat-test8.out || Exit 1
 
 cat <<\EOF > mcat-test8.ok
 # #-#-#-#-#  mcat-test8.in1 (xyz)  #-#-#-#-#
index 54f6cf1e76cabf4545066a66b344b79cff13c76c..558e623b4f5434368f15380c7e120217dac56bfc 100755 (executable)
@@ -56,8 +56,8 @@ rm -f mcat-test9.tmp
 
 : ${MSGCAT=msgcat}
 ${MSGCAT} --more-than=0 -o mcat-test9.tmp \
-    mcat-test9.in1 mcat-test9.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-test9.tmp > mcat-test9.out || exit 1
+    mcat-test9.in1 mcat-test9.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-test9.tmp > mcat-test9.out || Exit 1
 
 cat <<\EOF > mcat-test9.ok
 # German message file for xyz.
index 1c53524e1616d374a1572d0d5746aec85134a0ab..5d2263ae8762c1235fcff4f2b7a54ebf483ffaa8 100755 (executable)
@@ -19,8 +19,8 @@ rm -f mcat-p-1.tmp
 
 : ${MSGCAT=msgcat}
 ${MSGCAT} --use-first --more-than=0 --properties-input --properties-output \
-    -o mcat-p-1.tmp mcat-p-1.in1 mcat-p-1.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcat-p-1.tmp > mcat-p-1.out || exit 1
+    -o mcat-p-1.tmp mcat-p-1.in1 mcat-p-1.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcat-p-1.tmp > mcat-p-1.out || Exit 1
 
 cat << \EOF > mcat-p-1.ok
 #. Help text (HTML-like) START
index 3c57deac32a716e75741ce1092c877afea487440..badc6f3367b97382fbda4af7003b9565d90d1a63 100755 (executable)
@@ -10,7 +10,7 @@ exactly\ 2\ input\ files\ required=\u6b64\u529f\u80fd\u9700\u8981\u6070\u597d\u6
 EOF
 
 : ${MSGCAT=msgcat}
-${MSGCAT} --properties-input --properties-output -t Big5 -o mcat-p-2.out mcat-p-2.properties || exit 1
+${MSGCAT} --properties-input --properties-output -t Big5 -o mcat-p-2.out mcat-p-2.properties || Exit 1
 
 : ${DIFF=diff}
 # Redirect stdout, so as not to fill the user's screen with non-ASCII bytes.
index 2ab9295d9525df0adfd3e61a1c21d733e91be38d..355b836a271ac34a52eeb061490f19d970b139e0 100755 (executable)
@@ -30,8 +30,8 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGCAT} --stringtable-input -o mcat-s-1.tmp mcat-s-1.in >mcat-s-1.err 2>&1
 result=$?
 cat mcat-s-1.err | grep -v ': internationalized messages'
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mcat-s-1.tmp > mcat-s-1.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mcat-s-1.tmp > mcat-s-1.out || Exit 1
 
 cat << \EOF > mcat-s-1.ok
 # This is an example of a string table file. Everything inside a comment
index 1f80683a30416183e30a29dcf69c3b2f95aba434..dd077f81863af113e8583d105f7d9b56cca4de70 100755 (executable)
@@ -86,17 +86,17 @@ EOF
 # Verify that with fuzzies, all msgids of the POT file are covered.
 : ${MSGCMP=msgcmp}
 LC_MESSAGES=C LC_ALL= \
-${MSGCMP} --use-fuzzy mc-test4.po1 mc-test4.pot > mc-test4.out11 2>&1 || exit 1
+${MSGCMP} --use-fuzzy mc-test4.po1 mc-test4.pot > mc-test4.out11 2>&1 || Exit 1
 if grep -v 'warning:' mc-test4.out11 > /dev/null; then
-  exit 1;
+  Exit 1;
 fi
 
 # Verify that without fuzzies, not all msgids of the POT file are covered.
 : ${MSGCMP=msgcmp}
 LC_MESSAGES=C LC_ALL= \
 ${MSGCMP} mc-test4.po1 mc-test4.pot > mc-test4.out12 2>&1
-test $? = 1 || { exit 1; }
-grep -v 'warning:' mc-test4.out12 > /dev/null || exit 1
+test $? = 1 || { Exit 1; }
+grep -v 'warning:' mc-test4.out12 > /dev/null || Exit 1
 
 cat <<\EOF > mc-test4.po2
 msgid ""
@@ -144,9 +144,9 @@ EOF
 # messages.
 : ${MSGCMP=msgcmp}
 LC_MESSAGES=C LC_ALL= \
-${MSGCMP} mc-test4.po2 mc-test4.pot > mc-test4.out2 2>&1 || exit 1
+${MSGCMP} mc-test4.po2 mc-test4.pot > mc-test4.out2 2>&1 || Exit 1
 if grep -v 'warning:' mc-test4.out2 > /dev/null; then
-  exit 1;
+  Exit 1;
 fi
 
 exit $result
index 52b8e0a47887110268c2f432f28a34087a4f5cb2..67ab936881f48ee01bf17b6f03c83e2b2bb46c8d 100755 (executable)
@@ -16,8 +16,8 @@ msgstr "2x"
 EOF
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 -o mcomm-test1.tmp mcomm-test1.in1 mcomm-test1.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test1.tmp > mcomm-test1.out || exit 1
+${MSGCOMM} --more-than=0 -o mcomm-test1.tmp mcomm-test1.in1 mcomm-test1.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test1.tmp > mcomm-test1.out || Exit 1
 
 cat << EOF > mcomm-test1.ok
 #: first.c:123
index 71402f4d4124ba83a3416078d024116fcb0d4704..7dca8c0e1c056621d5b76d1886611147d7a401af 100755 (executable)
@@ -39,8 +39,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=1 --no-location --omit-header -o mcomm-test10.tmp \
-    mcomm-test10.in1 mcomm-test10.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test10.tmp > mcomm-test10.out || exit 1
+    mcomm-test10.in1 mcomm-test10.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test10.tmp > mcomm-test10.out || Exit 1
 
 cat << EOF > mcomm-test10.ok
 msgid "1"
index 7994cec516f32e1dfa264db16b10073eb4ac8f96..cecee3f3cb10e1cb84d4895b63e8925406acd028 100755 (executable)
@@ -43,8 +43,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=1 --no-location --omit-header -o mcomm-test11.tmp \
-    mcomm-test11.in1 mcomm-test11.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test11.tmp > mcomm-test11.out || exit 1
+    mcomm-test11.in1 mcomm-test11.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test11.tmp > mcomm-test11.out || Exit 1
 
 cat << EOF > mcomm-test11.ok
 msgid "1"
index 3f494f3597b0c1b3185df4374d87c740a1c142e9..8c7ff781ff5d34e3a4d73d944c689f08e1d2636b 100755 (executable)
@@ -65,8 +65,8 @@ EOF
 # --unique is shorthand for --less-than=2; do we've to test both
 # switches?  Are 'for' loops allowed? -ke-
 ${MSGCOMM} --less-than=2 --no-location --force-po -o mcomm-test12.tmp \
-    mcomm-test12.in1 mcomm-test12.in2 mcomm-test12.in3 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test12.tmp > mcomm-test12.out || exit 1
+    mcomm-test12.in1 mcomm-test12.in2 mcomm-test12.in3 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test12.tmp > mcomm-test12.out || Exit 1
 
 cat << EOF > mcomm-test12.ok
 msgid ""
index 04eebb449f2f1b4c35f1c1f2a2a4030b1c168690..9f21eab811cf1145ec80947f1577a905be6b5387 100755 (executable)
@@ -68,8 +68,8 @@ EOF
 # --unique is shorthand for --less-than=2; do we've to test both
 # switches?  Are 'for' loops allowed? -ke-
 ${MSGCOMM} --less-than=2 --no-location --force-po -o mcomm-test13.tmp \
-    mcomm-test13.in1 mcomm-test13.in2 mcomm-test13.in3 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test13.tmp > mcomm-test13.out || exit 1
+    mcomm-test13.in1 mcomm-test13.in2 mcomm-test13.in3 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test13.tmp > mcomm-test13.out || Exit 1
 
 cat << EOF > mcomm-test13.ok
 msgid ""
index 6741a5af2f39f7a36bf1177531695b6c117a2c0c..3e0401b2832d8364e1e53acb38f863ef217a0c44 100755 (executable)
@@ -63,8 +63,8 @@ EOF
 # --unique is shorthand for --less-than=2; do we've to test both
 # switches?  Are 'for' loops allowed? -ke-
 ${MSGCOMM} --less-than=2 --no-location --force-po -o mcomm-test14.tmp \
-    mcomm-test14.in1 mcomm-test14.in2 mcomm-test14.in3 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test14.tmp > mcomm-test14.out || exit 1
+    mcomm-test14.in1 mcomm-test14.in2 mcomm-test14.in3 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test14.tmp > mcomm-test14.out || Exit 1
 
 cat << EOF > mcomm-test14.ok
 msgid ""
index 291e349f71dfb510058e617450ed25f48179244e..043cf13dff31e8557825ac20359b9878df7d9716 100755 (executable)
@@ -66,7 +66,7 @@ rm -f mcomm-test15.out
 # --unique is shorthand for --less-than=2; do we've to test both
 # switches?  Are 'for' loops allowed? -ke-
 ${MSGCOMM} --less-than=2 --no-location -o mcomm-test15.out \
-    mcomm-test15.in1 mcomm-test15.in2 mcomm-test15.in3 || exit 1
+    mcomm-test15.in1 mcomm-test15.in2 mcomm-test15.in3 || Exit 1
 
 # we've no unique msg; thus no PO should be created.
 if test -f mcomm-test15.out; then
index f0a3b13f342164600fada65857579f2b139c6131..6b7f6f3b3fc6df9134e7a0a04a30e8ed39bcfe18 100755 (executable)
@@ -58,8 +58,8 @@ ${MSGCOMM} --more-than=0 -o mcomm-test16.tmp \
     mcomm-test16.in1 mcomm-test16.in2 >mcomm-test16.err 2>&1
 result=$?
 cat mcomm-test16.err | grep -v 'warning: .* encodings' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mcomm-test16.tmp > mcomm-test16.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mcomm-test16.tmp > mcomm-test16.out || Exit 1
 
 cat << \EOF > mcomm-test16.ok
 # German message file for xyz.
index 1867fe9f6d31b258cd61bcf4355bc25630d41a06..2ec667522151bc3ec7ec5623393689a4d8f0e335 100755 (executable)
@@ -66,8 +66,8 @@ EOF
 
 ${MSGCOMM} -u \
            -o mcomm-test17.tmp \
-           mcomm-test17.in1 mcomm-test17.in2 mcomm-test17.in3 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test17.tmp > mcomm-test17.out || exit 1
+           mcomm-test17.in1 mcomm-test17.in2 mcomm-test17.in3 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test17.tmp > mcomm-test17.out || Exit 1
 
 cat << \EOF > mcomm-test17.ok
 msgid ""
index d57af85b6d743aab0bfc25c3e4612fe51f353135..2dab53e54708f1a579d16e2b3fdc1d94c6f7dc8a 100755 (executable)
@@ -18,8 +18,8 @@ msgstr "1x"
 EOF
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 -o mcomm-test18.tmp mcomm-test18.in1 mcomm-test18.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test18.tmp > mcomm-test18.out || exit 1
+${MSGCOMM} --more-than=0 -o mcomm-test18.tmp mcomm-test18.in1 mcomm-test18.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test18.tmp > mcomm-test18.out || Exit 1
 
 cat << EOF > mcomm-test18.ok
 # Sure.
index 2587bc44000e3f39095dd9988d7a00e397a196c6..0b693ad805a9f3fbbfdcc997bbe27589ae5463a8 100755 (executable)
@@ -20,8 +20,8 @@ msgstr "1x"
 EOF
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 -o mcomm-test19.tmp mcomm-test19.in1 mcomm-test19.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test19.tmp > mcomm-test19.out || exit 1
+${MSGCOMM} --more-than=0 -o mcomm-test19.tmp mcomm-test19.in1 mcomm-test19.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test19.tmp > mcomm-test19.out || Exit 1
 
 cat << EOF > mcomm-test19.ok
 # Not sure.
index ae26bd081fc36397cec78a17c2758fc7e1825e44..f93d58de13a5204a6a05a0c57a8f3b2294ecdb68 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=0 --no-location -o mcomm-test2.tmp \
-    mcomm-test2.in1 mcomm-test2.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test2.tmp > mcomm-test2.out || exit 1
+    mcomm-test2.in1 mcomm-test2.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test2.tmp > mcomm-test2.out || Exit 1
 
 cat << EOF > mcomm-test2.ok
 msgid "1"
index 69b2ff14e7d4329a84f3664a917696890728257e..3beb31ca948dd297ca17e8eb9e31a018aa28fbe2 100755 (executable)
@@ -21,8 +21,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=0 -o mcomm-test20.tmp \
-    mcomm-test20.in1 mcomm-test20.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test20.tmp > mcomm-test20.out || exit 1
+    mcomm-test20.in1 mcomm-test20.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test20.tmp > mcomm-test20.out || Exit 1
 
 cat << EOF > mcomm-test20.ok
 # Sure.
index 9d3adc2538d23efb9150b4ab54e3a49091d5355a..fa32600c0f3df0c90d339f4cf5807eb8e7b76cbc 100755 (executable)
@@ -21,8 +21,8 @@ msgstr "1x"
 EOF
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 -o mcomm-test21.tmp mcomm-test21.in1 mcomm-test21.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test21.tmp > mcomm-test21.out || exit 1
+${MSGCOMM} --more-than=0 -o mcomm-test21.tmp mcomm-test21.in1 mcomm-test21.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test21.tmp > mcomm-test21.out || Exit 1
 
 cat << EOF > mcomm-test21.ok
 # Not sure.
index 6b07432eabfeff8eac8df54d6d31a25aa8e1c967..72f380769f4e61063df324e7ba633ac8f1f5a121 100755 (executable)
@@ -64,8 +64,8 @@ rm -f mcomm-test22.tmp
 : ${MSGCOMM=msgcomm}
 
 ${MSGCOMM} --less-than=2 -o mcomm-test22.tmp \
-    mcomm-test22.in1 mcomm-test22.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test22.tmp > mcomm-test22.out || exit 1
+    mcomm-test22.in1 mcomm-test22.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test22.tmp > mcomm-test22.out || Exit 1
 
 cat << \EOF > mcomm-test22.ok
 # German translations for GNU gettext package.
index c9d78466fc8195f15e9b317e5cbe13b75e1a8b24..873ba6c026934d5b844aacd91075fa8dc5f50501 100755 (executable)
@@ -7,8 +7,8 @@ cp "$abs_srcdir"/msguniq-a.in mcomm-23.in1
 cp "$abs_srcdir"/msguniq-a.in mcomm-23.in2
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} -w 1000 -o mcomm-23.tmp mcomm-23.in1 mcomm-23.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-23.tmp > mcomm-23.out || exit 1
+${MSGCOMM} -w 1000 -o mcomm-23.tmp mcomm-23.in1 mcomm-23.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-23.tmp > mcomm-23.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} "$abs_srcdir"/msguniq-a.out mcomm-23.out
index f56f37877670fa5a42c3832a540bd79d7b035f88..2cc5f95d03c05ee77c9da1c5a640024ae298a4d1 100755 (executable)
@@ -14,8 +14,8 @@ cat <<EOF > mcomm-test24.in2
 EOF
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 --properties-input --properties-output -o mcomm-test24.tmp mcomm-test24.in1 mcomm-test24.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test24.tmp > mcomm-test24.out || exit 1
+${MSGCOMM} --more-than=0 --properties-input --properties-output -o mcomm-test24.tmp mcomm-test24.in1 mcomm-test24.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test24.tmp > mcomm-test24.out || Exit 1
 
 cat << EOF > mcomm-test24.ok
 #: first.c:123
index 0b766b60c6fee96b4c5410c2c38b4cb2ea75a61a..3a04b8a1572181a5ba7340b4aba4cd667add03e8 100755 (executable)
@@ -66,8 +66,8 @@ msgstr "photocopieur"
 EOF
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} --more-than=0 -o mcomm-test25.tmp mcomm-test25.in1 mcomm-test25.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test25.tmp > mcomm-test25.out || exit 1
+${MSGCOMM} --more-than=0 -o mcomm-test25.tmp mcomm-test25.in1 mcomm-test25.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test25.tmp > mcomm-test25.out || Exit 1
 
 cat <<\EOF > mcomm-test25.ok
 msgid ""
index dfb3ab9eb7bfc6c2dbaaafe1c68845cd842a0f05..64ac62e5835033485429f735771da21d50e97bd0 100755 (executable)
@@ -68,8 +68,8 @@ msgstr "%s: ungültige Optionen -- %c\n"
 EOF
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} -o mcomm-test26.tmp mcomm-test26.in1 mcomm-test26.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test26.tmp > mcomm-test26.out || exit 1
+${MSGCOMM} -o mcomm-test26.tmp mcomm-test26.in1 mcomm-test26.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test26.tmp > mcomm-test26.out || Exit 1
 
 cat <<\EOF > mcomm-test26.ok
 msgid ""
index b11a0eb38eda7fa7118a47b9806432a0de9aec13..fda523e0bea1ddb2407ebfa9bd2e8b22922f28c7 100755 (executable)
@@ -54,8 +54,8 @@ msgstr[1] ""
 EOF
 
 : ${MSGCOMM=msgcomm}
-${MSGCOMM} -o mcomm-test27.tmp mcomm-test27.in1 mcomm-test27.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test27.tmp > mcomm-test27.out || exit 1
+${MSGCOMM} -o mcomm-test27.tmp mcomm-test27.in1 mcomm-test27.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test27.tmp > mcomm-test27.out || Exit 1
 
 cat << EOF > mcomm-test27.ok
 #, c-format
index 665ab0af0e2306d394d086eb16213af75af1bf58..48f77616101dbbcf6a00b9f4284413fbfdc47fb3 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --add-location=file --more-than=0 \
-           -o mcomm-test28.tmp mcomm-test28.in1 mcomm-test28.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test28.tmp > mcomm-test28.out || exit 1
+           -o mcomm-test28.tmp mcomm-test28.in1 mcomm-test28.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test28.tmp > mcomm-test28.out || Exit 1
 
 cat << EOF > mcomm-test28.ok
 #: first.c
index d5871e516d4ad46494be51af2f9c8e3b9a9f9d9d..67baccd494bd90d8cfba34eec10a08da1ce3490a 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=0 --omit-header -o mcomm-test3.tmp \
-    mcomm-test3.in1 mcomm-test3.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test3.tmp > mcomm-test3.out || exit 1
+    mcomm-test3.in1 mcomm-test3.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test3.tmp > mcomm-test3.out || Exit 1
 
 cat << EOF > mcomm-test3.ok
 #: first.c:123
index de9c9c1bf996657335c17b012327b8f808a94d9a..a292da49da033b758a7b13db6cfe67dcbc636f19 100755 (executable)
@@ -28,8 +28,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=0 -o mcomm-test4.tmp \
-    mcomm-test4.in1 mcomm-test4.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test4.tmp > mcomm-test4.out || exit 1
+    mcomm-test4.in1 mcomm-test4.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test4.tmp > mcomm-test4.out || Exit 1
 
 cat << EOF > mcomm-test4.ok
 msgid ""
index d17467d678e6029b9341728bfb04e7b75cecc6c0..1eb7acd9247a36f727b58c0f774529bf90ec96e9 100755 (executable)
@@ -28,8 +28,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=0 --omit-header -o mcomm-test5.tmp \
-    mcomm-test5.in1 mcomm-test5.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test5.tmp > mcomm-test5.out || exit 1
+    mcomm-test5.in1 mcomm-test5.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test5.tmp > mcomm-test5.out || Exit 1
 
 cat << EOF > mcomm-test5.ok
 #: first.c:123
index 9b0a5a1b3169e8408168316db5bb08cdaa2d17ff..634d8dbc6aabe652b4a8d7231417be19850b7506 100755 (executable)
@@ -28,8 +28,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=0 --no-location -o mcomm-test6.tmp \
-    mcomm-test6.in1 mcomm-test6.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test6.tmp > mcomm-test6.out || exit 1
+    mcomm-test6.in1 mcomm-test6.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test6.tmp > mcomm-test6.out || Exit 1
 
 cat << EOF > mcomm-test6.ok
 msgid ""
index 1b5c812929ecc87d90e4effe0f1d28e51e9c06eb..b098ec74aec939d91090dc1ef2b4cdb3266016e5 100755 (executable)
@@ -28,8 +28,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=0 --no-location --omit-header -o mcomm-test7.tmp \
-    mcomm-test7.in1 mcomm-test7.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test7.tmp > mcomm-test7.out || exit 1
+    mcomm-test7.in1 mcomm-test7.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test7.tmp > mcomm-test7.out || Exit 1
 
 cat << EOF > mcomm-test7.ok
 msgid "1"
index e08e70fab5125bc21abf344865f55f0b46060e68..582deff80ad347dff013f37ac49a42322a4b8b93 100755 (executable)
@@ -39,8 +39,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=1 -o mcomm-test8.tmp \
-    mcomm-test8.in1 mcomm-test8.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test8.tmp > mcomm-test8.out || exit 1
+    mcomm-test8.in1 mcomm-test8.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test8.tmp > mcomm-test8.out || Exit 1
 
 cat << EOF > mcomm-test8.ok
 msgid ""
index 632ec1fd62f2e1a0e7a7e86ab2dcfc84b573fe0d..fdb37b9a34d8d5f6e6e1025d73f19d3c046a4734 100755 (executable)
@@ -39,8 +39,8 @@ EOF
 
 : ${MSGCOMM=msgcomm}
 ${MSGCOMM} --more-than=1 --no-location -o mcomm-test9.tmp \
-    mcomm-test9.in1 mcomm-test9.in2 || exit 1
-LC_ALL=C tr -d '\r' < mcomm-test9.tmp > mcomm-test9.out || exit 1
+    mcomm-test9.in1 mcomm-test9.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mcomm-test9.tmp > mcomm-test9.out || Exit 1
 
 cat << EOF > mcomm-test9.ok
 msgid ""
index 148f9822e368f0e7a75103681de257c4c3b1f400..810e37d0c7664cdcd30b8e3487cf968ce2ad679a 100755 (executable)
@@ -18,7 +18,7 @@ msgstr "
 EOF
 
 : ${MSGCONV=msgconv}
-${MSGCONV} --to-code=UTF-8 -o mco-test1.out mco-test1.po || exit 1
+${MSGCONV} --to-code=UTF-8 -o mco-test1.out mco-test1.po || Exit 1
 
 cat <<\EOF > mco-test1.ok
 # Chinese translation for GNU gettext messages.
index 936197cb4b1c198ec566bbd0fe6e07bf1ecdf746..5e4e027d63e14fc65206a5c0441b6465e3226fc9 100755 (executable)
@@ -19,7 +19,7 @@ msgstr "此功能需要恰好指定兩個輸入檔"
 EOF
 
 : ${MSGCONV=msgconv}
-${MSGCONV} -t Big5 -o mco-test2.out mco-test2.po || exit 1
+${MSGCONV} -t Big5 -o mco-test2.out mco-test2.po || Exit 1
 
 cat <<\EOF > mco-test2.ok
 # Chinese translation for GNU gettext messages.
index b901142969e76566f08e93e8c84de29513d36e5c..5cddce74f5173e8dc8c4613bedd22781840b811c 100755 (executable)
@@ -10,7 +10,7 @@ exactly\ 2\ input\ files\ required=\u6b64\u529f\u80fd\u9700\u8981\u6070\u597d\u6
 EOF
 
 : ${MSGCONV=msgconv}
-${MSGCONV} --properties-input --properties-output -t Big5 -o mco-test4.out mco-test4.properties || exit 1
+${MSGCONV} --properties-input --properties-output -t Big5 -o mco-test4.out mco-test4.properties || Exit 1
 
 : ${DIFF=diff}
 # Redirect stdout, so as not to fill the user's screen with non-ASCII bytes.
index 800805f126166d06f8f5ab2c135d1f49d497d147..4d2038439b821beca4a0d2c29441fae62b4ce4a4 100755 (executable)
@@ -49,8 +49,8 @@ msgstr "photocopieur"
 EOF
 
 : ${MSGCONV=msgconv}
-${MSGCONV} --to-code=UTF-8 -o mco-test5.tmp mco-test5.po || exit 1
-LC_ALL=C tr -d '\r' < mco-test5.tmp > mco-test5.out || exit 1
+${MSGCONV} --to-code=UTF-8 -o mco-test5.tmp mco-test5.po || Exit 1
+LC_ALL=C tr -d '\r' < mco-test5.tmp > mco-test5.out || Exit 1
 
 cat <<\EOF > mco-test5.ok
 msgid ""
index c4e9844d086c49d179ba33550880ad53124062dc..fbb29bf26aea716efeb5f0379b2ee7a41010a613 100755 (executable)
@@ -22,8 +22,8 @@ msgstr "Volle 360 Grad"
 EOF
 
 : ${MSGCONV=msgconv}
-${MSGCONV} --to-code=ISO-8859-1 -o mco-test6.tmp mco-test6.po || exit 1
-LC_ALL=C tr -d '\r' < mco-test6.tmp > mco-test6.out || exit 1
+${MSGCONV} --to-code=ISO-8859-1 -o mco-test6.tmp mco-test6.po || Exit 1
+LC_ALL=C tr -d '\r' < mco-test6.tmp > mco-test6.out || Exit 1
 
 cat <<\EOF > mco-test6.ok
 msgid ""
index 2d1fa65c2526e25e03c0e05461073c51fc091bb7..f07cc54a75743d92349a6cfc12332fc95bc3134f 100755 (executable)
@@ -19,7 +19,7 @@ EOF
 
 : ${MSGCONV=msgconv}
 ${MSGCONV} --add-location=file --to-code=UTF-8 \
-           -o mco-test7.out mco-test7.po || exit 1
+           -o mco-test7.out mco-test7.po || Exit 1
 
 cat <<\EOF > mco-test7.ok
 # Chinese translation for GNU gettext messages.
index 9b02ffaaa7889888d4ec0f568980638282b7891d..893c8cd088545b650414e50d6c9bd35de55ab4a4 100755 (executable)
@@ -27,8 +27,8 @@ msgstr[1] ""
 EOF
 
 : ${MSGEN=msgen}
-${MSGEN} -o men-test1.tmp men-test1.po || exit 1
-LC_ALL=C tr -d '\r' < men-test1.tmp > men-test1.out || exit 1
+${MSGEN} -o men-test1.tmp men-test1.po || Exit 1
+LC_ALL=C tr -d '\r' < men-test1.tmp > men-test1.out || Exit 1
 
 cat <<EOF > men-test1.ok
 # HEADER.
@@ -59,9 +59,9 @@ result=$?
 test $result = 0 || exit $result
 
 # Test --lang option.
-${MSGEN} --lang=fr -o men-test1.tmp men-test1.po || exit 1
-grep "Language: fr" men-test1.tmp 2>&1 >/dev/null || exit 1
-grep -v "Language: fr" men-test1.tmp | LC_ALL=C tr -d '\r' > men-test1.out || exit 1
+${MSGEN} --lang=fr -o men-test1.tmp men-test1.po || Exit 1
+grep "Language: fr" men-test1.tmp 2>&1 >/dev/null || Exit 1
+grep -v "Language: fr" men-test1.tmp | LC_ALL=C tr -d '\r' > men-test1.out || Exit 1
 
 ${DIFF} men-test1.ok men-test1.out
 result=$?
index 170ebd78f0953eca9e07cd9a36c17c81e3534b6e..b9108697da5e515e8ec4060beb657b3841fddef2 100755 (executable)
@@ -12,8 +12,8 @@ width\ must\ be\ positive=
 EOF
 
 : ${MSGEN=msgen}
-${MSGEN} --properties-input --properties-output -o men-test2.tmp men-test2.properties || exit 1
-LC_ALL=C tr -d '\r' < men-test2.tmp > men-test2.out || exit 1
+${MSGEN} --properties-input --properties-output -o men-test2.tmp men-test2.properties || Exit 1
+LC_ALL=C tr -d '\r' < men-test2.tmp > men-test2.out || Exit 1
 
 cat <<\EOF > men-test2.ok
 height\ must\ be\ positive=height must be positive
index 2b09c1d96ed1ff70984cbd112c367f07135bc655..9db7e677f36190ad4e6fb2749e53eb7a428b822b 100755 (executable)
@@ -41,8 +41,8 @@ msgstr ""
 EOF
 
 : ${MSGEN=msgen}
-${MSGEN} -o men-test3.tmp men-test3.pot || exit 1
-LC_ALL=C tr -d '\r' < men-test3.tmp > men-test3.out || exit 1
+${MSGEN} -o men-test3.tmp men-test3.pot || Exit 1
+LC_ALL=C tr -d '\r' < men-test3.tmp > men-test3.out || Exit 1
 
 cat <<\EOF > men-test3.ok
 msgid ""
index 6dddf5dcc1a9a14b0c8ec291b038ffb5957a05d3..4867e9bb9427b78c23a1ab2e7b8b9996ea248a42 100755 (executable)
@@ -31,8 +31,8 @@ msgstr[1] ""
 EOF
 
 : ${MSGEN=msgen}
-${MSGEN} --add-location=file -o men-test1.tmp men-test1.po || exit 1
-LC_ALL=C tr -d '\r' < men-test1.tmp > men-test1.out || exit 1
+${MSGEN} --add-location=file -o men-test1.tmp men-test1.po || Exit 1
+LC_ALL=C tr -d '\r' < men-test1.tmp > men-test1.out || Exit 1
 
 cat <<EOF > men-test1.ok
 # HEADER.
index e9094fc1e3e4d4fc6985fd035c45e0952c35bdca..05c044596691669463c6ec5af9f9e8c9b4c39a3a 100755 (executable)
@@ -72,7 +72,7 @@ LC_ALL=C \
 ${MSGEXEC} -i mex-test1.po ./mex-test1.sh > mex-test1.out 2> mex-test1.err
 result=$?
 cat mex-test1.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mex-test1.ok
 ========================= mex-test1.po:4 =========================
index fcdb0782804187aa16777ce8dc983503356e8bf5..02f421809203277bf67ff545fe4019ae2de70fc7 100755 (executable)
@@ -71,8 +71,8 @@ LC_ALL=C \
 ${MSGEXEC} -i mex-test2.po 0 > mex-test2.tmp 2> mex-test2.err
 result=$?
 cat mex-test2.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C $TR -d '\r' < mex-test2.tmp > mex-test2.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C $TR -d '\r' < mex-test2.tmp > mex-test2.out || Exit 1
 
 : ${CMP=cmp}
 ${CMP} "$abs_srcdir"/mex-test2.ok mex-test2.out >/dev/null 2>/dev/null
index 7955d63906475da79974ffe51db05d4a3dfff654..4dff887ff52d62650623d75b1634b12532c66c77 100755 (executable)
@@ -43,7 +43,7 @@ EOF
 chmod a+x mex-test3.sh
 
 : ${MSGEXEC=msgexec}
-${MSGEXEC} --properties-input -i mex-test3.properties ./mex-test3.sh > mex-test3.out || exit 1
+${MSGEXEC} --properties-input -i mex-test3.properties ./mex-test3.sh > mex-test3.out || Exit 1
 
 cat <<\EOF > mex-test3.ok
 ========================= mex-test3.properties:3 =========================
index e786322c32b58b7c0003181cbb485b08cafbb51d..4fe0978bb7ed114870fce7d936a8efd0b8699f0b 100755 (executable)
@@ -82,7 +82,7 @@ LC_ALL=C \
 ${MSGEXEC} -i mex-test4.po ./mex-test4.sh > mex-test4.out 2> mex-test4.err
 result=$?
 cat mex-test4.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mex-test4.ok
 ========================= mex-test4.po:2 =========================
index a2c13cd20235f01806bde430d08ee668c2572f4a..b83a6aa907ad7dffcbbd426719fd50e52716f08a 100755 (executable)
@@ -53,7 +53,7 @@ LC_ALL=C \
 ${MSGEXEC} -i mex-test5.po ./mex-test5.sh > mex-test5.out 2> mex-test5.err
 result=$?
 cat mex-test5.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mex-test5.ok
 ========================= mex-test5.po:2 =========================
index acea8bc8f2fa21bbf68a3a99e476f185dbcdd43d..0edccf92cb2d9c9a785d1301eb81872fc401bed7 100755 (executable)
@@ -72,7 +72,7 @@ LC_ALL=C \
 ${MSGEXEC} --newline -i mex-test6.po ./mex-test6.sh > mex-test6.out 2> mex-test6.err
 result=$?
 cat mex-test6.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mex-test6.ok
 ========================= mex-test6.po:4 =========================
index c1569a04a01ee020f980e419deb412668456082d..ef3820d5b116b278f4ee5bcfebd2dae1ef8bc3ba 100755 (executable)
@@ -19,13 +19,13 @@ fi
 # spaces.
 echo abc | fold -b -s -w 20 >/dev/null 2>&1 || {
   echo "Skipping test: fold program not POSIX compliant"
-  exit 77
+  Exit 77
 }
 
 # Some fold programs (like NetBSD 5.0) remove trailing spaces when wrapping.
 echo ab cd | fold -b -s -w 3 | grep ' ' >/dev/null || {
   echo "Skipping test: fold program trims trailing spaces"
-  exit 77
+  Exit 77
 }
 
 # Some fold programs (like HP-UX) insert a newline at the end, if the last
@@ -34,7 +34,7 @@ foldoutputcount=`echo $ac_n "abc$ac_c" | fold -b -s -w 20 | wc -c`
 foldoutputcount=`echo "$foldoutputcount" | sed -e 's/[         ]//g'`
 test "$foldoutputcount" = 3 || {
   echo "Skipping test: fold program inserts extra newline"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > mfi-test1.po
@@ -92,7 +92,7 @@ LC_ALL=C \
 ${MSGFILTER} -i mfi-test1.po -o mfi-test1.out fold -b -s -w 20 >mfi-test1.err 2>&1
 result=$?
 cat mfi-test1.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mfi-test1.ok
 # HEADER.
index 036cb87263aac9bc9d061cbfc709a49d88058601..718dc101794d0d073b8b3d8a8ca9820fa7196e2e 100755 (executable)
@@ -20,7 +20,7 @@ fi
 sedoutput=`echo $ac_n "abc$ac_c" | sed -e s/x/x/`
 test -n "$sedoutput" || {
   echo "Skipping test: sed program is broken"
-  exit 77
+  Exit 77
 }
 
 # Some sed programs (IRIX, OSF/1 etc.) add a newline to the last line if it
@@ -29,7 +29,7 @@ sedoutputcount=`echo $ac_n "abc$ac_c" | sed -e s/x/x/ | wc -c`
 sedoutputcount=`echo "$sedoutputcount" | sed -e 's/[   ]//g'`
 test "$sedoutputcount" = 3 || {
   echo "Skipping test: sed program inserts extra newline"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > mfi-test2.po
@@ -93,7 +93,7 @@ LC_ALL=C \
 ${MSGFILTER} -i mfi-test2.po -o mfi-test2.out sed -e "$sedexpr1" -e "$sedexpr2" >mfi-test2.err 2>&1
 result=$?
 cat mfi-test2.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mfi-test2.ok
 # HEADER.
index 02e74ecc7561ed1d46aa46e0588ef67b9fe05ea4..7e766572f3f5e039cbd5eb097896969eecf6a1c1 100755 (executable)
@@ -19,13 +19,13 @@ fi
 # spaces.
 echo abc | fold -b -s -w 20 >/dev/null 2>&1 || {
   echo "Skipping test: fold program not POSIX compliant"
-  exit 77
+  Exit 77
 }
 
 # Some fold programs (like NetBSD 5.0) remove trailing spaces when wrapping.
 echo ab cd | fold -b -s -w 3 | grep ' ' >/dev/null || {
   echo "Skipping test: fold program trims trailing spaces"
-  exit 77
+  Exit 77
 }
 
 # Some fold programs (like HP-UX) insert a newline at the end, if the last
@@ -34,7 +34,7 @@ foldoutputcount=`echo $ac_n "abc$ac_c" | fold -b -s -w 20 | wc -c`
 foldoutputcount=`echo "$foldoutputcount" | sed -e 's/[         ]//g'`
 test "$foldoutputcount" = 3 || {
   echo "Skipping test: fold program inserts extra newline"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > mfi-test3.properties
@@ -67,7 +67,7 @@ EOF
 LC_ALL=C \
 ${MSGFILTER} --properties-input --properties-output -i mfi-test3.properties -o mfi-test3.out fold -b -s -w 20
 result=$?
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mfi-test3.ok
 # HEADER.
index 6c9feeefec38341341412accd813212ce7482959..6760b0fb6b8e712a5b9e9708bb149ca48f2abda2 100755 (executable)
@@ -20,7 +20,7 @@ fi
 sedoutput=`echo $ac_n "abc$ac_c" | sed -e s/x/x/`
 test -n "$sedoutput" || {
   echo "Skipping test: sed program is broken"
-  exit 77
+  Exit 77
 }
 
 # Some sed programs (IRIX, OSF/1 etc.) add a newline to the last line if it
@@ -29,7 +29,7 @@ sedoutputcount=`echo $ac_n "abc$ac_c" | sed -e s/x/x/ | wc -c`
 sedoutputcount=`echo "$sedoutputcount" | sed -e 's/[   ]//g'`
 test "$sedoutputcount" = 3 || {
   echo "Skipping test: sed program inserts extra newline"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > mfi-test4.po
@@ -88,7 +88,7 @@ LC_ALL=C \
 ${MSGFILTER} -i mfi-test4.po -o mfi-test4.out sed -e "$sedexpr1" -e "$sedexpr2" >mfi-test4.err 2>&1
 result=$?
 cat mfi-test4.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mfi-test4.ok
 msgid ""
index 0a8da6fe417f7813386df2f4be6fb5e1c8476338..21f08ee0584d22e173ec034fe13cad390232a2e9 100755 (executable)
@@ -19,13 +19,13 @@ fi
 # spaces.
 echo abc | fold -b -s -w 20 >/dev/null 2>&1 || {
   echo "Skipping test: fold program not POSIX compliant"
-  exit 77
+  Exit 77
 }
 
 # Some fold programs (like NetBSD 5.0) remove trailing spaces when wrapping.
 echo ab cd | fold -b -s -w 3 | grep ' ' >/dev/null || {
   echo "Skipping test: fold program trims trailing spaces"
-  exit 77
+  Exit 77
 }
 
 # Some fold programs (like HP-UX) insert a newline at the end, if the last
@@ -34,7 +34,7 @@ foldoutputcount=`echo $ac_n "abc$ac_c" | fold -b -s -w 20 | wc -c`
 foldoutputcount=`echo "$foldoutputcount" | sed -e 's/[         ]//g'`
 test "$foldoutputcount" = 3 || {
   echo "Skipping test: fold program inserts extra newline"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > mfi-test5.po
@@ -92,7 +92,7 @@ LC_ALL=C ${MSGFILTER} --add-location=file -i mfi-test5.po -o mfi-test5.out \
       fold -b -s -w 20 >mfi-test5.err 2>&1
 result=$?
 cat mfi-test5.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mfi-test5.ok
 # HEADER.
index ddf78696e9a097a021c638b2eaaa99e8ce7feb60..357dd45d18acd47ad319ca4db77350fefdd1fb22 100755 (executable)
@@ -53,7 +53,7 @@ ${MSGFILTER} -i mf-test6.po ./mf-test6.sh >/dev/null 2> mf-test6.err
 result=$?
 
 cat mf-test6.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 LC_ALL=C tr -d '\r' < mf-test6.tmp > mf-test6.out
 
index 791441bf22459a8c080dd26b165a99547ad39a8d..8655c18750f3bdbaead0d6969b3b1855ed921e75 100755 (executable)
@@ -69,7 +69,7 @@ LC_ALL=C ${MSGFILTER} -i mfi-test7.po -o mfi-test7.out \
       ./mf-test7.sh >mfi-test7.err 2>&1
 result=$?
 cat mfi-test7.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mfi-test7.ok
 # HEADER.
index 3ffcb5e2f0128f1316c84a6ee0982831895ced1b..f7b7b27c58d17d21606e36c5e187f43759851cab 100755 (executable)
@@ -81,9 +81,9 @@ LC_ALL=C ${MSGFILTER} --newline -i mfi-test8.po -o mfi-test8.out \
       ${CONFIG_SHELL} filter.sh >mfi-test8.err 2>&1
 result=$?
 cat mfi-test8.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 cat mfi-test8.err | grep 'msgfilter: filter output is not terminated with a newline' >/dev/null
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > mfi-test8.ok
 # HEADER.
index 28b429aa55500a20cc2bfcd676db1633c9988250..6dcb364adbe46f7cc841c3778954a59ea5003d04 100755 (executable)
@@ -76,7 +76,7 @@ msgstr "``double grave'"
 EOF
 
 : ${MSGFILTER=msgfilter}
-LC_ALL=C ${MSGFILTER} -i mfi.po -o mfi-quot.out quot 2>&1 2>/dev/null || exit 1
+LC_ALL=C ${MSGFILTER} -i mfi.po -o mfi-quot.out quot 2>&1 2>/dev/null || Exit 1
 
 cat <<\EOF > mfi-quot.ok
 msgid ""
@@ -151,9 +151,9 @@ msgstr "`‘double grave’"
 EOF
 
 : ${DIFF=diff}
-${DIFF} mfi-quot.ok mfi-quot.out || exit 1
+${DIFF} mfi-quot.ok mfi-quot.out || Exit 1
 
-LC_ALL=C ${MSGFILTER} -i mfi.po -o mfi-boldquot.out boldquot 2>&1 2>/dev/null || exit 1
+LC_ALL=C ${MSGFILTER} -i mfi.po -o mfi-boldquot.out boldquot 2>&1 2>/dev/null || Exit 1
 
 cat <<\EOF > mfi-boldquot.ok
 msgid ""
@@ -227,4 +227,4 @@ msgid "``double grave'"
 msgstr "`‘\e[1mdouble grave\e[0m’"
 EOF
 
-${DIFF} mfi-boldquot.ok mfi-boldquot.out || exit 1
+${DIFF} mfi-boldquot.ok mfi-boldquot.out || Exit 1
index 2999a629d644ed0809eaa53136d1960f3cdb98c8..c1cc97875a117764346175ec99b4ae3a778ecb19 100755 (executable)
@@ -309,12 +309,12 @@ EOF
 # of here documents in /bin/sh is too buggy. Skip the test in this case.
 head -n 1 mfi-srl-1.po | grep Serbian > /dev/null || {
   echo "Skipping test: /bin/sh is too buggy"
-  exit 77
+  Exit 77
 }
 
 : ${MSGFILTER=msgfilter}
-${MSGFILTER} -i mfi-srl-1.po -o mfi-srl-1.tmp recode-sr-latin || exit 1
-LC_ALL=C tr -d '\r' < mfi-srl-1.tmp > mfi-srl-1.out || exit 1
+${MSGFILTER} -i mfi-srl-1.po -o mfi-srl-1.tmp recode-sr-latin || Exit 1
+LC_ALL=C tr -d '\r' < mfi-srl-1.tmp > mfi-srl-1.out || Exit 1
 
 cat <<\EOF > mfi-srl-1.ok
 # Serbian translation of gettext-runtime
index fd3981d1e02c071cba8f6882cee7d8f4164224df..9bed6afd0b9c0e848ce3c1f837ca0a80b21adbf1 100755 (executable)
@@ -44,13 +44,13 @@ EOF
 # Without use of msgcat, expect a "duplicate message definition" error.
 : ${MSGFMT=msgfmt}
 if ${MSGFMT} -o mf-1/LC_MESSAGES/gen.mo mf-1-module1.po mf-1-module2.po 2> /dev/null; then
-  exit 1
+  Exit 1
 fi
 
 # With msgcat, it should work.
 : ${MSGCAT=msgcat} ${MSGFMT=msgfmt}
-${MSGCAT} --use-first -o mf-1-modules.po mf-1-module1.po mf-1-module2.po || exit 1
-${MSGFMT} -o mf-1/LC_MESSAGES/gen.mo mf-1-modules.po || exit 1
+${MSGCAT} --use-first -o mf-1-modules.po mf-1-module1.po mf-1-module2.po || Exit 1
+${MSGFMT} -o mf-1/LC_MESSAGES/gen.mo mf-1-modules.po || Exit 1
 
 : ${GETTEXT=gettext}
 TEXTDOMAINDIR=. LANGUAGE=mf-1 \
index d747cf8ad4ed90858a8f4842b6e4b0bf0ed780b6..8b38f19d41181106b1429bda8ba24cfbb2a4bed2 100755 (executable)
@@ -36,7 +36,7 @@ msgstr[1] "%d yarars
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --check -o /dev/null mf-test10.po1 || exit 1
+${MSGFMT} --check -o /dev/null mf-test10.po1 || Exit 1
 
 cat <<\EOF > mf-test10.po2
 # SOME DESCRIPTIVE TITLE.
index f3d1f388e62d383be3e0dd8ddacdf6ee7a542ae8..19f9383379274631c53719966e25e600eb0fe132 100755 (executable)
@@ -20,11 +20,11 @@ msgstr "<PRIXFAST16> Fehler"
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} -o mf-12.mo mf-12.po || exit 1
+${MSGFMT} -o mf-12.mo mf-12.po || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o mf-12.tmp mf-12.mo || exit 1
-LC_ALL=C tr -d '\r' < mf-12.tmp > mf-12.out || exit 1
+${MSGUNFMT} -o mf-12.tmp mf-12.mo || Exit 1
+LC_ALL=C tr -d '\r' < mf-12.tmp > mf-12.out || Exit 1
 
 cat <<\EOF > mf-12.ok
 msgid ""
index 3a44ac72a198c74c2b8f59537698a66b2cd9e20b..9e30ffea79d0212434ca0c11d3eca46034cb4f96 100755 (executable)
@@ -49,11 +49,11 @@ msgstr "photocopieur"
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} -o mf-14.mo mf-14.po || exit 1
+${MSGFMT} -o mf-14.mo mf-14.po || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o mf-14.tmp mf-14.mo || exit 1
-LC_ALL=C tr -d '\r' < mf-14.tmp > mf-14.out || exit 1
+${MSGUNFMT} -o mf-14.tmp mf-14.mo || Exit 1
+LC_ALL=C tr -d '\r' < mf-14.tmp > mf-14.out || Exit 1
 
 cat <<\EOF > mf-14.ok
 msgid ""
index 5ff7c4b508837570fc7a915f97fa5d725abedf5e..ba5d516052e5177a23b37ab1da38d47751b4cd39 100755 (executable)
@@ -37,7 +37,7 @@ msgstr[2] "%d der unnützen Nichtterminale"
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --check -o /dev/null mf-15.po1 || exit 1
+${MSGFMT} --check -o /dev/null mf-15.po1 || Exit 1
 
 cat <<\EOF > mf-15.po2
 # SOME DESCRIPTIVE TITLE.
@@ -67,7 +67,7 @@ EOF
 
 : ${MSGFMT=msgfmt}
 ${MSGFMT} --check -o /dev/null mf-15.po2 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
 cat <<\EOF > mf-15.po3
 # SOME DESCRIPTIVE TITLE.
@@ -96,7 +96,7 @@ msgstr[2] "%d der unnützen Nichtterminale"
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --check -o /dev/null mf-15.po3 || exit 1
+${MSGFMT} --check -o /dev/null mf-15.po3 || Exit 1
 
 cat <<\EOF > mf-15.po4
 # SOME DESCRIPTIVE TITLE.
@@ -126,6 +126,6 @@ EOF
 
 : ${MSGFMT=msgfmt}
 ${MSGFMT} --check -o /dev/null mf-15.po4 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
 exit $result
index f2641f5c979e55d61d137cd715390d1c104af31f..f5d9fcab9b4a4eeaf4594141258d426a95d9680a 100755 (executable)
@@ -42,11 +42,11 @@ msgstr "Argumente fehlen."
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} -o mf-16.mo mf-16.po || exit 1
+${MSGFMT} -o mf-16.mo mf-16.po || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o mf-16.tmp mf-16.mo || exit 1
-LC_ALL=C tr -d '\r' < mf-16.tmp > mf-16.out || exit 1
+${MSGUNFMT} -o mf-16.tmp mf-16.mo || Exit 1
+LC_ALL=C tr -d '\r' < mf-16.tmp > mf-16.out || Exit 1
 
 cat <<\EOF > mf-16.ok
 msgid ""
index cc98b9620cdbffeef59350afe88f8fc0d264882f..8624d7e53b49f00eeca38cfe52e331320f2e720a 100755 (executable)
@@ -37,7 +37,7 @@ EOF
 
 : ${MSGFMT=msgfmt}
 ${MSGFMT} --check -o /dev/null mf-17.po1 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
 cat <<\EOF > mf-17.po2
 # SOME DESCRIPTIVE TITLE.
@@ -66,7 +66,7 @@ msgstr[2] "час и %(number)s четвертей"
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --check -o /dev/null mf-17.po2 || exit 1
+${MSGFMT} --check -o /dev/null mf-17.po2 || Exit 1
 
 cat <<\EOF > mf-17.po3
 # SOME DESCRIPTIVE TITLE.
@@ -96,7 +96,7 @@ EOF
 
 : ${MSGFMT=msgfmt}
 ${MSGFMT} --check -o /dev/null mf-17.po3 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
 cat <<\EOF > mf-17.po4
 # SOME DESCRIPTIVE TITLE.
@@ -126,6 +126,6 @@ EOF
 
 : ${MSGFMT=msgfmt}
 ${MSGFMT} --check -o /dev/null mf-17.po4 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
 exit $result
index 3136ce807c98930f1fdfb34479ddd1b82ebfbf96..cbc8976ca0f7fc3c70bbcbe0212387fcbcf4193c 100755 (executable)
@@ -28,8 +28,8 @@ EOF
 
 : ${MSGFMT=msgfmt}
 ${MSGFMT} --check-accelerators -o /dev/null mf-18.po 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
 : ${MSGFMT=msgfmt}
 ${MSGFMT} --check-accelerators='_' -o /dev/null mf-18.po 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
index 4a24487f440d45539de1ebfa3f040e73262d3435..4f527971b7898df6f0df01d73ac030076f384df2 100755 (executable)
@@ -56,13 +56,13 @@ EOF
 # Without use of msgcat, expect a "duplicate message definition" error.
 : ${MSGFMT=msgfmt}
 if ${MSGFMT} -o mf-2/LC_MESSAGES/gen.mo mf-2-module1.po mf-2-module2.po 2> /dev/null; then
-  exit 1
+  Exit 1
 fi
 
 # With msgcat, it should work.
 : ${MSGCAT=msgcat} ${MSGFMT=msgfmt}
-${MSGCAT} --use-first -o mf-2-modules.po mf-2-module1.po mf-2-module2.po || exit 1
-${MSGFMT} -o mf-2/LC_MESSAGES/gen.mo mf-2-modules.po || exit 1
+${MSGCAT} --use-first -o mf-2-modules.po mf-2-module1.po mf-2-module2.po || Exit 1
+${MSGFMT} -o mf-2/LC_MESSAGES/gen.mo mf-2-modules.po || Exit 1
 
 : ${GETTEXT=gettext}
 TEXTDOMAINDIR=. LANGUAGE=mf-2 \
index a46f88feed4bd3b5185ac1fcda7a56e7f9e6762d..aab90b8924266f1c04cf38cc86ba08d438703ce0 100755 (executable)
@@ -22,7 +22,7 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGFMT} -o mftest3.mo mf-test3.po >mftest3.err 2>&1
 result=$?
 cat mftest3.err | grep -v 'warning: Charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 test ! -f mftest3.mo
 result=$?
index f4fb368454160b7e1234298c5a3d54dfcaeafd54..2820ebcd899e5900abf6826d99821486a42d88f4 100755 (executable)
@@ -30,13 +30,13 @@ msgstr "A bient
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} foo.po || exit 1
+${MSGFMT} foo.po || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o foo-de.tmp foo-de.mo || exit 1
-LC_ALL=C tr -d '\r' < foo-de.tmp > foo-de.out || exit 1
-${MSGUNFMT} -o foo-fr.tmp foo-fr.mo || exit 1
-LC_ALL=C tr -d '\r' < foo-fr.tmp > foo-fr.out || exit 1
+${MSGUNFMT} -o foo-de.tmp foo-de.mo || Exit 1
+LC_ALL=C tr -d '\r' < foo-de.tmp > foo-de.out || Exit 1
+${MSGUNFMT} -o foo-fr.tmp foo-fr.mo || Exit 1
+LC_ALL=C tr -d '\r' < foo-fr.tmp > foo-fr.out || Exit 1
 
 cat <<\EOF > foo-de.ok
 msgid ""
index 18ca696ed7a67364441e6cd949e672056bbd062d..493c0858e988f2e1a3ef2ce5d3e538955250a38d 100755 (executable)
@@ -67,16 +67,16 @@ EOF
 
 ${MSGFMT} --desktop --template=mf.desktop -l fr fr.po \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 ${MSGFMG} --desktop --template=mf.desktop fr.po -o mf.desktop.out \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 # Proceed to the .desktop file generation.
 
 ${MSGFMT} --desktop --template=mf.desktop -l fr fr.po -o mf.desktop.out \
-  || exit 1
+  || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mf.desktop.ok mf.desktop.out
index 5fbb75a96f8960452c1ca5dd5f3484684076ade5..3a40b85f3212b02c93e5d4b63a17f4e3f9c85e97 100755 (executable)
@@ -131,13 +131,13 @@ unset LINGUAS
 
 ${MSGFMT} --desktop --template=mf.desktop -d po -o mf.desktop.out \
           >/dev/null 2>/dev/null \
-  exit 1
+  Exit 1
 
 test -d po/LINGUAS || mkdir po/LINGUAS
 
 ${MSGFMT} --desktop --template=mf.desktop -d po -o mf.desktop.out \
           >/dev/null 2>/dev/null \
-  exit 1
+  Exit 1
 
 rm -fr po/LINGUAS
 
@@ -148,28 +148,28 @@ EOF
 
 ${MSGFMT} --desktop --template=mf.desktop -d po \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 ${MSGFMG} --desktop --template=mf.desktop -d po -o mf.desktop.out -l fr \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 ${MSGFMG} --desktop --template=mf.desktop -d po -o mf.desktop.out po/fr.po \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 # Proceed to the .desktop file generation.
 
-${MSGFMT} --desktop --template=mf.desktop -d po -o mf.desktop.out || exit 1
+${MSGFMT} --desktop --template=mf.desktop -d po -o mf.desktop.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mf.desktop.ok mf.desktop.out
-test $? = 0 || exit 1
+test $? = 0 || Exit 1
 
 # Restrict the desired languages with the LINGUAS envvar.
 
-LINGUAS="fr ja" ${MSGFMT} --desktop --template=mf.desktop -d po -o mf.desktop.desired.out || exit 1
+LINGUAS="fr ja" ${MSGFMT} --desktop --template=mf.desktop -d po -o mf.desktop.desired.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mf.desktop.desired.ok mf.desktop.desired.out
-test $? = 0 || exit 1
+test $? = 0 || Exit 1
index 8851cc9d3518b4eb600e9f0133b7379bf56b43de..fab406d59c83ca4f0d6a2f4881828d9b8a1610f5 100755 (executable)
@@ -24,13 +24,13 @@ EOF
 # Without use of msgcat, expect a "duplicate message definition" error.
 : ${MSGFMT=msgfmt}
 if ${MSGFMT} --properties-input -o mf-p-1/LC_MESSAGES/gen.mo mf-p-1-1.properties mf-p-1-2.properties 2> /dev/null; then
-  exit 1
+  Exit 1
 fi
 
 # With msgcat, it should work.
 : ${MSGCAT=msgcat} ${MSGFMT=msgfmt}
-${MSGCAT} --properties-input --properties-output --use-first -o mf-p-1-s.properties mf-p-1-1.properties mf-p-1-2.properties || exit 1
-${MSGFMT} --properties-input -o mf-p-1/LC_MESSAGES/gen.mo mf-p-1-s.properties || exit 1
+${MSGCAT} --properties-input --properties-output --use-first -o mf-p-1-s.properties mf-p-1-1.properties mf-p-1-2.properties || Exit 1
+${MSGFMT} --properties-input -o mf-p-1/LC_MESSAGES/gen.mo mf-p-1-s.properties || Exit 1
 
 : ${GETTEXT=gettext}
 TEXTDOMAINDIR=. LANGUAGE=mf-p-1 \
index f5dff9dfd80a51c355c401abb97f5f7b9a5eadca..0308580228cad5edbfef6804ac9be558743dc15c 100755 (executable)
@@ -4,7 +4,7 @@
 # Test output in Qt .qm format.
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --qt -o mf-qt-1.qm "$abs_srcdir"/qttest_pl.po || exit 1
+${MSGFMT} --qt -o mf-qt-1.qm "$abs_srcdir"/qttest_pl.po || Exit 1
 
 : ${CMP=cmp}
 ${CMP} "$abs_srcdir"/qttest_pl.qm mf-qt-1.qm >/dev/null 2>/dev/null
index 99cf1452140ce85b50f7f6858f6ece8e8e901131..482ef19967c13d20d219c7f81a54051579bc9496 100755 (executable)
@@ -4,7 +4,7 @@
 # Test msgfmt --qt on a PO file with contexts.
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --qt "$abs_srcdir"/qttest2_de.po -o mf-qt-2.qm || exit 1
+${MSGFMT} --qt "$abs_srcdir"/qttest2_de.po -o mf-qt-2.qm || Exit 1
 
 : ${CMP=cmp}
 ${CMP} "$abs_srcdir"/qttest2_de.qm mf-qt-2.qm >/dev/null 2>/dev/null
index 40e956b2fe05ffd2de7f2c5100124abb9560cf05..32003fa7a54c63d6e7dacef032ef82b49c7a768a 100755 (executable)
@@ -92,16 +92,16 @@ EOF
 
 ${MSGFMT} --xml --template=mf.appdata.xml -l fr fr.po \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 ${MSGFMG} --xml --template=mf.appdata.xml fr.po -o mf.appdata.xml.out \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 # Proceed to the XML file generation.
 
 ${MSGFMT} --xml --template=mf.appdata.xml -l fr fr.po -o mf.appdata.xml.out \
-  || exit 1
+  || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mf.appdata.xml.ok mf.appdata.xml.out
@@ -111,7 +111,7 @@ test $result = 0 || exit $result
 # Test -L option.
 cp mf.appdata.xml mf.xml
 ${MSGFMT} --xml --template=mf.xml -L AppData -l fr fr.po -o mf.appdata.xml.out \
-  || exit 1
+  || Exit 1
 ${DIFF} mf.appdata.xml.ok mf.appdata.xml.out
 result=$?
 test $result = 0 || exit $result
index d10d21cc3716e46d3db60e1a8c73d6c5569df957..e41a6c0106977e671ea3d9706da68160e795b7b5 100755 (executable)
@@ -160,13 +160,13 @@ unset LINGUAS
 
 ${MSGFMT} --xml --template=mf.appdata.xml -d po -o mf.appdata.xml.out \
           >/dev/null 2>/dev/null \
-  exit 1
+  Exit 1
 
 test -d po/LINGUAS || mkdir po/LINGUAS
 
 ${MSGFMT} --xml --template=mf.appdata.xml -d po -o mf.appdata.xml.out \
           >/dev/null 2>/dev/null \
-  exit 1
+  Exit 1
 
 rm -fr po/LINGUAS
 
@@ -177,27 +177,27 @@ EOF
 
 ${MSGFMT} --xml --template=mf.appdata.xml -d po \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 ${MSGFMG} --xml --template=mf.appdata.xml -d po -o mf.appdata.xml.out -l fr \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 ${MSGFMG} --xml --template=mf.appdata.xml -d po -o mf.appdata.xml.out po/fr.po \
           >/dev/null 2>/dev/null \
-  && exit 1
+  && Exit 1
 
 # Proceed to the .desktop file generation.
 
-${MSGFMT} --xml --template=mf.appdata.xml -d po -o mf.appdata.xml.out || exit 1
+${MSGFMT} --xml --template=mf.appdata.xml -d po -o mf.appdata.xml.out || Exit 1
 : ${DIFF=diff}
 ${DIFF} mf.appdata.xml.ok mf.appdata.xml.out
-test $? = 0 || exit 1
+test $? = 0 || Exit 1
 
 # Restrict the desired languages with the LINGUAS envvar.
 
-LINGUAS="fr ja" ${MSGFMT} --xml --template=mf.appdata.xml -d po -o mf.appdata.xml.desired.out || exit 1
+LINGUAS="fr ja" ${MSGFMT} --xml --template=mf.appdata.xml -d po -o mf.appdata.xml.desired.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mf.appdata.xml.desired.ok mf.appdata.xml.desired.out
-test $? = 0 || exit 1
+test $? = 0 || Exit 1
index 33d4181fb611c9d1e08147805f5324c185ecf582..047f26239465d2505c972531d3522939eebb592d 100755 (executable)
@@ -153,8 +153,8 @@ msgstr "Subprozess %s hat ein fatales Signal erhalten"
 EOF
 
 : ${MSGGREP=msggrep}
-${MSGGREP} -N pipe-bidi.c -o mg-test1.tmp mg-test1.po || exit 1
-LC_ALL=C tr -d '\r' < mg-test1.tmp > mg-test1.out || exit 1
+${MSGGREP} -N pipe-bidi.c -o mg-test1.tmp mg-test1.po || Exit 1
+LC_ALL=C tr -d '\r' < mg-test1.tmp > mg-test1.out || Exit 1
 
 cat <<\EOF > mg-test1.ok
 # German translations for GNU gettext package.
index 753220b4a4a85877e451daae3b767a6439a0219c..1f50cf8c46475e1e1908a44b6e4c3cd4f7e37888 100755 (executable)
@@ -6,6 +6,6 @@
 # <https://savannah.gnu.org/bugs/?25437>
 
 : ${MSGGREP=msggrep}
-echo a=b | LC_MESSAGES=C LC_ALL= ${MSGGREP} -P -K -e '^a$' > /dev/null || exit 1
+echo a=b | LC_MESSAGES=C LC_ALL= ${MSGGREP} -P -K -e '^a$' > /dev/null || Exit 1
 
 exit $result
index bf77675958faf0eedcff0e5b02ceb71069d8d794..5df1fb0a598fa49f3c2a408a25b4fd8624b092ad 100755 (executable)
@@ -154,8 +154,8 @@ EOF
 
 : ${MSGGREP=msggrep}
 ${MSGGREP} --add-location=file -N pipe-bidi.c -o mg-test11.tmp mg-test11.po \
-    || exit 1
-LC_ALL=C tr -d '\r' < mg-test11.tmp > mg-test11.out || exit 1
+    || Exit 1
+LC_ALL=C tr -d '\r' < mg-test11.tmp > mg-test11.out || Exit 1
 
 cat <<\EOF > mg-test11.ok
 # German translations for GNU gettext package.
index 62eafbc0c066caace0fbab547dbb21ea8e6d79d2..15ad845b947dc9f7f678204c7086f589f33b84b2 100755 (executable)
@@ -150,8 +150,8 @@ msgstr "%s: l'option 
 EOF
 
 : ${MSGGREP=msggrep}
-${MSGGREP} -M fr -o mg-test2.tmp mg-test2.po || exit 1
-LC_ALL=C tr -d '\r' < mg-test2.tmp > mg-test2.out || exit 1
+${MSGGREP} -M fr -o mg-test2.tmp mg-test2.po || Exit 1
+LC_ALL=C tr -d '\r' < mg-test2.tmp > mg-test2.out || Exit 1
 
 cat <<\EOF > mg-test2.ok
 domain "de"
index fbcbf939663cef98c2e124e583a5ab09aecf596f..86da09f74d84d14349f790994d3362fd21b90b55 100755 (executable)
@@ -161,8 +161,8 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGGREP} -K -e error -T -e Speicher -o mg-test3.tmp mg-test3.po >mg-test3.err 2>&1
 result=$?
 cat mg-test3.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mg-test3.tmp > mg-test3.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mg-test3.tmp > mg-test3.out || Exit 1
 
 cat <<\EOF > mg-test3.ok
 # German translations for GNU gettext package.
index b15b51ad1618ff5a430038f9bdaa1880c27deeb1..f711d81f16cbf054e1dbff21fb035dc74d53b321 100755 (executable)
@@ -161,8 +161,8 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGGREP} -K -e error -f mg-test4.in1 -f mg-test4.in2 -e cannot -o mg-test4.tmp mg-test4.po > mg-test4.err 2>&1
 result=$?
 cat mg-test4.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mg-test4.tmp > mg-test4.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mg-test4.tmp > mg-test4.out || Exit 1
 
 cat <<\EOF > mg-test4.ok
 # German translations for GNU gettext package.
index 9252f38f66beeae2cb90f066823dd2631cde97e3..4f11e155a272296ed48b2b92d89c080d29c48f5b 100755 (executable)
@@ -169,8 +169,8 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGGREP} -C -e @proofread -o mg-test5.tmp mg-test5.po >mg-test5.err 2>&1
 result=$?
 cat mg-test5.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mg-test5.tmp > mg-test5.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mg-test5.tmp > mg-test5.out || Exit 1
 
 cat <<\EOF > mg-test5.ok
 # German translations for GNU gettext package.
index 20b53106b5a092ba49a07406c76ebe042c5cea47..c4284834017ff5a47f0555a4cd0150b7c39911a6 100755 (executable)
@@ -115,8 +115,8 @@ EOF
 LC_MESSAGES=C LC_ALL= \
 ${MSGGREP} --properties-input --properties-output -K -e error -T -e Speicher -o mg-test6.tmp mg-test6.properties
 result=$?
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mg-test6.tmp > mg-test6.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mg-test6.tmp > mg-test6.out || Exit 1
 
 cat <<\EOF > mg-test6.ok
 #: copy-file.c:60
index 18fcd44f2ea6b2accd70dc54116f2d08082815cf..82319cecbfad343a032ad8672f65a6bac09f1d31 100755 (executable)
@@ -53,8 +53,8 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGGREP} -J -e "File|" -o mg-test7.tmp mg-test7.po 2> mg-test7.err
 result=$?
 cat mg-test7.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mg-test7.tmp > mg-test7.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mg-test7.tmp > mg-test7.out || Exit 1
 
 cat <<\EOF > mg-test7.ok
 msgid ""
index 10f445735015c8853dff319bbd618544cde61a51..61b8f148719d3c003513877737204ce2773ab19c 100755 (executable)
@@ -37,8 +37,8 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGGREP} -X -e c-form -o mg-test8.tmp mg-test8.po >mg-test8.err 2>&1
 result=$?
 cat mg-test8.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mg-test8.tmp > mg-test8.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mg-test8.tmp > mg-test8.out || Exit 1
 
 cat <<\EOF > mg-test8.ok
 msgid ""
index 9be93d39b67f84423cb3ff694aec6a04309d7078..207f69ec10fb5e5a66c2e656f1eefd13006b8401 100755 (executable)
@@ -159,8 +159,8 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGGREP} -K -e 'argument$' -o mg-test9.tmp mg-test9.po > mg-test9.err 2>&1
 result=$?
 cat mg-test9.err | grep -v 'warning: Locale charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mg-test9.tmp > mg-test9.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mg-test9.tmp > mg-test9.out || Exit 1
 
 cat <<\EOF > mg-test9.ok
 # German translations for GNU gettext package.
index 71754d22766e545a03bd345ffb267427b6cb902e..fa42552f38c2a29a27a871e11db00786cf655ca1 100755 (executable)
@@ -39,10 +39,10 @@ EOF
 
 : ${MSGINIT=msginit}
 ${MSGINIT} -i mi-test1.pot -l ga_IE --no-translator -o mi-test1.tmp 2>mi-test1.err
-test $? = 0 || { cat mi-test1.err 1>&2; exit 1; }
+test $? = 0 || { cat mi-test1.err 1>&2; Exit 1; }
 # The charset stored in the header entry is the locale encoding of the gl_IE
 # locale, which is system dependent, or ASCII if the locale does not exist.
-sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test1.tmp | LC_ALL=C tr -d '\r' > mi-test1.out || exit 1
+sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test1.tmp | LC_ALL=C tr -d '\r' > mi-test1.out || Exit 1
 
 cat <<\EOF > mi-test1.ok
 "Last-Translator: Automatically generated\n"
index bd8c5af3f220fed374537b774d9613ee897d844f..bd3efcdfe7bb5a05f5fc25723ce262dfe4eac3f5 100755 (executable)
@@ -63,8 +63,8 @@ EOF
 
 : ${MSGINIT=msginit}
 ${MSGINIT} -i mi-test2.pot -l ga_IE --no-translator -o mi-test2.tmp 2>mi-test2.err
-test $? = 0 || { cat mi-test2.err 1>&2; exit 1; }
-sed -e '1,10d' < mi-test2.tmp | LC_ALL=C tr -d '\r' > mi-test2.out || exit 1
+test $? = 0 || { cat mi-test2.err 1>&2; Exit 1; }
+sed -e '1,10d' < mi-test2.tmp | LC_ALL=C tr -d '\r' > mi-test2.out || Exit 1
 
 cat <<\EOF > mi-test2.ok
 "Last-Translator: Automatically generated\n"
index 923c4cf5d9a455d5d7b63c50f010f92ee5e30a96..ce971ed38a23f67c72a60658152877b9e2178488 100755 (executable)
@@ -38,16 +38,16 @@ EOF
 
 : ${MSGINIT=msginit}
 GETTEXTLIBDIR="$abs_top_srcdir"/src ${MSGINIT} -l ga_IE --no-translator -o mi-test3.tmp 2>mi-test3.err
-test $? = 0 || { cat mi-test3.err 1>&2; exit 1; }
+test $? = 0 || { cat mi-test3.err 1>&2; Exit 1; }
 
-grep "Project-Id-Version: gt-msginit " mi-test3.tmp 2>&1 >/dev/null || exit 1
+grep "Project-Id-Version: gt-msginit " mi-test3.tmp 2>&1 >/dev/null || Exit 1
 
 # The charset stored in the header entry is the locale encoding of the gl_IE
 # locale, which is system dependent, or ASCII if the locale does not exist.
 #
 # Project-Id-Version contains version constructed from a temporary
 # directory name
-sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test3.tmp | grep -v Project-Id-Version | LC_ALL=C tr -d '\r' > mi-test3.out || exit 1
+sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test3.tmp | grep -v Project-Id-Version | LC_ALL=C tr -d '\r' > mi-test3.out || Exit 1
 cat <<\EOF > mi-test3.ok
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
index 369f1520278ceacd0681396769985ff941a7c86c..f4335f1d76b1349cc19de2ceeeb43357862681ff 100755 (executable)
@@ -6,7 +6,7 @@
 LC_ALL=C "$top_builddir/src/cldr-plurals" ru /dev/null 2>&1 | grep 'extraction is not supported' > /dev/null 2>&1
 test $? = 0 && {
   echo "Skipping test: cldr-plurals was built without XML support"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > mi-test4.pot
@@ -45,14 +45,14 @@ EOF
 
 : ${MSGINIT=msginit}
 GETTEXTLIBDIR="$top_builddir"/src GETTEXTCLDRDIR="$abs_srcdir" ${MSGINIT} -l foo --no-translator --no-wrap -o mi-test4.tmp 2>mi-test4.err
-test $? = 0 || { cat mi-test4.err 1>&2; exit 1; }
+test $? = 0 || { cat mi-test4.err 1>&2; Exit 1; }
 
 # The charset stored in the header entry is the locale encoding of the gl_IE
 # locale, which is system dependent, or ASCII if the locale does not exist.
 #
 # Project-Id-Version contains version constructed from a temporary
 # directory name
-sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test4.tmp | grep -v Project-Id-Version | LC_ALL=C tr -d '\r' > mi-test4.out || exit 1
+sed -e '1,10d' -e 's/\(ISO-8859-1\|CP1252\|UTF-8\)/ASCII/g' < mi-test4.tmp | grep -v Project-Id-Version | LC_ALL=C tr -d '\r' > mi-test4.out || Exit 1
 cat <<\EOF > mi-test4.ok
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
index dd1f68965fd9583bc8c73339ddeada3b3093acd0..141b6be7531a06fdd9260ec6a95b13d02179d096 100755 (executable)
@@ -36,8 +36,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test1.tmp mm-test1.in1 mm-test1.in2 || exit 1
-LC_ALL=C tr -d '\r' < mm-test1.tmp > mm-test1.out || exit 1
+${MSGMERGE} -q -o mm-test1.tmp mm-test1.in1 mm-test1.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mm-test1.tmp > mm-test1.out || Exit 1
 
 cat << EOF > mm-test1.ok
 # first
index eb1a429c4639f65e9aa6918fc304a9def1fac29e..8081346838d1fc1f210d096a7c7c85cc961bf426 100755 (executable)
@@ -51,8 +51,8 @@ msgstr[1] ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test10.tmp mm-test10.po mm-test10.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test10.tmp > mm-test10.out || exit 1
+${MSGMERGE} -q -o mm-test10.tmp mm-test10.po mm-test10.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test10.tmp > mm-test10.out || Exit 1
 
 cat <<EOF > mm-test10.ok
 # SOME DESCRIPTIVE TITLE.
index bb5d75766e438b642503e2c6045c50e0b21008f5..ed49db95a1cd81690a3b8fd9f3eddf98a8456ede 100755 (executable)
@@ -53,8 +53,8 @@ msgstr[1] ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test11.tmp mm-test11.po mm-test11.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test11.tmp > mm-test11.out || exit 1
+${MSGMERGE} -q -o mm-test11.tmp mm-test11.po mm-test11.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test11.tmp > mm-test11.out || Exit 1
 
 cat <<EOF > mm-test11.ok
 # SOME DESCRIPTIVE TITLE.
index 46c25a6e3f9f085fd88f6829a96735b614332991..fb9f52f5cbac369e86045d9d6c7b29485971a2cf 100755 (executable)
@@ -51,8 +51,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test12.tmp mm-test12.po mm-test12.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test12.tmp > mm-test12.out || exit 1
+${MSGMERGE} -q -o mm-test12.tmp mm-test12.po mm-test12.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test12.tmp > mm-test12.out || Exit 1
 
 cat <<EOF > mm-test12.ok
 # SOME DESCRIPTIVE TITLE.
index 28876988e84305afc170eff8db9073e7445b14c6..4eb9a4df4970df7d45ad353154146bb9cba86b5c 100755 (executable)
@@ -84,8 +84,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test13.tmp mm-test13.po mm-test13.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test13.tmp > mm-test13.out || exit 1
+${MSGMERGE} -q -o mm-test13.tmp mm-test13.po mm-test13.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test13.tmp > mm-test13.out || Exit 1
 
 cat <<EOF > mm-test13.ok
 # SOME DESCRIPTIVE TITLE.
index 7c15d2f4eb694cbc72df0867d6a8e1b2b040b004..1514d8e64398b0f0d919ef6d1cb65615bf4b542f 100755 (executable)
@@ -55,8 +55,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test14.tmp mm-test14-ru.po mm-test14.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test14.tmp > mm-test14.out || exit 1
+${MSGMERGE} -q -o mm-test14.tmp mm-test14-ru.po mm-test14.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test14.tmp > mm-test14.out || Exit 1
 
 cat <<\EOF > mm-test14.ok
 # Russian messages for CLISP
index a7a80aae715697953e33d8dde0103e2ce1da45a0..30dca36fe2e07c07e54d1417d879b504ef0b147c 100755 (executable)
@@ -27,8 +27,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test15.tmp mm-test15.pot mm-test15.po || exit 1
-LC_ALL=C tr -d '\r' < mm-test15.tmp > mm-test15.out || exit 1
+${MSGMERGE} -q -o mm-test15.tmp mm-test15.pot mm-test15.po || Exit 1
+LC_ALL=C tr -d '\r' < mm-test15.tmp > mm-test15.out || Exit 1
 
 cat <<\EOF > mm-test15.ok
 msgid ""
index ed726c2f98f90aed8f530a25a2bc0fa2bba00fa2..cbff31237f11e2aafe6c1de791115b12f0678cf1 100755 (executable)
@@ -57,8 +57,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test16.tmp.po mm-test16.po mm-test16.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test16.tmp.po > mm-test16.new.po || exit 1
+${MSGMERGE} -q -o mm-test16.tmp.po mm-test16.po mm-test16.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test16.tmp.po > mm-test16.new.po || Exit 1
 
 cat <<\EOF > mm-test16.ok
 msgid ""
index 7342061360b21ee94850d68ffaa028e766d16a1c..6b64fcd01a3a64728cbcf07ba8ab2781bf46f178 100755 (executable)
@@ -51,8 +51,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test17.tmp.po mm-test17.po mm-test17.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test17.tmp.po > mm-test17.new.po || exit 1
+${MSGMERGE} -q -o mm-test17.tmp.po mm-test17.po mm-test17.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test17.tmp.po > mm-test17.new.po || Exit 1
 
 cat <<\EOF > mm-test17.ok
 # Irish translations.
index 60373791996b9942fc5c7d9c21f0f47ef7794be6..ef0f6d64e0eb165707fd7e61fcd6fec545c63079 100755 (executable)
@@ -114,11 +114,11 @@ EOF
 
 : ${MSGCMP=msgcmp}
 ${MSGCMP} --use-fuzzy --use-untranslated mm-test18.po mm-test18.pot 2>/dev/null
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test18.tmp.po mm-test18.po mm-test18.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test18.tmp.po > mm-test18.new.po || exit 1
+${MSGMERGE} -q -o mm-test18.tmp.po mm-test18.po mm-test18.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test18.tmp.po > mm-test18.new.po || Exit 1
 
 # Note that the fuzzy guess for "Open" in context "Door state" could be either
 # "Ouvrir" (from context "File|") or "Ouvert" (from context "Lock state").
@@ -186,9 +186,9 @@ msgstr "photocopieur"
 EOF
 
 : ${DIFF=diff}
-${DIFF} mm-test18.ok mm-test18.new.po || exit 1
+${DIFF} mm-test18.ok mm-test18.new.po || Exit 1
 
 : ${MSGCMP=msgcmp}
-${MSGCMP} --use-fuzzy --use-untranslated mm-test18.new.po mm-test18.pot || exit 1
+${MSGCMP} --use-fuzzy --use-untranslated mm-test18.new.po mm-test18.pot || Exit 1
 
-exit 0
+Exit 0
index 740b7aed16186cc4827b3afead35904b5fa78fdd..9f54dc1f494cf3266254f369d46f3b07dce5d292 100755 (executable)
@@ -77,8 +77,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --previous -o mm-test19.tmp.po mm-test19.po mm-test19.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test19.tmp.po > mm-test19.new1.po || exit 1
+${MSGMERGE} -q --previous -o mm-test19.tmp.po mm-test19.po mm-test19.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test19.tmp.po > mm-test19.new1.po || Exit 1
 
 cat <<\EOF > mm-test19.ok1
 msgid ""
@@ -120,7 +120,7 @@ msgstr "%s: ungültige Option -- %c\n"
 EOF
 
 : ${DIFF=diff}
-${DIFF} mm-test19.ok1 mm-test19.new1.po || exit 1
+${DIFF} mm-test19.ok1 mm-test19.new1.po || Exit 1
 
 cat <<\EOF > mm-test19.pot
 # SOME DESCRIPTIVE TITLE.
@@ -161,8 +161,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --previous -o mm-test19.tmp.po mm-test19.new1.po mm-test19.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test19.tmp.po > mm-test19.new2.po || exit 1
+${MSGMERGE} -q --previous -o mm-test19.tmp.po mm-test19.new1.po mm-test19.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test19.tmp.po > mm-test19.new2.po || Exit 1
 
 cat <<\EOF > mm-test19.ok2
 msgid ""
@@ -203,6 +203,6 @@ msgstr "Argumente fehlen"
 EOF
 
 : ${DIFF=diff}
-${DIFF} mm-test19.ok2 mm-test19.new2.po || exit 1
+${DIFF} mm-test19.ok2 mm-test19.new2.po || Exit 1
 
-exit 0
+Exit 0
index f752fd9390556f21ff2bf614c01e5ec34110bbf5..5985fa87789f55e27975f2b0db437b18e978f1eb 100755 (executable)
@@ -72,8 +72,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test20.tmp.po mm-test20.po mm-test20.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test20.tmp.po > mm-test20.new.po || exit 1
+${MSGMERGE} -q -o mm-test20.tmp.po mm-test20.po mm-test20.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test20.tmp.po > mm-test20.new.po || Exit 1
 
 cat <<\EOF > mm-test20.ok
 msgid ""
@@ -109,6 +109,6 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} mm-test20.ok mm-test20.new.po || exit 1
+${DIFF} mm-test20.ok mm-test20.new.po || Exit 1
 
-exit 0
+Exit 0
index 6e1c6f5d9e9c8f6822a8581d394af69526932a21..d3c014bb619a91d26b6dda06668bb9b9e4c15326 100755 (executable)
@@ -46,8 +46,8 @@ msgstr[1] ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test21.tmp.po mm-test21.po mm-test21.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test21.tmp.po > mm-test21.new.po || exit 1
+${MSGMERGE} -q -o mm-test21.tmp.po mm-test21.po mm-test21.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test21.tmp.po > mm-test21.new.po || Exit 1
 
 cat <<\EOF > mm-test21.ok
 msgid ""
@@ -72,9 +72,9 @@ msgstr[1] "Engadir %n recursos dende o libro de enderezos"
 EOF
 
 : ${DIFF=diff}
-${DIFF} mm-test21.ok mm-test21.new.po || exit 1
+${DIFF} mm-test21.ok mm-test21.new.po || Exit 1
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --check -o mm-test21.mo mm-test21.new.po || exit 1
+${MSGFMT} --check -o mm-test21.mo mm-test21.new.po || Exit 1
 
-exit 0
+Exit 0
index b0882d7d0b9d0053c166cb7dbddf1dc51017dffa..ffda11d4e8372e1f3f1ed8bfb17f67cff5704f4f 100755 (executable)
@@ -44,8 +44,8 @@ msgstr[1] ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test22.tmp.po mm-test22.po mm-test22.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test22.tmp.po > mm-test22.new.po || exit 1
+${MSGMERGE} -q -o mm-test22.tmp.po mm-test22.po mm-test22.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test22.tmp.po > mm-test22.new.po || Exit 1
 
 cat <<\EOF > mm-test22.ok
 msgid ""
@@ -70,9 +70,9 @@ msgstr[1] "Engadir %n recursos dende o libro de enderezos"
 EOF
 
 : ${DIFF=diff}
-${DIFF} mm-test22.ok mm-test22.new.po || exit 1
+${DIFF} mm-test22.ok mm-test22.new.po || Exit 1
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --check -o mm-test22.mo mm-test22.new.po || exit 1
+${MSGFMT} --check -o mm-test22.mo mm-test22.new.po || Exit 1
 
-exit 0
+Exit 0
index 757e1905fa6556a41c8d2c32fbe601a7250fcb08..125cdfe066910aef59370c53959453f086b4ea1f 100755 (executable)
@@ -77,8 +77,8 @@ msgstr[1] ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --previous -o mm-test23.tmp.po mm-test23.po mm-test23.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test23.tmp.po > mm-test23.new.po || exit 1
+${MSGMERGE} -q --previous -o mm-test23.tmp.po mm-test23.po mm-test23.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test23.tmp.po > mm-test23.new.po || Exit 1
 
 cat <<\EOF > mm-test23.ok
 msgid ""
@@ -120,9 +120,9 @@ msgstr[1] "%n Bände"
 EOF
 
 : ${DIFF=diff}
-${DIFF} mm-test23.ok mm-test23.new.po || exit 1
+${DIFF} mm-test23.ok mm-test23.new.po || Exit 1
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --check -o mm-test23.mo mm-test23.new.po || exit 1
+${MSGFMT} --check -o mm-test23.mo mm-test23.new.po || Exit 1
 
-exit 0
+Exit 0
index a9191471fa14afb07b934a8b9c326e73f8b06b05..42b6d6fa708fde711d36e91a6ad89fb372675241 100755 (executable)
@@ -102,11 +102,11 @@ msgstr[1] ""
 EOF
 
 : ${MSGCMP=msgcmp}
-${MSGCMP} --use-fuzzy --use-untranslated mm-test24.po mm-test24.pot 2>/dev/null || exit 1
+${MSGCMP} --use-fuzzy --use-untranslated mm-test24.po mm-test24.pot 2>/dev/null || Exit 1
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test24.tmp.po mm-test24.po mm-test24.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test24.tmp.po > mm-test24.new.po || exit 1
+${MSGMERGE} -q -o mm-test24.tmp.po mm-test24.po mm-test24.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test24.tmp.po > mm-test24.new.po || Exit 1
 
 cat <<\EOF > mm-test24.ok
 msgid ""
@@ -153,9 +153,9 @@ msgstr[1] "cinq semaines et %d jours"
 EOF
 
 : ${DIFF=diff}
-${DIFF} mm-test24.ok mm-test24.new.po || exit 1
+${DIFF} mm-test24.ok mm-test24.new.po || Exit 1
 
 : ${MSGCMP=msgcmp}
-${MSGCMP} --use-fuzzy --use-untranslated mm-test24.new.po mm-test24.pot || exit 1
+${MSGCMP} --use-fuzzy --use-untranslated mm-test24.new.po mm-test24.pot || Exit 1
 
-exit 0
+Exit 0
index d0f2d2cf6c9ba921f3c50d2bef20daa094feb546..af76b48bff1d345b71addfe4e7275d453c8541f7 100755 (executable)
@@ -37,8 +37,8 @@ EOF
 
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} --add-location=file -q -o mm-test25.tmp mm-test25.in1 mm-test25.in2 \
-    || exit 1
-LC_ALL=C tr -d '\r' < mm-test25.tmp > mm-test25.out || exit 1
+    || Exit 1
+LC_ALL=C tr -d '\r' < mm-test25.tmp > mm-test25.out || Exit 1
 
 cat << EOF > mm-test25.ok
 # first
index b03d47e430d559d446cd7c6f7df806128d2010ae..3c092ed919ef6415cad041277dad1e758a519245 100755 (executable)
@@ -50,8 +50,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test3.tmp mm-test3.in1 mm-test3.in2 || exit 1
-LC_ALL=C tr -d '\r' < mm-test3.tmp > mm-test3.out || exit 1
+${MSGMERGE} -q -o mm-test3.tmp mm-test3.in1 mm-test3.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mm-test3.tmp > mm-test3.out || Exit 1
 
 cat << EOF > mm-test3.ok
 #: file3:102
index df2337726a793f6f440713fceb0c8aa06e00f7b9..423ea08d95d7d7adc454008456edebf5349581f2 100755 (executable)
@@ -25,8 +25,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test4.tmp mm-test4.in1.po mm-test4.in2.po || exit 1
-LC_ALL=C tr -d '\r' < mm-test4.tmp > mm-test4.out || exit 1
+${MSGMERGE} -q -o mm-test4.tmp mm-test4.in1.po mm-test4.in2.po || Exit 1
+LC_ALL=C tr -d '\r' < mm-test4.tmp > mm-test4.out || Exit 1
 
 cat <<EOF > mm-test4.ok
 msgid "one"
index db90c6f78b31e797bc94515ae8354ce72a79dd83..0b25be23c036ca608254bb1f82ab72ef7fccb5d9 100755 (executable)
@@ -41,8 +41,8 @@ LC_MESSAGES=C LC_ALL= \
 ${MSGMERGE} -q -o mm-test5.tmp mm-test5.in1.po mm-test5.in2.po >mm-test5.err 2>&1
 result=$?
 cat mm-test5.err | grep -v 'warning: Charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
-LC_ALL=C tr -d '\r' < mm-test5.tmp > mm-test5.out || exit 1
+test $result = 0 || { Exit 1; }
+LC_ALL=C tr -d '\r' < mm-test5.tmp > mm-test5.out || Exit 1
 
 cat <<EOF > mm-test5.ok
 # SOME DESCRIPTIVE TITLE.
index 1d073201087cba46d88c9d05a8fcec733d088a46..9b66bc774ca57d33dac703789cbc342a49c3d5ae 100755 (executable)
@@ -55,8 +55,8 @@ EOF
 
 : ${MSGMERGE=msgmerge}
 LC_MESSAGES=C LC_ALL= \
-${MSGMERGE} -q -o mm-test6.tmp mm-test6.in1.po mm-test6.in2.po || exit 1
-LC_ALL=C tr -d '\r' < mm-test6.tmp > mm-test6.out || exit 1
+${MSGMERGE} -q -o mm-test6.tmp mm-test6.in1.po mm-test6.in2.po || Exit 1
+LC_ALL=C tr -d '\r' < mm-test6.tmp > mm-test6.out || Exit 1
 
 cat <<\EOF > mm-test6.ok
 # SOME DESCRIPTIVE TITLE.
index de33984dc7cc58cea7d46848e51356847329ddca..cdc7542780e4fb5c755db0aecf5bb5fd78efc70e 100755 (executable)
@@ -39,8 +39,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o mm-test7.tmp mm-test7.po mm-test7.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test7.tmp > mm-test7.out || exit 1
+${MSGMERGE} -q -o mm-test7.tmp mm-test7.po mm-test7.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test7.tmp > mm-test7.out || Exit 1
 
 cat <<\EOF > mm-test7.ok
 domain "foo-de"
index 32a8373f2c812ef6a369930f4055e644de7042ee..c5fb4dced2031c47842cd059d3f424fc750abd7a 100755 (executable)
@@ -35,8 +35,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} --multi-domain -q -o mm-test8.tmp mm-test8.po mm-test8.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-test8.tmp > mm-test8.out || exit 1
+${MSGMERGE} --multi-domain -q -o mm-test8.tmp mm-test8.po mm-test8.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-test8.tmp > mm-test8.out || Exit 1
 
 cat <<\EOF > mm-test8.ok
 domain "foo-de"
index 449a1b8a7b20ed45881cbcbca95659a32e683e33..3d4e0086dd6bc954fc3addc5abfe428002716121 100755 (executable)
@@ -26,8 +26,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -C mm-c-1.com -o mm-c-1.tmp mm-c-1.in1 mm-c-1.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-1.tmp > mm-c-1.out || exit 1
+${MSGMERGE} -q -C mm-c-1.com -o mm-c-1.tmp mm-c-1.in1 mm-c-1.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-1.tmp > mm-c-1.out || Exit 1
 
 cat << EOF > mm-c-1.ok
 #: file.c:123
index cace4b65696d455c6cb27bbc42883888ffbb8ece..650075c9cbce9912b652229f40a27830b8961a17 100755 (executable)
@@ -26,8 +26,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -C mm-c-2.com -o mm-c-2.tmp mm-c-2.in1 mm-c-2.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-2.tmp > mm-c-2.out || exit 1
+${MSGMERGE} -q -C mm-c-2.com -o mm-c-2.tmp mm-c-2.in1 mm-c-2.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-2.tmp > mm-c-2.out || Exit 1
 
 cat << EOF > mm-c-2.ok
 #: file.c:123
index d209305c45e5636810750a6b403e739ad20e1730..ce4e5431951cfca51960f05527c19c1f8f233880 100755 (executable)
@@ -34,8 +34,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -C mm-c-3.com -o mm-c-3.tmp mm-c-3.in1 mm-c-3.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-3.tmp > mm-c-3.out || exit 1
+${MSGMERGE} -q -C mm-c-3.com -o mm-c-3.tmp mm-c-3.in1 mm-c-3.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-3.tmp > mm-c-3.out || Exit 1
 
 cat << EOF > mm-c-3.ok
 #: file.c:123
index a831624ad42c730879e6127fc364857428544670..050664e820f86cae8ebe893f01cabd2faf2bbf5f 100755 (executable)
@@ -27,8 +27,8 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --compendium mm-c-4.com -o mm-c-4.tmp /dev/null mm-c-4.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-4.tmp > mm-c-4.out || exit 1
+${MSGMERGE} -q --compendium mm-c-4.com -o mm-c-4.tmp /dev/null mm-c-4.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-4.tmp > mm-c-4.out || Exit 1
 
 cat << \EOF > mm-c-4.ok
 msgid ""
index eb80ed4267bad46200ad6915cc6e6684f8d5aa7f..5c28dd1514e0c96eb8441614353dec17003d262b 100755 (executable)
@@ -6,8 +6,8 @@
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-5.tmp \
   --compendium "$abs_srcdir"/mm-viet.comp.po \
-  /dev/null "$abs_srcdir"/mm-viet.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-5.tmp > mm-c-5.out || exit 1
+  /dev/null "$abs_srcdir"/mm-viet.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-5.tmp > mm-c-5.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} "$abs_srcdir"/mm-viet.out mm-c-5.out
index dd0411949bb2bc5d0a497ae0bf31cca6311d65f4..d5e7731573b0b702061c3dcc2f4f69e3982261dc 100755 (executable)
@@ -19,63 +19,63 @@ ${MSGCONV} --to-code=UTF-8 -o mm-ko-comp.utf-8.po "$abs_srcdir"/mm-ko-comp.euc-k
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-6-AEE.tmp \
   --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \
-  "$abs_srcdir"/mm-ko.euc-kr.po "$abs_srcdir"/mm-ko.ascii.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-6-AEE.tmp > mm-c-6-AEE.out || exit 1
+  "$abs_srcdir"/mm-ko.euc-kr.po "$abs_srcdir"/mm-ko.ascii.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-6-AEE.tmp > mm-c-6-AEE.out || Exit 1
 
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-6-AEU.tmp \
   --compendium mm-ko-comp.utf-8.po \
-  "$abs_srcdir"/mm-ko.euc-kr.po "$abs_srcdir"/mm-ko.ascii.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-6-AEU.tmp > mm-c-6-AEU.out || exit 1
+  "$abs_srcdir"/mm-ko.euc-kr.po "$abs_srcdir"/mm-ko.ascii.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-6-AEU.tmp > mm-c-6-AEU.out || Exit 1
 
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-6-AUE.tmp \
   --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \
-  mm-ko.utf-8.po "$abs_srcdir"/mm-ko.ascii.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-6-AUE.tmp > mm-c-6-AUE.out || exit 1
+  mm-ko.utf-8.po "$abs_srcdir"/mm-ko.ascii.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-6-AUE.tmp > mm-c-6-AUE.out || Exit 1
 
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-6-AUU.tmp \
   --compendium mm-ko-comp.utf-8.po \
-  mm-ko.utf-8.po "$abs_srcdir"/mm-ko.ascii.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-6-AUU.tmp > mm-c-6-AUU.out || exit 1
+  mm-ko.utf-8.po "$abs_srcdir"/mm-ko.ascii.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-6-AUU.tmp > mm-c-6-AUU.out || Exit 1
 
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-6-UEE.tmp \
   --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \
-  "$abs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-6-UEE.tmp > mm-c-6-UEE.out || exit 1
+  "$abs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-6-UEE.tmp > mm-c-6-UEE.out || Exit 1
 
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-6-UEU.tmp \
   --compendium mm-ko-comp.utf-8.po \
-  "$abs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-6-UEU.tmp > mm-c-6-UEU.out || exit 1
+  "$abs_srcdir"/mm-ko.euc-kr.po mm-ko.utf-8.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-6-UEU.tmp > mm-c-6-UEU.out || Exit 1
 
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-6-UUE.tmp \
   --compendium "$abs_srcdir"/mm-ko-comp.euc-kr.po \
-  mm-ko.utf-8.po mm-ko.utf-8.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-6-UUE.tmp > mm-c-6-UUE.out || exit 1
+  mm-ko.utf-8.po mm-ko.utf-8.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-6-UUE.tmp > mm-c-6-UUE.out || Exit 1
 
 : ${MSGMERGE=msgmerge}
 ${MSGMERGE} -q -o mm-c-6-UUU.tmp \
   --compendium mm-ko-comp.utf-8.po \
-  mm-ko.utf-8.po mm-ko.utf-8.pot || exit 1
-LC_ALL=C tr -d '\r' < mm-c-6-UUU.tmp > mm-c-6-UUU.out || exit 1
+  mm-ko.utf-8.po mm-ko.utf-8.pot || Exit 1
+LC_ALL=C tr -d '\r' < mm-c-6-UUU.tmp > mm-c-6-UUU.out || Exit 1
 
 : ${MSGCONV=msgconv}
 ${MSGCONV} --to-code=UTF-8 mm-c-6-UUU.out | LC_ALL=C tr -d '\r' > mm-c-6-U.ok
 ${MSGCONV} --to-code=EUC-KR mm-c-6-UUU.out | LC_ALL=C sed -e 's,EUC-KR,euc-kr,' | LC_ALL=C tr -d '\r' > mm-c-6-E.ok
 
 : ${DIFF=diff}
-${DIFF} mm-c-6-E.ok mm-c-6-AEE.out || { exit 1; }
-${DIFF} mm-c-6-E.ok mm-c-6-AEU.out || { exit 1; }
-${DIFF} mm-c-6-U.ok mm-c-6-AUE.out || { exit 1; }
-${DIFF} mm-c-6-U.ok mm-c-6-AUU.out || { exit 1; }
-${DIFF} mm-c-6-U.ok mm-c-6-UEE.out || { exit 1; }
-${DIFF} mm-c-6-U.ok mm-c-6-UEU.out || { exit 1; }
-${DIFF} mm-c-6-U.ok mm-c-6-UUE.out || { exit 1; }
-${DIFF} mm-c-6-U.ok mm-c-6-UUU.out || { exit 1; }
+${DIFF} mm-c-6-E.ok mm-c-6-AEE.out || { Exit 1; }
+${DIFF} mm-c-6-E.ok mm-c-6-AEU.out || { Exit 1; }
+${DIFF} mm-c-6-U.ok mm-c-6-AUE.out || { Exit 1; }
+${DIFF} mm-c-6-U.ok mm-c-6-AUU.out || { Exit 1; }
+${DIFF} mm-c-6-U.ok mm-c-6-UEE.out || { Exit 1; }
+${DIFF} mm-c-6-U.ok mm-c-6-UEU.out || { Exit 1; }
+${DIFF} mm-c-6-U.ok mm-c-6-UUE.out || { Exit 1; }
+${DIFF} mm-c-6-U.ok mm-c-6-UUU.out || { Exit 1; }
 
-exit 0
+Exit 0
index ff7c9684e1d7ab5eea3e5d2f4d6a311895ad3d1f..f7554b638f8bba855d19c5a6c0694088c488cdea 100755 (executable)
@@ -35,8 +35,8 @@ still\ existing=here is normally no comment
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --properties-input --properties-output -o mm-p-1.tmp mm-p-1.in1 mm-p-1.in2 || exit 1
-LC_ALL=C tr -d '\r' < mm-p-1.tmp > mm-p-1.out || exit 1
+${MSGMERGE} -q --properties-input --properties-output -o mm-p-1.tmp mm-p-1.in1 mm-p-1.in2 || Exit 1
+LC_ALL=C tr -d '\r' < mm-p-1.tmp > mm-p-1.out || Exit 1
 
 cat << EOF > mm-p-1.ok
 #: file3:102
index aace912fee36f1e6a530a9563da68ae155d4aca0..595f0eb18eb5fd0afffeb3265d19757a0ef629b3 100755 (executable)
@@ -16,9 +16,9 @@ cat <<EOF > mm-p-2.pot
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --properties-input --update mm-p-2.po mm-p-2.pot || exit 1
-mv mm-p-2.po mm-p-2.tmp || { exit 1; }
-LC_ALL=C tr -d '\r' < mm-p-2.tmp > mm-p-2.po || exit 1
+${MSGMERGE} -q --properties-input --update mm-p-2.po mm-p-2.pot || Exit 1
+mv mm-p-2.po mm-p-2.tmp || { Exit 1; }
+LC_ALL=C tr -d '\r' < mm-p-2.tmp > mm-p-2.po || Exit 1
 
 cat <<\EOF > mm-p-2.ok
 #. location changed
index 4a77882ded51b4c9c22e1d8e515b35769b69af31..11f072a909abd6281665018e9ece29667054ed0d 100755 (executable)
@@ -59,7 +59,7 @@ EOF
 cp mm-u-1.po mm-u-1.bak
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --update mm-u-1.po mm-u-1.pot || exit 1
+${MSGMERGE} -q --update mm-u-1.po mm-u-1.pot || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mm-u-1.bak mm-u-1.po
index 4f651ca5263e90f834f20ec3c532d3484057c290..0c499c40b376b1a6d299c4f387dafcc9b6140bb9 100755 (executable)
@@ -49,9 +49,9 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --update mm-u-2.po mm-u-2.pot || exit 1
-mv mm-u-2.po mm-u-2.tmp || { exit 1; }
-LC_ALL=C tr -d '\r' < mm-u-2.tmp > mm-u-2.po || exit 1
+${MSGMERGE} -q --update mm-u-2.po mm-u-2.pot || Exit 1
+mv mm-u-2.po mm-u-2.tmp || { Exit 1; }
+LC_ALL=C tr -d '\r' < mm-u-2.tmp > mm-u-2.po || Exit 1
 
 cat <<\EOF > mm-u-2.ok
 # SOME DESCRIPTIVE TITLE.
index 7f45a458936f5e652c6e9f6f317a14aa1794c78e..a77606e69f865d163d75f7540ddbbc1b5281b235 100755 (executable)
@@ -49,7 +49,7 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --update mm-u-3.po mm-u-3.pot || exit 1
+${MSGMERGE} -q --update mm-u-3.po mm-u-3.pot || Exit 1
 
 cat <<\EOF > mm-u-3.ok
 # SOME DESCRIPTIVE TITLE.
index e76974bb45d3aa9cb7fdd03c1ef66a0de4d8a096..8c4ea69e522c109ad037ffd12087585a45266e3a 100755 (executable)
@@ -52,7 +52,7 @@ msgstr ""
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q --update --sort-output mm-u-4.po mm-u-4.pot || exit 1
+${MSGMERGE} -q --update --sort-output mm-u-4.po mm-u-4.pot || Exit 1
 
 cat <<\EOF > mm-u-4.ok
 # SOME DESCRIPTIVE TITLE.
index ccde087ea323bf73eeb9171e0f0f8912616050ec..76aa6ac0ce390cbb327fab66acd5806cb642f485 100755 (executable)
@@ -30,11 +30,11 @@ msgstr "second"
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} -o mu-test1.mo mu-test1.in || exit 1
+${MSGFMT} -o mu-test1.mo mu-test1.in || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o mu-test1.tmp mu-test1.mo || exit 1
-LC_ALL=C tr -d '\r' < mu-test1.tmp > mu-test1.out || exit 1
+${MSGUNFMT} -o mu-test1.tmp mu-test1.mo || Exit 1
+LC_ALL=C tr -d '\r' < mu-test1.tmp > mu-test1.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mu-test1.in mu-test1.out
index 6bbac978f3d3af345ad72c3135edb3c7554e8b5a..496e9314b447164d024996a027638c3bdcc8b1f1 100755 (executable)
@@ -13,11 +13,11 @@ msgstr "schneide bei %<PRIuMAX> Bytes in Ausgabedatei %s ab"
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} -o mu-2.mo mu-2.in || exit 1
+${MSGFMT} -o mu-2.mo mu-2.in || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o mu-2.tmp mu-2.mo || exit 1
-LC_ALL=C tr -d '\r' < mu-2.tmp > mu-2.out || exit 1
+${MSGUNFMT} -o mu-2.tmp mu-2.mo || Exit 1
+LC_ALL=C tr -d '\r' < mu-2.tmp > mu-2.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mu-2.in mu-2.out
index ce54a8f068892a41ca02de3a48e12cf10544b899..42dc1cc5517e02e8a83e3af6d085ece6c86c9359 100755 (executable)
@@ -7,6 +7,6 @@
 
 for n in 1 2 3 4 5 6; do
   LANGUAGE= LC_ALL=C ${MSGUNFMT} "$abs_srcdir"/overflow-$n.mo 2>mu-3.err >/dev/null
-  test $? != 0 || exit 1
-  grep ' is truncated' mu-3.err >/dev/null || exit 1
+  test $? != 0 || Exit 1
+  grep ' is truncated' mu-3.err >/dev/null || Exit 1
 done
index 34c1141c7a788941cd827dec888fefcf019f4901..fbbd5cced9fbc574a0562f0ce2ce9150c7b3c7eb 100755 (executable)
@@ -6,15 +6,15 @@
 # Test whether we can compile and execute C# programs.
 test "${CSHARP_CHOICE}" != no || {
   echo "Skipping test: configured with --disable-csharp"
-  exit 77
+  Exit 77
 }
 test "${BUILDCSHARP}" = yes || {
   echo "Skipping test: C# compiler not found"
-  exit 77
+  Exit 77
 }
 test "${TESTCSHARP}" = yes || {
   echo "Skipping test: C# engine not found"
-  exit 77
+  Exit 77
 }
 
 test -d mu-cs-1 || mkdir mu-cs-1
@@ -52,15 +52,15 @@ EOF
 
 : ${MSGFMT=msgfmt}
 GETTEXTCSHARPLIBDIR=../../../gettext-runtime/intl-csharp \
-${MSGFMT} --csharp -d mu-cs-1 -r prog -l fr mu-cs-1/fr.po || exit 1
+${MSGFMT} --csharp -d mu-cs-1 -r prog -l fr mu-cs-1/fr.po || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
 GETTEXTCSHARPEXEDIR=../../src \
 GETTEXTCSHARPLIBDIR=../../../gettext-runtime/intl-csharp \
-${MSGUNFMT} --csharp -d mu-cs-1 -r prog -l fr -o mu-cs-1/prog.out || exit 1
+${MSGUNFMT} --csharp -d mu-cs-1 -r prog -l fr -o mu-cs-1/prog.out || Exit 1
 
 : ${MSGCAT=msgcat}
-${MSGCAT} -s -o mu-cs-1/prog.sort mu-cs-1/prog.out || exit 1
+${MSGCAT} -s -o mu-cs-1/prog.sort mu-cs-1/prog.out || Exit 1
 
 cat <<\EOF > mu-cs-1/prog.ok
 msgid ""
@@ -87,6 +87,6 @@ msgid "{0} is replaced by {1}."
 msgstr "{1} remplace {0}."
 EOF
 : ${DIFF=diff}
-${DIFF} mu-cs-1/prog.ok mu-cs-1/prog.sort || exit 1
+${DIFF} mu-cs-1/prog.ok mu-cs-1/prog.sort || Exit 1
 
-exit 0
+Exit 0
index 8857eb1790b25030429c095efd4c89a7fcaf1b24..3b807f07deb588540e602cf8d772be9b3690b116 100755 (executable)
@@ -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
index 41fd81156ba832b59a08db7138cbadc17b795cc8..2184dbd0e0bcb75b4c1b9535fc230c9c8addb764 100755 (executable)
@@ -22,11 +22,11 @@ two=second
 EOF
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --properties-input -o mu-p-1.mo mu-p-1.in || exit 1
+${MSGFMT} --properties-input -o mu-p-1.mo mu-p-1.in || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} --properties-output -o mu-p-1.tmp mu-p-1.mo || exit 1
-LC_ALL=C tr -d '\r' < mu-p-1.tmp > mu-p-1.out || exit 1
+${MSGUNFMT} --properties-output -o mu-p-1.tmp mu-p-1.mo || Exit 1
+LC_ALL=C tr -d '\r' < mu-p-1.tmp > mu-p-1.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} mu-p-1.in mu-p-1.out
index ab493d7916ce6d24e9c29c6beae952f016b49b8f..6a2d2e06a0d996161f16654daf5d0b92ff0bd845 100755 (executable)
@@ -18,7 +18,7 @@ puts $tcl_version
 EOF
 (tclsh mu-tcl-1-version.tcl) >/dev/null 2>/dev/null \
   || { echo "Skipping test: tclsh not found or Tcl too old"
-       exit 77
+       Exit 77
      }
 
 cat <<\EOF > mu-tcl-1-fr.po
@@ -39,11 +39,11 @@ EOF
 test -d mu-tcl-1-msgs || mkdir mu-tcl-1-msgs
 
 : ${MSGFMT=msgfmt}
-${MSGFMT} --tcl -d mu-tcl-1-msgs -l fr mu-tcl-1-fr.po || exit 1
+${MSGFMT} --tcl -d mu-tcl-1-msgs -l fr mu-tcl-1-fr.po || Exit 1
 
 : ${MSGUNFMT=msgunfmt}
 GETTEXTDATADIR="$abs_top_srcdir"/src \
-${MSGUNFMT} --tcl -d mu-tcl-1-msgs -l fr -o mu-tcl-1-prog.out || exit 1
+${MSGUNFMT} --tcl -d mu-tcl-1-msgs -l fr -o mu-tcl-1-prog.out || Exit 1
 
 cat <<\EOF > mu-tcl-1-prog.ok
 msgid ""
@@ -56,6 +56,6 @@ msgid "%s is replaced by %s."
 msgstr "%2$s remplace %1$s."
 EOF
 : ${DIFF=diff}
-${DIFF} mu-tcl-1-prog.ok mu-tcl-1-prog.out || exit 1
+${DIFF} mu-tcl-1-prog.ok mu-tcl-1-prog.out || Exit 1
 
-exit 0
+Exit 0
index 326e48e96a931d52828cc82fff716d10313a32c4..b96238eba43cc96f0df83abbbb61bfd4cafe0a95 100755 (executable)
@@ -4,8 +4,8 @@
 # Test general operation.
 
 : ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -o msguniq-1.tmp "$abs_srcdir"/msguniq-a.in || exit 1
-LC_ALL=C tr -d '\r' < msguniq-1.tmp > msguniq-1.out || exit 1
+${MSGUNIQ} -w 1000 -o msguniq-1.tmp "$abs_srcdir"/msguniq-a.in || Exit 1
+LC_ALL=C tr -d '\r' < msguniq-1.tmp > msguniq-1.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} "$abs_srcdir"/msguniq-a.out msguniq-1.out
index f5e77f931cf344772238b3b26e3ae23791bfa5ec..234274aec17b6de10d992236b120a94d40d519c8 100755 (executable)
@@ -4,8 +4,8 @@
 # Test --unique option.
 
 : ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -u -o msguniq-2.tmp "$abs_srcdir"/msguniq-a.in || exit 1
-LC_ALL=C tr -d '\r' < msguniq-2.tmp > msguniq-2.out || exit 1
+${MSGUNIQ} -w 1000 -u -o msguniq-2.tmp "$abs_srcdir"/msguniq-a.in || Exit 1
+LC_ALL=C tr -d '\r' < msguniq-2.tmp > msguniq-2.out || Exit 1
 
 cat <<\EOF > msguniq-2.ok
 # Template messages for CLISP
index 672e0c3753fe00c5d54432bb83475e4d672bec3d..0949d9d8f7afb02a590fc586d51412339c1ae8aa 100755 (executable)
@@ -4,8 +4,8 @@
 # Test --repeated option.
 
 : ${MSGUNIQ-msguniq}
-${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp "$abs_srcdir"/msguniq-a.in || exit 1
-LC_ALL=C tr -d '\r' < msguniq-3.tmp > msguniq-3.out || exit 1
+${MSGUNIQ} -w 1000 -d -o msguniq-3.tmp "$abs_srcdir"/msguniq-a.in || Exit 1
+LC_ALL=C tr -d '\r' < msguniq-3.tmp > msguniq-3.out || Exit 1
 
 cat <<\EOF > msguniq-3.ok
 # Template messages for CLISP
index 89e1279a9fef1edbf4c1fe4c02305105eea24d12..e4e5e48a3c94c1120fdd0bcf73d70dee8654c3c9 100755 (executable)
@@ -4,10 +4,10 @@
 # Test general operation with Java .properties syntax.
 
 : ${MSGUNIQ-msguniq}
-${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out "$abs_srcdir"/msguniq-a.inp || exit 1
+${MSGUNIQ} --properties-input --properties-output -w 1000 -o msguniq-4.out "$abs_srcdir"/msguniq-a.inp || Exit 1
 
 : ${MSGCAT-msgcat}
-${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok "$abs_srcdir"/msguniq-a.out || exit 1
+${MSGCAT} --properties-output -w 1000 -o msguniq-4.ok "$abs_srcdir"/msguniq-a.out || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} msguniq-4.ok msguniq-4.out
index 530efab0f3573e7060e953cee87c775f2902ffde..a73aecbc6f1f903f9527c6515b9a20fb11b6163c 100755 (executable)
@@ -54,8 +54,8 @@ msgstr "photocopieur"
 EOF
 
 : ${MSGUNIQ-msguniq}
-${MSGUNIQ} -o msguniq-5.tmp msguniq-5.po || exit 1
-LC_ALL=C tr -d '\r' < msguniq-5.tmp > msguniq-5.out || exit 1
+${MSGUNIQ} -o msguniq-5.tmp msguniq-5.po || Exit 1
+LC_ALL=C tr -d '\r' < msguniq-5.tmp > msguniq-5.out || Exit 1
 
 cat <<\EOF > msguniq-5.ok
 msgid ""
index 51a1220c85482b40b7fbdffae5f10590a63c0d45..36d5027940649bd57bc91337066d7f985cdfbec7 100755 (executable)
@@ -67,8 +67,8 @@ msgstr "%s: Option erwartet ein Argument -- %c\n"
 EOF
 
 : ${MSGUNIQ=msguniq}
-${MSGUNIQ} -o msguniq-6.tmp msguniq-6.in || exit 1
-LC_ALL=C tr -d '\r' < msguniq-6.tmp > msguniq-6.out || exit 1
+${MSGUNIQ} -o msguniq-6.tmp msguniq-6.in || Exit 1
+LC_ALL=C tr -d '\r' < msguniq-6.tmp > msguniq-6.out || Exit 1
 
 cat <<\EOF > msguniq-6.ok
 msgid ""
index 5cae2e91e98f5b1ac122c620eb041da10b26ddff..a8662707924b9dcc9ce95f8aa4e2884e5d18be5e 100755 (executable)
@@ -14,8 +14,8 @@ msgstr ""
 EOF
 
 : ${MSGUNIQ-msguniq}
-${MSGUNIQ} --add-location=file -o msguniq-7.tmp msguniq-7.in || exit 1
-LC_ALL=C tr -d '\r' < msguniq-7.tmp > msguniq-7.out || exit 1
+${MSGUNIQ} --add-location=file -o msguniq-7.tmp msguniq-7.in || Exit 1
+LC_ALL=C tr -d '\r' < msguniq-7.tmp > msguniq-7.out || Exit 1
 
 cat <<\EOF > msguniq-7.ok
 #: foo bar
index 198283aad69b3cbac3cc570aa173b1444895e9fb..66dd10b761b58029be8506226b023e2470acc1f5 100755 (executable)
@@ -2,8 +2,8 @@
 . "${srcdir=.}/init.sh"; path_prepend_ . ../src
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o plural-1-cake.tmp --omit-header --no-location "$abs_srcdir"/plural-1-prg.c || exit 1
-LC_ALL=C tr -d '\r' < plural-1-cake.tmp > plural-1-cake.pot || exit 1
+${XGETTEXT} -o plural-1-cake.tmp --omit-header --no-location "$abs_srcdir"/plural-1-prg.c || Exit 1
+LC_ALL=C tr -d '\r' < plural-1-cake.tmp > plural-1-cake.pot || Exit 1
 
 cat <<EOF > plural-1-cake.ok
 #, c-format
@@ -14,7 +14,7 @@ msgstr[1] ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} plural-1-cake.ok plural-1-cake.pot || exit 1
+${DIFF} plural-1-cake.ok plural-1-cake.pot || Exit 1
 
 cat <<EOF > plural-1-fr.po
 # Les gateaux allemands sont les meilleurs du monde.
@@ -26,11 +26,11 @@ msgstr[1] "%d morceaux de gateau"
 EOF
 
 : ${MSGMERGE=msgmerge}
-${MSGMERGE} -q -o plural-1-fr.po.tmp plural-1-fr.po plural-1-cake.pot || exit 1
-LC_ALL=C tr -d '\r' < plural-1-fr.po.tmp > plural-1-fr.po.new || exit 1
+${MSGMERGE} -q -o plural-1-fr.po.tmp plural-1-fr.po plural-1-cake.pot || Exit 1
+LC_ALL=C tr -d '\r' < plural-1-fr.po.tmp > plural-1-fr.po.new || Exit 1
 
 : ${DIFF=diff}
-${DIFF} plural-1-fr.po plural-1-fr.po.new || exit 1
+${DIFF} plural-1-fr.po plural-1-fr.po.new || Exit 1
 
 test -d plural-1-dir || mkdir plural-1-dir
 test -d plural-1-dir/fr || mkdir plural-1-dir/fr
@@ -40,26 +40,26 @@ test -d plural-1-dir/fr/LC_MESSAGES || mkdir plural-1-dir/fr/LC_MESSAGES
 ${MSGFMT} -o plural-1-dir/fr/LC_MESSAGES/cake.mo plural-1-fr.po
 
 : ${MSGUNFMT=msgunfmt}
-${MSGUNFMT} -o plural-1-fr.po.tmp plural-1-dir/fr/LC_MESSAGES/cake.mo || exit 1
-LC_ALL=C tr -d '\r' < plural-1-fr.po.tmp > plural-1-fr.po.un || exit 1
+${MSGUNFMT} -o plural-1-fr.po.tmp plural-1-dir/fr/LC_MESSAGES/cake.mo || Exit 1
+LC_ALL=C tr -d '\r' < plural-1-fr.po.tmp > plural-1-fr.po.un || Exit 1
 
 sed 1,2d < plural-1-fr.po > plural-1-fr.po.strip
 
 : ${DIFF=diff}
-${DIFF} plural-1-fr.po.strip plural-1-fr.po.un || exit 1
+${DIFF} plural-1-fr.po.strip plural-1-fr.po.un || Exit 1
 
 : ${DIFF=diff}
 echo 'un morceau de gateau' > plural-1-cake.ok
-LANGUAGE= ../cake fr 1 > plural-1-cake.tmp || exit 1
-LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || exit 1
-${DIFF} plural-1-cake.ok cake.out || exit 1
+LANGUAGE= ../cake fr 1 > plural-1-cake.tmp || Exit 1
+LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || Exit 1
+${DIFF} plural-1-cake.ok cake.out || Exit 1
 echo '2 morceaux de gateau' > plural-1-cake.ok
-LANGUAGE= ../cake fr 2 > plural-1-cake.tmp || exit 1
-LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || exit 1
-${DIFF} plural-1-cake.ok cake.out || exit 1
+LANGUAGE= ../cake fr 2 > plural-1-cake.tmp || Exit 1
+LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || Exit 1
+${DIFF} plural-1-cake.ok cake.out || Exit 1
 echo '10 morceaux de gateau' > plural-1-cake.ok
-LANGUAGE= ../cake fr 10 > plural-1-cake.tmp || exit 1
-LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || exit 1
-${DIFF} plural-1-cake.ok cake.out || exit 1
+LANGUAGE= ../cake fr 10 > plural-1-cake.tmp || Exit 1
+LC_ALL=C tr -d '\r' < plural-1-cake.tmp > cake.out || Exit 1
+${DIFF} plural-1-cake.ok cake.out || Exit 1
 
-exit 0
+Exit 0
index 411626394c6637937a749a1cd49672d8f4d6682f..983f2077288c94483d54ae41ba1b3e170d92b1ae 100755 (executable)
@@ -65,7 +65,7 @@ msgstr[7] "7"
 msgstr[8] "8"
 msgstr[9] "9"
 EOF
-  ${MSGFMT} -o plural-2-dir/ll/LC_MESSAGES/plural.mo plural-2-ll.po || exit 1
+  ${MSGFMT} -o plural-2-dir/ll/LC_MESSAGES/plural.mo plural-2-ll.po || Exit 1
   (for i in '' 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19; do
      LANGUAGE= TEXTDOMAIN=plural TEXTDOMAINDIR=plural-2-dir \
        $NGETTEXT --env LC_ALL=ll X Y ${i}0 ${i}1 ${i}2 ${i}3 ${i}4 ${i}5 ${i}6 ${i}7 ${i}8 ${i}9
@@ -75,8 +75,8 @@ EOF
     echo "plural=${formula}" 1>&2
     echo "Expected: $dataok" 1>&2
     echo "Got:      "`cat dataout` 1>&2
-    exit 1
+    Exit 1
   }
 done < plural-2.data
 
-exit 0
+Exit 0
index af74893b746e75f868ad600e86b5931571b08232..9bdd9124b9121879ffc36d1db51dc19f0a7131f5 100755 (executable)
@@ -10,7 +10,7 @@ if test $LOCALE_FR_UTF8 != none; then
   case $? in
     0) ;;
     77) LOCALE_FR_UTF8=none;;
-    *) exit 1;;
+    *) Exit 1;;
   esac
 fi
 if test $LOCALE_FR_UTF8 = none; then
@@ -19,7 +19,7 @@ if test $LOCALE_FR_UTF8 = none; then
   else
     echo "Skipping test: no french UTF-8 locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 cat <<\EOF > rec-srl-1.in
@@ -34,7 +34,7 @@ EOF
 : ${RECODE=recode}
 LC_ALL=$LOCALE_FR_UTF8 \
 ${RECODE}-sr-latin < rec-srl-1.in > rec-srl-1.out \
-  || { exit 1; }
+  || { Exit 1; }
 
 cat <<\EOF > rec-srl-1.ok
 Ispravni argumenti su
index 7f13bd57eace46615e7f53ae957262414cb8f484..61aa233a89f9213a57a4db645773fceecef97b0a 100755 (executable)
@@ -16,7 +16,7 @@ if test $LOCALE_JA = none; then
   else
     echo "Skipping test: no japanese EUC-JP locale is supported"
   fi
-  exit 77
+  Exit 77
 fi
 
 cat <<\EOF > rec-srl-2.in
@@ -27,7 +27,7 @@ EOF
 : ${RECODE=recode}
 LC_ALL=$LOCALE_JA \
 ${RECODE}-sr-latin < rec-srl-2.in > rec-srl-2.out \
-  || { exit 1; }
+  || { Exit 1; }
 
 cat <<\EOF > rec-srl-2.ok
 Ispravni argumenti su
index f5adb4ca5a37d97bdae6ea00ad03a34223a63cb2..62b5a04bee5718175a19914294bd2cbef3e2e2d1 100755 (executable)
@@ -113,9 +113,9 @@ This is a secondary sentence
 
 EOF
 
-../sentence-1-prg < s1.in > s1.out || exit 1
+../sentence-1-prg < s1.in > s1.out || Exit 1
 
 : ${DIFF=diff}
-${DIFF} s1.ok s1.out || exit 1
+${DIFF} s1.ok s1.out || Exit 1
 
-exit 0
+Exit 0
index 5165968f74f1f78d549eda029454156032656e2e..29695a36925358f4e39d84f53c4318d4719e67a5 100755 (executable)
@@ -12,7 +12,7 @@ ${XGETTEXT} -k_ -d zero-domain -x "$abs_top_srcdir"/po/gettext-tools.pot \
   "$abs_top_srcdir"/src/xgettext.c >xg-test1.err 2>&1
 result=$?
 cat xg-test1.err | grep -v 'warning: Charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 test ! -f zero-domain.po
 result=$?
index 632a4ee6d7b33100305b4fc34e78571333edabc1..b82fa95f12df2fa052a61f91d02771e326e28467 100755 (executable)
@@ -17,7 +17,7 @@ ${XGETTEXT} --add-location=file --omit-header xg-test10a.c xg-test10b.c \
             -o xg-test10.out >xg-test10.err 2>&1
 result=$?
 cat xg-test10.err | grep -v 'warning: Charset' | grep -v '^ '
-test $result = 0 || { exit 1; }
+test $result = 0 || { Exit 1; }
 
 cat <<\EOF > xg-test10.ok
 #: xg-test10a.c xg-test10b.c
index 1b7a8693e4822c34a3ce3d58d1a4b24c6d196ffa..2378ceac4aa2ae6b5b62b4e07c8724fe77403759 100755 (executable)
@@ -17,8 +17,8 @@ gettext ("def");
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --no-location --omit-header --add-comments=TRANSLATORS: -d xg-test11.tmp xg-test11.c || exit 1
-LC_ALL=C tr -d '\r' < xg-test11.tmp.po > xg-test11.po || exit 1
+${XGETTEXT} --no-location --omit-header --add-comments=TRANSLATORS: -d xg-test11.tmp xg-test11.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-test11.tmp.po > xg-test11.po || Exit 1
 
 cat <<\EOF > xg-test11.ok
 #. TRANSLATORS: this
index fe76f1aad20b8c0fd46c32d4af24a99d3b706ccc..e0ffb5a57e7172b86f1c014db9c3065404cb2b1f 100755 (executable)
@@ -15,8 +15,8 @@ xngettext ("def", 1);
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --add-comments -kngettext:1,1 -kxngettext:1,1 -d xg-test12.tmp xg-test12.c || exit 1
-LC_ALL=C tr -d '\r' < xg-test12.tmp.po > xg-test12.po || exit 1
+${XGETTEXT} --omit-header --add-comments -kngettext:1,1 -kxngettext:1,1 -d xg-test12.tmp xg-test12.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-test12.tmp.po > xg-test12.po || Exit 1
 
 cat <<\EOF > xg-test12.ok
 #: xg-test12.c:1 xg-test12.c:2
index dcd100433e65d836085df0be861798adf9fa46a0..923a67dbc1e6de16152ad54a4a2a8a93ade0265b 100755 (executable)
@@ -36,8 +36,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --add-location --width=30 -d xg-test13.tmp \
-            xg-test13.c || exit 1
-LC_ALL=C tr -d '\r' < xg-test13.tmp.po > xg-test13.po || exit 1
+            xg-test13.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-test13.tmp.po > xg-test13.po || Exit 1
 
 cat <<\EOF > xg-test13.ok
 #: x:1 x:2 x:3 x:4 x:5 x:6 x:7
index 8df8a041063b18dff8fd62bf333cbeda1cc8e2dd..8035820a9d4da9bb08566f138f269a320aeae243 100755 (executable)
@@ -20,11 +20,11 @@ EOF
 : ${XGETTEXT=xgettext}
 LANGUAGE= LC_ALL=C ${XGETTEXT} --omit-header --add-comments --check=ellipsis-unicode -d xg-ellipsis-u.tmp xg-ellipsis-u.c 2>xg-ellipsis-u.err
 
-test `grep -c 'ASCII ellipsis' xg-ellipsis-u.err` = 4 || exit 1
+test `grep -c 'ASCII ellipsis' xg-ellipsis-u.err` = 4 || Exit 1
 
 LANGUAGE= LC_ALL=C ${XGETTEXT} --omit-header --add-comments --check=ellipsis-unicode --sentence-end=double-space -d xg-ellipsis-ud.tmp xg-ellipsis-u.c 2>xg-ellipsis-ud.err
 
-test `grep -c 'ASCII ellipsis' xg-ellipsis-ud.err` = 3 || exit 1
+test `grep -c 'ASCII ellipsis' xg-ellipsis-ud.err` = 3 || Exit 1
 
 # --check=space-ellipsis
 cat <<\EOF > xg-space-e.c
@@ -40,7 +40,7 @@ EOF
 
 LANGUAGE= LC_ALL=C ${XGETTEXT} --omit-header --add-comments --check=space-ellipsis -d xg-space-e.tmp xg-space-e.c 2>xg-space-e.err
 
-test `grep -c 'space before ellipsis' xg-space-e.err` = 3 || exit 1
+test `grep -c 'space before ellipsis' xg-space-e.err` = 3 || Exit 1
 
 # --check=quote-unicode
 cat <<\EOF > xg-quote-u.c
@@ -94,8 +94,8 @@ EOF
 
 LANGUAGE= LC_ALL=C ${XGETTEXT} --omit-header --add-comments --check=quote-unicode -d xg-quote-u.tmp xg-quote-u.c 2>xg-quote-u.err
 
-test `grep -c 'ASCII double quote' xg-quote-u.err` = 4 || exit 1
-test `grep -c 'ASCII single quote' xg-quote-u.err` = 12 || exit 1
+test `grep -c 'ASCII double quote' xg-quote-u.err` = 4 || Exit 1
+test `grep -c 'ASCII single quote' xg-quote-u.err` = 12 || Exit 1
 
 # --check=bullet-unicode
 cat <<\EOF > xg-bullet-u1.c
@@ -108,7 +108,7 @@ EOF
 : ${XGETTEXT=xgettext}
 LANGUAGE= LC_ALL=C ${XGETTEXT} --omit-header --add-comments --check=bullet-unicode -d xg-bullet-u1.tmp xg-bullet-u1.c 2>xg-bullet-u1.err
 
-test `grep -c 'ASCII bullet' xg-bullet-u1.err` = 1 || { cat xg-bullet-u1.err; exit 1; }
+test `grep -c 'ASCII bullet' xg-bullet-u1.err` = 1 || { cat xg-bullet-u1.err; Exit 1; }
 
 cat <<\EOF > xg-bullet-u2.c
 gettext ("The following is a list of items:\n\
@@ -120,7 +120,7 @@ EOF
 : ${XGETTEXT=xgettext}
 LANGUAGE= LC_ALL=C ${XGETTEXT} --omit-header --add-comments --check=bullet-unicode -d xg-bullet-u2.tmp xg-bullet-u2.c 2>xg-bullet-u2.err
 
-test `grep -c 'ASCII bullet' xg-bullet-u2.err` = 1 || { cat xg-bullet-u2.err; exit 1; }
+test `grep -c 'ASCII bullet' xg-bullet-u2.err` = 1 || { cat xg-bullet-u2.err; Exit 1; }
 
 cat <<\EOF > xg-bullet-u3.c
 gettext ("The following is NOT a list of items:\n\
@@ -132,4 +132,4 @@ EOF
 : ${XGETTEXT=xgettext}
 LANGUAGE= LC_ALL=C ${XGETTEXT} --omit-header --add-comments --check=bullet-unicode -d xg-bullet-u3.tmp xg-bullet-u3.c 2>xg-bullet-u3.err
 
-test `grep -c 'ASCII bullet' xg-bullet-u3.err` = 0 || { cat xg-bullet-u3.err; exit 1; }
+test `grep -c 'ASCII bullet' xg-bullet-u3.err` = 0 || { cat xg-bullet-u3.err; Exit 1; }
index ffdd355eff17e685418e336aaac0dbb2d5df37d8..0535a974ce9c853ceee2e1b3a2e11e7471b515ce 100755 (executable)
@@ -22,8 +22,8 @@ _("")
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -d xg-test2.tmp -k_ --omit-header --no-location xg-test2.in.c || exit 1
-LC_ALL=C tr -d '\r' < xg-test2.tmp.po > xg-test2.po || exit 1
+${XGETTEXT} -d xg-test2.tmp -k_ --omit-header --no-location xg-test2.in.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-test2.tmp.po > xg-test2.po || Exit 1
 
 cat <<EOF > xg-test2.ok
 #, no-c-format
index b3e73806a47e83a20489b866854a7b09ea5eae8c..85be8ef95a0d5bb556c1387a183cb5d10b94452a 100755 (executable)
@@ -13,9 +13,9 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --no-location -k_ -o xg-test5.po xg-test5.c 2>/dev/null
-test $? = 1 || { exit 1; }
-${XGETTEXT} --no-location -k_ --from-code=iso-8859-2 -o xg-test5.tmp xg-test5.c || exit 1
-LC_ALL=C tr -d '\r' < xg-test5.tmp > xg-test5.po || exit 1
+test $? = 1 || { Exit 1; }
+${XGETTEXT} --no-location -k_ --from-code=iso-8859-2 -o xg-test5.tmp xg-test5.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-test5.tmp > xg-test5.po || Exit 1
 
 sed -e '/POT-Creation-Date/d' < xg-test5.po > xg-test5.pot
 
index 5a54aa380f39098ece5b7259b3bd53669d8d8005..2bb6c762f6cbcaba29c6b94bda65ccb72dd4e832 100755 (executable)
@@ -78,8 +78,8 @@ ${XGETTEXT} --omit-header --no-location -d xg-test6.tmp \
   --flag=my_printf:1:python-format \
   xg-test6.c xg-test6.sh xg-test6.py xg-test6.lisp xg-test6.el \
   xg-test6.jl xg-test6.java xg-test6.awk xg-test6.ycp xg-test6.tcl \
-  xg-test6.pl xg-test6.php  || exit 1
-LC_ALL=C tr -d '\r' < xg-test6.tmp.po > xg-test6.po || exit 1
+  xg-test6.pl xg-test6.php  || Exit 1
+LC_ALL=C tr -d '\r' < xg-test6.tmp.po > xg-test6.po || Exit 1
 
 cat <<\EOF > xg-test6.ok
 #, c-format
index 22e882bdccf22f7af49489eeb507aabc497607c5..3bd94fc52699dc35d403e0ee0fa29bfc50661718 100755 (executable)
@@ -18,8 +18,8 @@ gettext ("abc");
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --add-comments -d xg-test7.tmp xg-test7.c || exit 1
-LC_ALL=C tr -d '\r' < xg-test7.tmp.po > xg-test7.po || exit 1
+${XGETTEXT} --omit-header --add-comments -d xg-test7.tmp xg-test7.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-test7.tmp.po > xg-test7.po || Exit 1
 
 cat <<\EOF > xg-test7.ok
 #. first comment
index 2194aedcd7ef4ee0dacfa9cc48db40391cc8d866..8475a899dfe1ec459ba98965d79d2f4574919f99 100755 (executable)
@@ -32,7 +32,7 @@ _("extract me")
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -a -j -o xg-test8.po xg-test8.in.c || exit 1
+${XGETTEXT} -a -j -o xg-test8.po xg-test8.in.c || Exit 1
 
 sed -e '/POT-Creation-Date/d' < xg-test8.po | LC_ALL=C tr -d '\r' > xg-test8.pot
 
index 9489be0f747adebbdf53193820e96a34c5bd1d16..fb16dc9c4677d7712c96f5b7b78d442c6f8bcddc 100755 (executable)
@@ -23,8 +23,8 @@ EOF
 ${XGETTEXT} --omit-header \
   --keyword=label:1,\"xhtml-format\",\"xml-format\" \
   --keyword=title:1,\"xhtml-format\",\"xml-format\" \
-  -d xg-test9.tmp xg-test9.c || exit 1
-LC_ALL=C tr -d '\r' < xg-test9.tmp.po > xg-test9.po || exit 1
+  -d xg-test9.tmp xg-test9.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-test9.tmp.po > xg-test9.po || Exit 1
 
 cat <<\EOF > xg-test9.ok
 #. xhtml-format
index 47a8884326c5c31cf4f03d456be85c9a490279ff..ac0ed7e70e6ce233db0acac7170f40567d7e5b00 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} -o xg-gs-1.pot xg-gs-1-empty.appdata.xml 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without AppData support"
-  exit 77
+  Exit 77
 }
 
 cat <<EOF > xg-gs-1.appdata.xml
@@ -57,7 +57,7 @@ cat <<EOF > xg-gs-1.appdata.xml
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --add-comments -o - xg-gs-1.appdata.xml | grep -v 'POT-Creation-Date' > xg-gs-1.pot || exit 1
+${XGETTEXT} --add-comments -o - xg-gs-1.appdata.xml | grep -v 'POT-Creation-Date' > xg-gs-1.pot || Exit 1
 
 cat <<EOF > xg-gs-1.ok
 # SOME DESCRIPTIVE TITLE.
index bd82add8cd34eb44899f229ece9af3719acc5004..651ea4e9da6a3d9bf0fde8228eed9e7743b48e02 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-a-1.tmp xg-a-1.awk || exit 1
-LC_ALL=C tr -d '\r' < xg-a-1.tmp.po > xg-a-1.po || exit 1
+  -d xg-a-1.tmp xg-a-1.awk || Exit 1
+LC_ALL=C tr -d '\r' < xg-a-1.tmp.po > xg-a-1.po || Exit 1
 
 cat <<EOF > xg-a-1.ok
 msgid "help"
index 14908fe15bd18f5162561c69cf45e41cc53b515c..4c904c831dfcc6033e2659a0d2574e5eaf75fe6b 100755 (executable)
@@ -14,8 +14,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-a-2.tmp xg-a-2.awk || exit 1
-LC_ALL=C tr -d '\r' < xg-a-2.tmp.po > xg-a-2.po || exit 1
+  -d xg-a-2.tmp xg-a-2.awk || Exit 1
+LC_ALL=C tr -d '\r' < xg-a-2.tmp.po > xg-a-2.po || Exit 1
 
 cat <<EOF > xg-a-2.ok
 #. a
index 039e7ec7229803bcfe4431070140d54d2d8d8cad..b1b5e1087151f391d7a3d723a1fe0e5de10da3c8 100755 (executable)
@@ -7,8 +7,8 @@
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} -d xg-c-1.tmp -k_ --omit-header --no-location \
- "$abs_top_srcdir"/src/xgettext.c "$abs_top_srcdir"/src/msgfmt.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-1.tmp.po > xg-c-1.po || exit 1
+ "$abs_top_srcdir"/src/xgettext.c "$abs_top_srcdir"/src/msgfmt.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-1.tmp.po > xg-c-1.po || Exit 1
 
 : ${DIFF=diff}
 ${DIFF} "$abs_srcdir"/xg-c-1.ok.po xg-c-1.po
index 5c876b075b4468a32aed3076365b81d3d1671acd..9e4e3e95b02f0f001e4a23ab48489da782eee21a 100755 (executable)
@@ -16,8 +16,8 @@ EOF
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location \
   --keyword=i18n:1 --keyword=i18n:1c,2 --keyword=tr:1 --keyword=tr:1,2c \
-  -d xg-c-10.tmp xg-c-10.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-10.tmp.po > xg-c-10.po || exit 1
+  -d xg-c-10.tmp xg-c-10.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-10.tmp.po > xg-c-10.po || Exit 1
 
 cat <<EOF > xg-c-10.ok
 msgid "help"
index 2019eb808f747a5edd09dc59811c14eae4311c43..bc66f3134e3c32a1336dfa0f3098b19735dc17dd 100755 (executable)
@@ -16,8 +16,8 @@ EOF
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location \
   --keyword=i18n:1 --keyword=i18n:1c,2,2t --keyword=i18n:1,2,3t \
-  -d xg-c-11.tmp xg-c-11.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-11.tmp.po > xg-c-11.po || exit 1
+  -d xg-c-11.tmp xg-c-11.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-11.tmp.po > xg-c-11.po || Exit 1
 
 cat <<EOF > xg-c-11.ok
 msgid "help"
index 2e9d7fdac89594f0034456fb18b8ef785ff899e2..6fe1d7ff9983a66287b2120b18e85c9e23b662e9 100755 (executable)
@@ -9,8 +9,8 @@ gettext ("%1% on, %2% off");
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-c-12.tmp xg-c-12.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-12.tmp.po > xg-c-12.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-c-12.tmp xg-c-12.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-12.tmp.po > xg-c-12.po || Exit 1
 
 cat <<EOF > xg-c-12.ok
 msgid "%1% on, %2% off"
index 01464b0aaf030a59334c2e5d93f9ff5c3fc0f900..9e33faa5820be8e2fadd781440411563bf95a2b2 100755 (executable)
@@ -15,8 +15,8 @@ ${XGETTEXT} --omit-header --no-location -d xg-c-13.tmp \
   --qt \
   --flag=foo:1:qt-format --flag=gettext:1:pass-qt-format \
   --keyword=tr:1,1t --keyword=tr:1,2c,2t --keyword=tr:1,1,2c,3t \
-  xg-c-13.cc || exit 1
-LC_ALL=C tr -d '\r' < xg-c-13.tmp.po > xg-c-13.po || exit 1
+  xg-c-13.cc || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-13.tmp.po > xg-c-13.po || Exit 1
 
 cat <<EOF > xg-c-13.ok
 #, qt-format
index 2cb5a5c500504b8b93c3e688ae34b985ac2dff60..498d07c9a4e9ce7ce3e2fca271257a3ba4efe231 100755 (executable)
@@ -17,8 +17,8 @@ gettext("heuristic %1% on, %2% off");
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-c-14.tmp --boost xg-c-14.cc || exit 1
-LC_ALL=C tr -d '\r' < xg-c-14.tmp.po > xg-c-14.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-c-14.tmp --boost xg-c-14.cc || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-14.tmp.po > xg-c-14.po || Exit 1
 
 # The first 4 are not marked as c-format, because they are known as
 # boost-format. The last 4 are governed by the heuristic. The first two
index 5d86818f6c107ba9ee69f0dc061cc4f417c3c3e1..97c41b3fc37b2e09e7246988374833abfc6bd11d 100755 (executable)
@@ -13,8 +13,8 @@ EOF
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location \
   --keyword=Q_:1g --keyword=Q_:1g,2g \
-  -d xg-c-15.tmp xg-c-15.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-15.tmp.po > xg-c-15.po || exit 1
+  -d xg-c-15.tmp xg-c-15.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-15.tmp.po > xg-c-15.po || Exit 1
 
 cat <<EOF > xg-c-15.ok
 msgctxt "Printer"
index a594492dffc6eb036e92a5e7179073e6e850ff4c..9633eadac25ae3c12c51fa1bf2b377723d809535 100755 (executable)
@@ -12,8 +12,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-c-16.tmp xg-c-16.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-16.tmp.po > xg-c-16.po || exit 1
+  -d xg-c-16.tmp xg-c-16.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-16.tmp.po > xg-c-16.po || Exit 1
 
 cat <<EOF > xg-c-16.ok
 #. a
index 0789c04a357a0f17f5afc940b53f0a41c3e13d0c..ec8147698c7cdcc46cceec7564d819fbe62eab48 100755 (executable)
@@ -16,8 +16,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location -d xg-c-17.tmp --language=C++ --kde \
-  xg-c-17.cc || exit 1
-LC_ALL=C tr -d '\r' < xg-c-17.tmp.po > xg-c-17.po || exit 1
+  xg-c-17.cc || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-17.tmp.po > xg-c-17.po || Exit 1
 
 cat <<EOF > xg-c-17.ok
 #, c-format, kde-format
index deac1f0454f8aceb9a1a10efc5b850c5b3cc6334..6efb21713a4fd3b1a44dec0c530bfae7b21c42ce 100755 (executable)
@@ -12,8 +12,8 @@ if (days > 7 && days < 14)
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-c-18.tmp xg-c-18.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-18.tmp.po > xg-c-18.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-c-18.tmp xg-c-18.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-18.tmp.po > xg-c-18.po || Exit 1
 
 cat <<EOF > xg-c-18.ok
 #, c-format, range: 1..6
index 674af4fe9fb77484c2dcea4e1c852a9699816ba8..628ecb822364dd0a927e6807584892edf7b3b3c1 100755 (executable)
@@ -11,7 +11,7 @@ cat <<\EOF > err1.c
 gettext ("\U00110000");
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location --no-wrap -o - err1.c 2>&1; exit) | grep 'invalid Unicode character' || exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location --no-wrap -o - err1.c 2>&1; exit) | grep 'invalid Unicode character' || Exit 1
 
 cat <<\EOF > xg-c-19.in.c
 /* 最初のコメント */
@@ -29,12 +29,12 @@ EOF
 
 : ${ICONV=iconv}
 iconv -f UTF-8 -t EUC-JP < xg-c-19.in.c > xg-c-19.c \
-  || { echo "Skipping test: iconv does not work for EUC-JP"; exit 77; }
+  || { echo "Skipping test: iconv does not work for EUC-JP"; Exit 77; }
 
 ${XGETTEXT} --from-code=EUC-JP --add-comments --no-location --no-wrap \
            -o - xg-c-19.c | grep -v 'POT-Creation-Date' > xg-c-19.tmp.po \
-           || exit 1
-LC_ALL=C tr -d '\r' < xg-c-19.tmp.po > xg-c-19.po || exit 1
+           || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-19.tmp.po > xg-c-19.po || Exit 1
 
 cat <<\EOF > xg-c-19.ok
 # SOME DESCRIPTIVE TITLE.
index 0c53be80c958aa45ff319fb773ee0577d87b99ee..c90786d2ea5197acc71f71b3c508624ce24d318e 100755 (executable)
@@ -24,8 +24,8 @@ _("after double")
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -d xg-c-2.tmp -k_ --omit-header --no-location xg-c-2.in.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-2.tmp.po > xg-c-2.po || exit 1
+${XGETTEXT} -d xg-c-2.tmp -k_ --omit-header --no-location xg-c-2.in.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-2.tmp.po > xg-c-2.po || Exit 1
 
 cat <<EOF > xg-c-2.ok
 #, no-c-format
index 283f8d0346567b1ace959fb751f25309130d7350..cfbc345e3867c1c10e99cbe7bc154ef16ce86ad7 100755 (executable)
@@ -11,7 +11,7 @@ bbb
 )ccc");
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location --no-wrap -o - err0.cc 2>&1; exit) | grep 'unterminated string literal' || exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location --no-wrap -o - err0.cc 2>&1; exit) | grep 'unterminated string literal' || Exit 1
 
 cat <<\EOF > err1.cc
 gettext (R"aaa(
@@ -19,7 +19,7 @@ bbb
 )ccc");
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location --no-wrap -o - err1.cc 2>&1; exit) | grep 'unterminated string literal' || exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location --no-wrap -o - err1.cc 2>&1; exit) | grep 'unterminated string literal' || Exit 1
 
 cat <<\EOF > xg-c-20.cc
 #define X ""
@@ -80,8 +80,8 @@ EOF
 
 ${XGETTEXT} --add-comments --no-location --no-wrap \
            -o - xg-c-20.cc | grep -v 'POT-Creation-Date' > xg-c-20.tmp.po \
-           || exit 1
-LC_ALL=C tr -d '\r' < xg-c-20.tmp.po > xg-c-20.po || exit 1
+           || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-20.tmp.po > xg-c-20.po || Exit 1
 
 cat <<\EOF > xg-c-20.ok
 # SOME DESCRIPTIVE TITLE.
@@ -123,7 +123,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} xg-c-20.ok xg-c-20.po || exit 1
+${DIFF} xg-c-20.ok xg-c-20.po || Exit 1
 
 cat <<\EOF > xg-c-20.c
 gettext (R"aaa(This is NOT a raw string");
@@ -135,8 +135,8 @@ EOF
 
 ${XGETTEXT} --add-comments --no-location --no-wrap \
            -o - xg-c-20.c | grep -v 'POT-Creation-Date' > xg-c-20c.tmp.po \
-           || exit 1
-LC_ALL=C tr -d '\r' < xg-c-20c.tmp.po > xg-c-20c.po || exit 1
+           || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-20c.tmp.po > xg-c-20c.po || Exit 1
 
 cat <<\EOF > xg-c-20c.ok
 # SOME DESCRIPTIVE TITLE.
@@ -161,4 +161,4 @@ msgid "aaa(This is NOT a raw string"
 msgstr ""
 EOF
 
-${DIFF} xg-c-20c.ok xg-c-20c.po || exit 1
+${DIFF} xg-c-20c.ok xg-c-20c.po || Exit 1
index 4fdcfe966259ad6e2ae734e5c3818ae089d302cf..c96b3c9e3c07509d77b583e0a775a0a12a818a12 100755 (executable)
@@ -7,8 +7,8 @@
 
 ${XGETTEXT} --add-comments --no-location --no-wrap \
            -o - "$abs_srcdir"/xg-c-21.c \
-  | grep -v 'POT-Creation-Date' > xg-c-21.tmp.po || exit 1
-LC_ALL=C tr -d '\r' < xg-c-21.tmp.po > xg-c-21.po || exit 1
+  | grep -v 'POT-Creation-Date' > xg-c-21.tmp.po || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-21.tmp.po > xg-c-21.po || Exit 1
 
 cat <<\EOF > xg-c-21.ok
 # SOME DESCRIPTIVE TITLE.
index d5224570bbba7c28bc369724fe5bb731c2132cf9..c06c056cb47e1eaa682bf2eb00a7e753cd4d0a06 100755 (executable)
@@ -11,8 +11,8 @@ gettext("nothing");
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --add-location -d xg-c-3.tmp xg-c-3.in.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-3.tmp.po > xg-c-3.po || exit 1
+${XGETTEXT} --omit-header --add-location -d xg-c-3.tmp xg-c-3.in.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-3.tmp.po > xg-c-3.po || Exit 1
 
 cat <<EOF > xg-c-3.ok
 #: bozo:42
index 7db3e35ac495c181b49bb3d8cb66767a34060cb1..9f2b1c591a0790d4d9acfa331dad5d184dab0387 100755 (executable)
@@ -8,8 +8,8 @@ main()??<printf(gettext("Hello, " "World!" "??/n"));return 0 ? a??(0??'1??) : 1?
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location --trigraphs -d xg-c-4.tmp xg-c-4.in.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-4.tmp.po > xg-c-4.po || exit 1
+${XGETTEXT} --omit-header --no-location --trigraphs -d xg-c-4.tmp xg-c-4.in.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-4.tmp.po > xg-c-4.po || Exit 1
 
 cat <<EOF > xg-c-4.ok
 #, c-format
index 14c90feb2799f082aa87f94ed950b8304f32c808..ffe142a8bec9575de6ea1317f95c8d2cdce2eeda 100755 (executable)
@@ -8,8 +8,8 @@ main(){printf(gettext/*puke*/(/*barf*/"Hello, " "World!" "\n")); }
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location --add-comments -d xg-c-5.tmp xg-c-5.in.cc || exit 1
-LC_ALL=C tr -d '\r' < xg-c-5.tmp.po > xg-c-5.po || exit 1
+${XGETTEXT} --omit-header --no-location --add-comments -d xg-c-5.tmp xg-c-5.in.cc || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-5.tmp.po > xg-c-5.po || Exit 1
 
 cat <<EOF > xg-c-5.ok
 #. puke
index 3d839aaecba489f51217e05a3d4ae2e4f4f83d38..333d7568144a68406fccb30f72dcd8ec80c6e3ec 100755 (executable)
@@ -19,8 +19,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=XXX \
-  -d xg-c-6.tmp xg-c-6.in.C || exit 1
-LC_ALL=C tr -d '\r' < xg-c-6.tmp.po > xg-c-6.po || exit 1
+  -d xg-c-6.tmp xg-c-6.in.C || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-6.tmp.po > xg-c-6.po || Exit 1
 
 cat <<EOF > xg-c-6.ok
 msgid "help"
index 248bfa921834a3fbb1353f0f0fc9fa5629f9a6a5..4192030d39bf79c7f91122f84692cd47688b61bb 100755 (executable)
@@ -38,8 +38,8 @@ main()
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -c --c++ -d xg-c-7.tmp xg-c-7.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-7.tmp.po > xg-c-7.po || exit 1
+${XGETTEXT} --omit-header --no-location -c --c++ -d xg-c-7.tmp xg-c-7.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-7.tmp.po > xg-c-7.po || Exit 1
 
 cat <<EOF > xg-c-7.ok
 #. This is a comment which immediately before a keyword.
index 48f160c3143129ca9e71cb6ad219b23326b81d66..c764f7a7f5dcda3857c1c5c10d05b3a4f9ed03bc 100755 (executable)
@@ -14,8 +14,8 @@ void foo ()
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -k_ -o xg-c-8.tmp xg-c-8.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-8.tmp > xg-c-8.po || exit 1
+${XGETTEXT} --omit-header --no-location -k_ -o xg-c-8.tmp xg-c-8.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-8.tmp > xg-c-8.po || Exit 1
 
 cat <<EOF > xg-c-8.ok
 #, c-format
index 340e88ad90d1f7b587b49e2a8ce2bc757e30a540..a8be45148532ee831e75ee8a5ed554983b677b70 100755 (executable)
@@ -22,8 +22,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-c-9.tmp xg-c-9.c || exit 1
-LC_ALL=C tr -d '\r' < xg-c-9.tmp.po > xg-c-9.po || exit 1
+  -d xg-c-9.tmp xg-c-9.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-9.tmp.po > xg-c-9.po || Exit 1
 
 cat <<EOF > xg-c-9.ok
 msgid "help"
index a7a77e9bd42770dd3292d20ecfe873dca002119e..cbb3c32f64baadc9edcf9adc752351bdd20c40e3 100755 (executable)
@@ -31,8 +31,8 @@ third line");
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -c -d xg-cs-1.tmp xg-cs-1.cs || exit 1
-LC_ALL=C tr -d '\r' < xg-cs-1.tmp.po > xg-cs-1.po || exit 1
+${XGETTEXT} --omit-header --no-location -c -d xg-cs-1.tmp xg-cs-1.cs || Exit 1
+LC_ALL=C tr -d '\r' < xg-cs-1.tmp.po > xg-cs-1.po || Exit 1
 
 cat <<EOF > xg-cs-1.ok
 #. standard usage
index cf8d4a248a96456a53e0fb87c9fdfcdf4b01ae07..934af5324c7c9e2f9bef0f7c7f14ce8383ec967a 100755 (executable)
@@ -29,7 +29,7 @@ EOF
 : ${XGETTEXT=xgettext}
 # delete POT-Creation-Date: line because the date depends on local time.
 ${XGETTEXT} --output - --add-location -c --from-code=UTF-8 xg-cs-2.cs \
-  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-cs-2.po || exit 1
+  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-cs-2.po || Exit 1
 
 cat <<\EOF > xg-cs-2.ok
 # SOME DESCRIPTIVE TITLE.
index 30d9a9b3e09b97e55b4c7148f5326d19216b28a7..0e91e94ec9ba2b0a3e4579cade894a59d87b4c43 100755 (executable)
@@ -51,7 +51,7 @@ EOF
 : ${XGETTEXT=xgettext}
 # delete POT-Creation-Date: line because the date depends on local time.
 ${XGETTEXT} --output - --add-location -c -kMyGetString:2 xg-cs-3.cs 2>/dev/null \
-  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-cs-3.po || exit 1
+  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-cs-3.po || Exit 1
 
 cat <<\EOF > xg-cs-3.ok
 # SOME DESCRIPTIVE TITLE.
index 5cca14477200f124d0b93359575f4eb465ea5c21..1fc2ef0c6e7059748bb2efc3d4a3f6e06e6e0e83 100755 (executable)
@@ -14,8 +14,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --keyword=MyPluralString:2,3 \
-  -d xg-cs-4.tmp xg-cs-4.cs || exit 1
-LC_ALL=C tr -d '\r' < xg-cs-4.tmp.po > xg-cs-4.po || exit 1
+  -d xg-cs-4.tmp xg-cs-4.cs || Exit 1
+LC_ALL=C tr -d '\r' < xg-cs-4.tmp.po > xg-cs-4.po || Exit 1
 
 cat <<EOF > xg-cs-4.ok
 msgid "test 1"
index 7584a1657588c97e0328e1eba26be813a9868b55..2d6b0c41d6f82148e4f6e6f47c1a406d07511f35 100755 (executable)
@@ -22,8 +22,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-cs-5.tmp xg-cs-5.cs || exit 1
-LC_ALL=C tr -d '\r' < xg-cs-5.tmp.po > xg-cs-5.po || exit 1
+  -d xg-cs-5.tmp xg-cs-5.cs || Exit 1
+LC_ALL=C tr -d '\r' < xg-cs-5.tmp.po > xg-cs-5.po || Exit 1
 
 cat <<EOF > xg-cs-5.ok
 msgid "help"
index 390c620c8449e40684c32619f3ddff8e8f229c7f..83cf7e529e087a73667715e5b8c582eee98f24b2 100755 (executable)
@@ -12,8 +12,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-cs-6.tmp xg-cs-6.cs || exit 1
-LC_ALL=C tr -d '\r' < xg-cs-6.tmp.po > xg-cs-6.po || exit 1
+  -d xg-cs-6.tmp xg-cs-6.cs || Exit 1
+LC_ALL=C tr -d '\r' < xg-cs-6.tmp.po > xg-cs-6.po || Exit 1
 
 cat <<EOF > xg-cs-6.ok
 #. a
index 9f5643beea0b078ccabf8ccf3f86671b1fc95e56..6cb31f20ecf61c9c246c6cd8a142282e2af3e348 100755 (executable)
@@ -9,8 +9,8 @@ Console.WriteLine(rm.GetParticularString("Help", "about"));
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-cs-7.tmp xg-cs-7.cs || exit 1
-LC_ALL=C tr -d '\r' < xg-cs-7.tmp.po > xg-cs-7.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-cs-7.tmp xg-cs-7.cs || Exit 1
+LC_ALL=C tr -d '\r' < xg-cs-7.tmp.po > xg-cs-7.po || Exit 1
 
 cat <<EOF > xg-cs-7.ok
 msgid "help"
index f5e569468d9c3c84902ff78552c6dff32d8e1b71..5b43f11e5c41b24406b447904fe532fbcded4365 100755 (executable)
@@ -21,7 +21,7 @@ EOF
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --output - --add-location xg-cs-8.cs -a 2>/dev/null | \
   sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-cs-8.po || \
-  exit 1
+  Exit 1
 
 cat <<\EOF > xg-cs-8.ok
 # SOME DESCRIPTIVE TITLE.
index c6f9df1cf7c7a9ec2330f2ac925a601ab11dffa5..212043ff76bec8dbd4106cc4e2311144aa3793ed 100755 (executable)
@@ -11,33 +11,33 @@ This is an invalid line
 Name =Foo
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - err1.desktop 2>&1; exit) | grep "missing '=' after" || exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - err1.desktop 2>&1; exit) | grep "missing '=' after" || Exit 1
 
 cat <<\EOF >err2.desktop
 [Desktop Entry
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - err2.desktop 2>&1; exit) | grep "unterminated group name" || exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - err2.desktop 2>&1; exit) | grep "unterminated group name" || Exit 1
 
 cat <<\EOF >err3.desktop
 [Desktop Entry]
   Not a blank line!
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - err3.desktop 2>&1; exit) | grep "invalid non-blank line" || exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - err3.desktop 2>&1; exit) | grep "invalid non-blank line" || Exit 1
 
 cat <<\EOF >err4.desktop
 [Desktop Entry]a
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - err4.desktop 2>&1; exit) | grep "invalid non-blank character" || exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - err4.desktop 2>&1; exit) | grep "invalid non-blank character" || Exit 1
 
 # gettext 0.19.4 issued an baseless warning of this.
 cat <<\EOF >ok4.desktop
 [Desktop Entry]
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - ok4.desktop 2>&1; exit) | grep "invalid non-blank character" && exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --add-comments -o - ok4.desktop 2>&1; exit) | grep "invalid non-blank character" && Exit 1
 
 cat <<\EOF > xg.desktop
 [Desktop Entry]
@@ -53,7 +53,7 @@ X-Foo = bar
 Keywords=Keyword1;Keyword2;Key\;word3;
 EOF
 
-${XGETTEXT} --add-comments -o - xg.desktop | grep -v 'POT-Creation-Date' > xg-desktop.pot || exit 1
+${XGETTEXT} --add-comments -o - xg.desktop | grep -v 'POT-Creation-Date' > xg-desktop.pot || Exit 1
 
 cat <<\EOF > xg-desktop.ok
 # SOME DESCRIPTIVE TITLE.
index 7d73dbb66e03bafd8c13662f48b7d23d8097f7c8..ccb75bcf277440f699b5bd6a185682371f11c14d 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-el-1.tmp xg-el-1.el || exit 1
-LC_ALL=C tr -d '\r' < xg-el-1.tmp.po > xg-el-1.po || exit 1
+  -d xg-el-1.tmp xg-el-1.el || Exit 1
+LC_ALL=C tr -d '\r' < xg-el-1.tmp.po > xg-el-1.po || Exit 1
 
 cat <<EOF > xg-el-1.ok
 msgid "help"
index 22c472ec2a0dd1cfddc6c5c6fd804a39ec9c19d2..e67811d44d8bff795fdaa255e9bf7f7ac614816f 100755 (executable)
@@ -15,8 +15,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-el-2.tmp xg-el-2.el || exit 1
-LC_ALL=C tr -d '\r' < xg-el-2.tmp.po > xg-el-2.po || exit 1
+  -d xg-el-2.tmp xg-el-2.el || Exit 1
+LC_ALL=C tr -d '\r' < xg-el-2.tmp.po > xg-el-2.po || Exit 1
 
 cat <<EOF > xg-el-2.ok
 #. a
index 3fd95f37c55d1c5351e958b74fe758e3a1e9936a..b31b3e108a475230c6a15ccb10e662568844c8f0 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} -o xg-gl-1.pot xg-gl-1-empty.glade 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without Glade support"
-  exit 77
+  Exit 77
 }
 
 cat <<EOF > xg-gl-1-widgets.glade
@@ -1330,7 +1330,7 @@ for said code in libglade.</text>
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --add-comments -o - xg-gl-1-widgets.glade | grep -v 'POT-Creation-Date' > xg-gl-1.pot || exit 1
+${XGETTEXT} --add-comments -o - xg-gl-1-widgets.glade | grep -v 'POT-Creation-Date' > xg-gl-1.pot || Exit 1
 
 cat <<EOF > xg-gl-1.ok
 # SOME DESCRIPTIVE TITLE.
index 7b3fb0ffd37054188764d9af510d3b582d4e08cd..a5e9558740703596f8b604039b03a0b4291c2cb8 100755 (executable)
@@ -13,7 +13,7 @@ EOF
 ${XGETTEXT} -o xg-gl-2.pot xg-gl-2-empty.glade 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without Glade support"
-  exit 77
+  Exit 77
 }
 
 cat <<\EOF > xg-gl-2-simple.glade
@@ -55,7 +55,7 @@ cat <<\EOF > xg-gl-2-simple.glade
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --add-comments -o xg-gl-2.tmp xg-gl-2-simple.glade  || exit 1
+${XGETTEXT} --add-comments -o xg-gl-2.tmp xg-gl-2-simple.glade  || Exit 1
 # Don't simplify this to "grep ... < xg-gl-2.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-gl-2.tmp | grep -v 'POT-Creation-Date' > xg-gl-2.pot
index 38010fb1348a52b3ed1047fbd97566eb95652e90..909179f2ecd0039ce30bf5b200b5872502e590fb 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} -o xg-gl-3.pot xg-gl-3-empty.glade 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without Glade support"
-  exit 77
+  Exit 77
 }
 
 cat <<EOF > xg-gl-3-asciitable.glade2
@@ -162,7 +162,7 @@ button or double click the character in the table.</property>
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o xg-gl-3.tmp xg-gl-3-asciitable.glade2  || exit 1
+${XGETTEXT} -o xg-gl-3.tmp xg-gl-3-asciitable.glade2  || Exit 1
 # Don't simplify this to "grep ... < xg-gl-3.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-gl-3.tmp | grep -v 'POT-Creation-Date' > xg-gl-3.pot
index e7534508b725abfc10a07229b2d6120adfc15e7b..d66a0f72be8f0d5bace9beb7e3874767fa946ab0 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} -o xg-gl-4.pot xg-gl-4-empty.glade 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without Glade support"
-  exit 77
+  Exit 77
 }
 
 cat <<EOF > xg-gl-4.glade
@@ -35,7 +35,7 @@ cat <<EOF > xg-gl-4.glade
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o xg-gl-4.tmp xg-gl-4.glade || exit 1
+${XGETTEXT} -o xg-gl-4.tmp xg-gl-4.glade || Exit 1
 # Don't simplify this to "grep ... < xg-gl-4.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-gl-4.tmp | grep -v 'POT-Creation-Date' > xg-gl-4.pot
@@ -90,7 +90,7 @@ cat <<EOF > xg-gl-4a.glade
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o xg-gl-4a.tmp xg-gl-4a.glade || exit 1
+${XGETTEXT} -o xg-gl-4a.tmp xg-gl-4a.glade || Exit 1
 # Look upwards
 cat xg-gl-4a.tmp | grep -v 'POT-Creation-Date' > xg-gl-4a.pot
 
index 38778081230fb7131a06c9343adcbe500420ccd9..2ce6132216e09899b6d4fa295e5d76baf99549f2 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} -o xg-gl-5.pot xg-gl-5-empty.glade 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without Glade support"
-  exit 77
+  Exit 77
 }
 
 cat <<EOF > xg-gl-5.glade
@@ -54,7 +54,7 @@ cat <<EOF > xg-gl-5.glade
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o xg-gl-5.tmp xg-gl-5.glade || exit 1
+${XGETTEXT} -o xg-gl-5.tmp xg-gl-5.glade || Exit 1
 # Don't simplify this to "grep ... < xg-gl-5.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-gl-5.tmp | grep -v 'POT-Creation-Date' > xg-gl-5.pot
@@ -98,7 +98,7 @@ test $result = 0 || {
 
 # Check with --extract-all option
 rm xg-gl-5.tmp
-${XGETTEXT} -a -o xg-gl-5.tmp xg-gl-5.glade || exit 1
+${XGETTEXT} -a -o xg-gl-5.tmp xg-gl-5.glade || Exit 1
 # Don't simplify this to "grep ... < xg-gl-5.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-gl-5.tmp | grep -v 'POT-Creation-Date' > xg-gl-5.pot
@@ -149,7 +149,7 @@ cat <<EOF > xg-gl-5b.glade
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o xg-gl-5b.tmp xg-gl-5b.glade 2>/dev/null || exit 1
+${XGETTEXT} -o xg-gl-5b.tmp xg-gl-5b.glade 2>/dev/null || Exit 1
 # Don't simplify this to "grep ... < xg-gl-5b.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-gl-5b.tmp | grep -v 'POT-Creation-Date' > xg-gl-5b.pot
index 49fecf8939c6fce6aa32b1741a5cdbecacf41fb5..e195cdcbea6572de8254784ea2af7d0470a9be92 100755 (executable)
@@ -14,7 +14,7 @@ EOF
 ${XGETTEXT} -o xg-gl-6.pot xg-gl-6-empty.glade 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without Glade support"
-  exit 77
+  Exit 77
 }
 
 cat <<EOF > xg-gl-6.ui
@@ -32,7 +32,7 @@ cat <<EOF > xg-gl-6.ui
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o - xg-gl-6.ui | grep -v 'POT-Creation-Date' > xg-gl-6.pot || exit 1
+${XGETTEXT} -o - xg-gl-6.ui | grep -v 'POT-Creation-Date' > xg-gl-6.pot || Exit 1
 
 cat <<EOF > xg-gl-6.ok
 # SOME DESCRIPTIVE TITLE.
@@ -69,7 +69,7 @@ test $result = 0 || {
 }
 
 # Check with --extract-all option.
-${XGETTEXT} -a -o - xg-gl-6.ui | grep -v 'POT-Creation-Date' > xg-gl-6.pot || exit 1
+${XGETTEXT} -a -o - xg-gl-6.ui | grep -v 'POT-Creation-Date' > xg-gl-6.pot || Exit 1
 
 # Must be ignored.
 ${DIFF} xg-gl-6.ok xg-gl-6.pot
index d037415b597ceb7419fc5dfab5c003fddd5f3954..8a559d79dc50f2d3926c0c30940a8b0f6acac4fb 100755 (executable)
@@ -14,7 +14,7 @@ EOF
 ${XGETTEXT} -o xg-gl-7.pot xg-gl-7-empty.glade 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without Glade support"
-  exit 77
+  Exit 77
 }
 
 cat <<EOF > xg-gl-7.ui
@@ -184,7 +184,7 @@ cat <<EOF > xg-gl-7.ui
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o - xg-gl-7.ui | grep -v 'POT-Creation-Date' > xg-gl-7.pot || exit 1
+${XGETTEXT} -o - xg-gl-7.ui | grep -v 'POT-Creation-Date' > xg-gl-7.pot || Exit 1
 
 cat <<\EOF > xg-gl-7.ok
 # SOME DESCRIPTIVE TITLE.
index 387f476d025a7c44dd391e5944b27a987d61e178..75fc725ec7fca90b743988787ca38b6926d64c2b 100755 (executable)
@@ -12,7 +12,7 @@ EOF
 ${XGETTEXT} -o xg-gs-1.pot xg-gs-1-empty.gschema.xml 2>/dev/null
 test $? = 0 || {
   echo "Skipping test: xgettext was built without GSettings support"
-  exit 77
+  Exit 77
 }
 
 cat <<EOF > xg-gs-1.gschema.xml
@@ -43,7 +43,7 @@ cat <<EOF > xg-gs-1.gschema.xml
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --add-comments -o - xg-gs-1.gschema.xml | grep -v 'POT-Creation-Date' > xg-gs-1.pot || exit 1
+${XGETTEXT} --add-comments -o - xg-gs-1.gschema.xml | grep -v 'POT-Creation-Date' > xg-gs-1.pot || Exit 1
 
 cat <<EOF > xg-gs-1.ok
 # SOME DESCRIPTIVE TITLE.
index 9e3cac51d8c93fc8d26b7474c8a44f85ad4763e2..b77d5b1f48c919ca4c3fd8a7e424f01df7eecd69 100755 (executable)
@@ -13,7 +13,7 @@ cat <<\EOF > empty.xml
 <empty></empty>
 EOF
 
-${XGETTEXT} --itstool -o empty.pot empty.xml 2>empty.err || { cat empty.err; exit 1; }
+${XGETTEXT} --itstool -o empty.pot empty.xml 2>empty.err || { cat empty.err; Exit 1; }
 
 test -d its || mkdir its
 
@@ -22,7 +22,7 @@ cat <<\EOF > its/empty-1.loc
 <locatingRules/>
 EOF
 
-${XGETTEXT} --itstool -o empty.pot empty.xml 2>empty.err || { cat empty.err; exit 1; }
+${XGETTEXT} --itstool -o empty.pot empty.xml 2>empty.err || { cat empty.err; Exit 1; }
 
 cat <<\EOF > its/empty-2.loc
 <?xml version="1.0"?>
@@ -33,7 +33,7 @@ cat <<\EOF > its/empty-2.loc
 </locatingRules>
 EOF
 
-${XGETTEXT} --itstool -o empty.pot empty.xml 2>empty.err || { cat empty.err; exit 1; }
+${XGETTEXT} --itstool -o empty.pot empty.xml 2>empty.err || { cat empty.err; Exit 1; }
 
 cat <<\EOF > its/empty.its
 <?xml version="1.0"?>
@@ -41,7 +41,7 @@ cat <<\EOF > its/empty.its
 </its:rules>
 EOF
 
-${XGETTEXT} --itstool -o empty.pot empty.xml 2>empty.err || { cat empty.err; exit 1; }
+${XGETTEXT} --itstool -o empty.pot empty.xml 2>empty.err || { cat empty.err; Exit 1; }
 
 cat <<\EOF > its/messages.loc
 <?xml version="1.0"?>
@@ -251,7 +251,7 @@ EOF
 
 : ${DIFF=diff}
 
-${XGETTEXT} --itstool --no-wrap --omit-header -o messages.pot messages.xml 2>messages.err || { cat messages.err; exit 1; }
+${XGETTEXT} --itstool --no-wrap --omit-header -o messages.pot messages.xml 2>messages.err || { cat messages.err; Exit 1; }
 ${DIFF} messages.ok messages.pot
 result=$?
 test $result = 0 || exit $result
@@ -267,7 +267,7 @@ cd po
 GETTEXTDATADIR=..
 export GETTEXTDATADIR
 
-${XGETTEXT} --itstool --no-wrap --omit-header --directory=.. -o messages.pot.in data/messages.msg.in 2>messages.err || { cat messages.err; exit 1; }
+${XGETTEXT} --itstool --no-wrap --omit-header --directory=.. -o messages.pot.in data/messages.msg.in 2>messages.err || { cat messages.err; Exit 1; }
 sed -e 's!^#: data/messages.msg.in!#: messages.xml!' \
   < messages.pot.in > messages.pot
 
index 599d889bd738bdf2b765da4bbadb5999245e5084..674a141495726709c2e3941ea14aba194d13121e 100755 (executable)
@@ -39,24 +39,24 @@ unset XDG_DATA_DIRS
 
 ${XGETTEXT} -o /dev/null input.a 2>&1 | grep 'is unknown; will try C' 2>&1 >/dev/null
 result=$?
-test $result = 0 || exit 1
+test $result = 0 || Exit 1
 
 GETTEXTDATADIR=a
 export GETTEXTDATADIR
 ${XGETTEXT} -o /dev/null input.a 2>&1 | grep 'is unknown; will try C' 2>&1 >/dev/null
 result=$?
-test $result = 0 && exit 1
+test $result = 0 && Exit 1
 
 GETTEXTDATADIRS=b:a
 export GETTEXTDATADIRS
 ${XGETTEXT} -o /dev/null input.b 2>&1 | grep 'is unknown; will try C' 2>&1 >/dev/null
 result=$?
-test $result = 0 && exit 1
+test $result = 0 && Exit 1
 
 XDG_DATA_DIRS=xa
 export XDG_DATA_DIRS
 ${XGETTEXT} -o /dev/null input.xa 2>&1 | grep 'is unknown; will try C' 2>&1 >/dev/null
 result=$?
-test $result = 0 && exit 1
+test $result = 0 && Exit 1
 
-exit 0
+Exit 0
index 2d73c22eabd18b0dca7bb0456a99df0af60e0c24..53fb5ee0f00cda30c6c20b4d72b585806c3e9480 100755 (executable)
@@ -29,8 +29,8 @@ class TestCase {
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -c -d xg-j-1.tmp xg-j-1.java || exit 1
-LC_ALL=C tr -d '\r' < xg-j-1.tmp.po > xg-j-1.po || exit 1
+${XGETTEXT} --omit-header --no-location -c -d xg-j-1.tmp xg-j-1.java || Exit 1
+LC_ALL=C tr -d '\r' < xg-j-1.tmp.po > xg-j-1.po || Exit 1
 
 cat <<EOF > xg-j-1.ok
 #. standard usage
index 6cdce992e04ef5631e00c540e6036d01db8eb95b..5f20864fe115f1497d5f9e061354aa77e66752c1 100755 (executable)
@@ -56,7 +56,7 @@ comment! */ "this is a single " /* now comes the concatenation! */ + // after +
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --from-code=ISO-8859-1 -c -o xg-j-2.tmp xg-j-2.java 2>/dev/null || exit 1
+${XGETTEXT} --from-code=ISO-8859-1 -c -o xg-j-2.tmp xg-j-2.java 2>/dev/null || Exit 1
 # Don't simplify this to "grep ... < xg-j-2.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-j-2.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-j-2.pot
index f288b15209c7267dc199a76344742d0b6201d3d2..b10ccaa7ee49ac435a53f2ad478f32b03a3dfd3b 100755 (executable)
@@ -14,8 +14,8 @@ class TestCase {
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-j-3.tmp xg-j-3.java || exit 1
-LC_ALL=C tr -d '\r' < xg-j-3.tmp.po > xg-j-3.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-j-3.tmp xg-j-3.java || Exit 1
+LC_ALL=C tr -d '\r' < xg-j-3.tmp.po > xg-j-3.po || Exit 1
 
 cat <<EOF > xg-j-3.ok
 msgid "test 1"
index f77f8ee7b151c7d5347a884819e836234faa115b..321eadaeb53a88f624586ca73c50c0c74f0cc22a 100755 (executable)
@@ -15,8 +15,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --keyword=ngettext:2,3 \
-  -d xg-j-4.tmp xg-j-4.java || exit 1
-LC_ALL=C tr -d '\r' < xg-j-4.tmp.po > xg-j-4.po || exit 1
+  -d xg-j-4.tmp xg-j-4.java || Exit 1
+LC_ALL=C tr -d '\r' < xg-j-4.tmp.po > xg-j-4.po || Exit 1
 
 cat <<EOF > xg-j-4.ok
 msgid "test 1"
index 882b0e1503fa8ad266fe777625b91edc7cbbda14..bd9587fbfd384438ca07bbdb7dc7dbff8bc8d6ba 100755 (executable)
@@ -22,8 +22,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-j-5.tmp xg-j-5.java || exit 1
-LC_ALL=C tr -d '\r' < xg-j-5.tmp.po > xg-j-5.po || exit 1
+  -d xg-j-5.tmp xg-j-5.java || Exit 1
+LC_ALL=C tr -d '\r' < xg-j-5.tmp.po > xg-j-5.po || Exit 1
 
 cat <<EOF > xg-j-5.ok
 msgid "help"
index e8f458db481034961ef971439563a7798ee6083c..066cfca4e789a1ff461e7329658a5c3f4a620c9d 100755 (executable)
@@ -12,8 +12,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-j-6.tmp xg-j-6.java || exit 1
-LC_ALL=C tr -d '\r' < xg-j-6.tmp.po > xg-j-6.po || exit 1
+  -d xg-j-6.tmp xg-j-6.java || Exit 1
+LC_ALL=C tr -d '\r' < xg-j-6.tmp.po > xg-j-6.po || Exit 1
 
 cat <<EOF > xg-j-6.ok
 #. a
index bf3f9333e6b3f9bc1930df0a5d49c5a72d7a0d96..b61680cf887cf58b28623c2a1c8c577b21dd0ba3 100755 (executable)
@@ -10,8 +10,8 @@ System.out.println(GettextResourceBundle.pgettext("Help", "about"));
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-j-7.tmp xg-j-7.java || exit 1
-LC_ALL=C tr -d '\r' < xg-j-7.tmp.po > xg-j-7.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-j-7.tmp xg-j-7.java || Exit 1
+LC_ALL=C tr -d '\r' < xg-j-7.tmp.po > xg-j-7.po || Exit 1
 
 cat <<EOF > xg-j-7.ok
 msgid "help"
index 198c30ecb8651024994672b349bb32c5f640795f..d4a3bf66225a5959dcc4a2898902680ef38dd29a 100755 (executable)
@@ -20,7 +20,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments=TRANSLATORS: --no-location -o xg-js-1.tmp xg-js-1.js 2>xg-js-1.err
-test $? = 0 || { cat xg-js-1.err; exit 1; }
+test $? = 0 || { cat xg-js-1.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-js-1.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-js-1.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-js-1.pot
index 3f6e6d431464d48c3cf3056857b1a8cdfdc89b2c..b7c266a7cedc63e7e5e5eeae70bdff45fd3beb26 100755 (executable)
@@ -32,7 +32,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --no-location -o xg-js-2.tmp xg-js-2.js 2>xg-js-2.err
-test $? = 0 || { cat xg-js-2.err; exit 1; }
+test $? = 0 || { cat xg-js-2.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-js-2.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-js-2.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-js-2.pot
index b37b5a528edcfa1c7232ea990b8cf6f371def6e6..ed1f30d6c0c3f03eb2d2c8f93dd9c50709adf1f9 100755 (executable)
@@ -15,7 +15,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments=TRANSLATORS: --no-location -o xg-js-3.tmp xg-js-3.js 2>xg-js-3.err
-test $? = 0 || { cat xg-js-3.err; exit 1; }
+test $? = 0 || { cat xg-js-3.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-js-3.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-js-3.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-js-3.pot
index 399b97d1d7affa9b7a6b92574a42795c21fe9690..5932f6c17e8598d7e6ccc957b9204d7ead096f00 100755 (executable)
@@ -11,7 +11,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --no-location -o xg-js-4.tmp xg-js-4.js 2>xg-js-4.err
-test $? = 0 || { cat xg-js-4.err; exit 1; }
+test $? = 0 || { cat xg-js-4.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-js-4.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-js-4.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-js-4.pot
index 1fd08b5e1a6fe28405867088cceec29a08916f6d..7baa47de871006b52b71d06bd7d4d37e652c7dac 100755 (executable)
@@ -27,7 +27,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --no-location -o xg-js-5.tmp xg-js-5.js 2>xg-js-5.err
-test $? = 0 || { cat xg-js-5.err; exit 1; }
+test $? = 0 || { cat xg-js-5.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-js-5.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-js-5.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-js-5.pot
index 1057d339f45a54f2fb2155bc6468473ea4afc1f5..375e377930c3d539afad967a7d6fd10c7eba1689 100755 (executable)
@@ -30,7 +30,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --no-location -o xg-js-6.tmp xg-js-6.js 2>xg-js-6.err
-test $? = 0 || { cat xg-js-6.err; exit 1; }
+test $? = 0 || { cat xg-js-6.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-js-6.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-js-6.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-js-6.pot
index 9463baa448e92b47495b487a792da3381ba86d87..fa89f949dc7be6527119c55b52047b903c6398c6 100755 (executable)
@@ -18,8 +18,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-lr-1.tmp xg-lr-1.jl || exit 1
-LC_ALL=C tr -d '\r' < xg-lr-1.tmp.po > xg-lr-1.po || exit 1
+  -d xg-lr-1.tmp xg-lr-1.jl || Exit 1
+LC_ALL=C tr -d '\r' < xg-lr-1.tmp.po > xg-lr-1.po || Exit 1
 
 cat <<EOF > xg-lr-1.ok
 msgid "help"
index f4dc918fe84d8d3b0074b3c8b566fffb09c6bc35..7397a08297d9c10687de251542f599249dc6c1fd 100755 (executable)
@@ -12,8 +12,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-lr-2.tmp xg-lr-2.jl || exit 1
-LC_ALL=C tr -d '\r' < xg-lr-2.tmp.po > xg-lr-2.po || exit 1
+  -d xg-lr-2.tmp xg-lr-2.jl || Exit 1
+LC_ALL=C tr -d '\r' < xg-lr-2.tmp.po > xg-lr-2.po || Exit 1
 
 cat <<EOF > xg-lr-2.ok
 #. a
index eb83e7261e5be516558748ec5069cb7758b2ce7a..acbf3c5b7e584a08bb10ab0d259c31f46ec15dfd 100755 (executable)
@@ -18,8 +18,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-ls-1.tmp xg-ls-1.lisp || exit 1
-LC_ALL=C tr -d '\r' < xg-ls-1.tmp.po > xg-ls-1.po || exit 1
+  -d xg-ls-1.tmp xg-ls-1.lisp || Exit 1
+LC_ALL=C tr -d '\r' < xg-ls-1.tmp.po > xg-ls-1.po || Exit 1
 
 cat <<EOF > xg-ls-1.ok
 msgid "help"
index 94de0685ff9416dcd3a5d2e790e3b787d7796d78..434336a16e34605ca5fa9353fcefab5a6b388ecc 100755 (executable)
@@ -12,8 +12,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-ls-2.tmp xg-ls-2.lisp || exit 1
-LC_ALL=C tr -d '\r' < xg-ls-2.tmp.po > xg-ls-2.po || exit 1
+  -d xg-ls-2.tmp xg-ls-2.lisp || Exit 1
+LC_ALL=C tr -d '\r' < xg-ls-2.tmp.po > xg-ls-2.po || Exit 1
 
 cat <<EOF > xg-ls-2.ok
 #. a
index 6a764c9a6416154315c9fbaabfb836c5f8c4d3db..a41c313e1704f1357f9d567128c663b43d152053 100755 (executable)
@@ -26,8 +26,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-lu-1.tmp xg-lu-1.lua || exit 1
-LC_ALL=C tr -d '\r' < xg-lu-1.tmp.po > xg-lu-1.po || exit 1
+  -d xg-lu-1.tmp xg-lu-1.lua || Exit 1
+LC_ALL=C tr -d '\r' < xg-lu-1.tmp.po > xg-lu-1.po || Exit 1
 
 cat <<EOF > xg-lu-1.ok
 msgid "This is a test string."
index 797e5134e88b18cb4bcbe79d48fb92e0dabc123b..26eac14ed3d2847bbcc79170a18a714136b586d5 100755 (executable)
@@ -25,8 +25,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-lu-2.tmp xg-lu-2.lua || exit 1
-LC_ALL=C tr -d '\r' < xg-lu-2.tmp.po > xg-lu-2.po || exit 1
+  -d xg-lu-2.tmp xg-lu-2.lua || Exit 1
+LC_ALL=C tr -d '\r' < xg-lu-2.tmp.po > xg-lu-2.po || Exit 1
 
 cat <<EOF > xg-lu-2.ok
 msgid "Hmm."
index 9563d77745f93d6200924c8ff7c36028e587e910..9d34c136f08fa14cd48f1279c4dcf1f53ee3498e 100755 (executable)
@@ -26,8 +26,8 @@ NSLocalizedString(@"Information", @"")
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header -k_ -kNSLocalizedString -d xg-ob-1.tmp xg-ob-1.m || exit 1
-LC_ALL=C tr -d '\r' < xg-ob-1.tmp.po > xg-ob-1.po || exit 1
+${XGETTEXT} --omit-header -k_ -kNSLocalizedString -d xg-ob-1.tmp xg-ob-1.m || Exit 1
+LC_ALL=C tr -d '\r' < xg-ob-1.tmp.po > xg-ob-1.po || Exit 1
 
 cat <<\EOF > xg-ob-1.ok
 #: xg-ob-1.m:2
index a59a3d4a8bb0c90b6e2bd6c1eedd44b83d92c13a..21d174c20296d61f07ec29dc7877c3210fa72811 100755 (executable)
@@ -26,8 +26,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-ob-2.tmp xg-ob-2.m || exit 1
-LC_ALL=C tr -d '\r' < xg-ob-2.tmp.po > xg-ob-2.po || exit 1
+  -d xg-ob-2.tmp xg-ob-2.m || Exit 1
+LC_ALL=C tr -d '\r' < xg-ob-2.tmp.po > xg-ob-2.po || Exit 1
 
 cat <<EOF > xg-ob-2.ok
 msgid "help"
index 5f52c600c68d1730fb5f53d5c43efed39354932e..1f9c9bfe5a0fec8f03a81f861de70429e3eb73f0 100755 (executable)
@@ -154,8 +154,8 @@ ${XGETTEXT} --omit-header -n \
   -k_ --flag=_:1:pass-perl-format --flag=_:1:pass-perl-brace-format \
   -k%__ --flag=%__:1:pass-perl-format --flag=%__:1:pass-perl-brace-format \
   -k\$__ --flag=\$__:1:pass-perl-format --flag=\$__:1:pass-perl-brace-format \
-  -d xg-pl-1.tmp xg-pl-1.pl || exit 1
-LC_ALL=C tr -d '\r' < xg-pl-1.tmp.po > xg-pl-1.po || exit 1
+  -d xg-pl-1.tmp xg-pl-1.pl || Exit 1
+LC_ALL=C tr -d '\r' < xg-pl-1.tmp.po > xg-pl-1.po || Exit 1
 
 cat <<\EOF > xg-pl-1.ok
 #: xg-pl-1.pl:9
index 85f046475463aa29dd0caf0f4c813313a668b659..e6f2ee7d66672e1f92b811d9c5313647d7ba67c7 100755 (executable)
@@ -14,7 +14,7 @@ EOF
 : ${XGETTEXT=xgettext}
 # delete POT-Creation-Date: line because the date depends on local time.
 ${XGETTEXT} --output - --from-code=ISO-8859-1 xg-pl-2.pl \
-  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-pl-2.po || exit 1
+  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-pl-2.po || Exit 1
 
 cat <<\EOF > xg-pl-2.ok
 # SOME DESCRIPTIVE TITLE.
index 985281315cb9e560afec3b45920fbb6fee583550..01f5a77fa6aeb0dbe796dd8b824f2ee89c84a3ed 100755 (executable)
@@ -14,7 +14,7 @@ EOF
 : ${XGETTEXT=xgettext}
 # delete POT-Creation-Date: line because the date depends on local time.
 ${XGETTEXT} --output - --from-code=UTF-8 xg-pl-3.pl \
-  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-pl-3.po || exit 1
+  | sed '/\"POT-Creation-Date:.*/d' | LC_ALL=C tr -d '\r' > xg-pl-3.po || Exit 1
 
 cat <<\EOF > xg-pl-3.ok
 # SOME DESCRIPTIVE TITLE.
index 1d4701ff2300c109042f1287a793cfcf079192e1..09b9322611d374a17c06adb41d1e92d13bad58a0 100755 (executable)
@@ -56,8 +56,8 @@ EOPERL
 
 : ${XGETTEXT=xgettext}
 LC_MESSAGES=C LC_ALL= \
-${XGETTEXT} -a --omit-header --no-location -o xg-pl-4.tmp.pot xg-pl-4.pl || exit 1
-LC_ALL=C tr -d '\r' < xg-pl-4.tmp.pot > xg-pl-4.pot || exit 1
+${XGETTEXT} -a --omit-header --no-location -o xg-pl-4.tmp.pot xg-pl-4.pl || Exit 1
+LC_ALL=C tr -d '\r' < xg-pl-4.tmp.pot > xg-pl-4.pot || Exit 1
 
 cat <<\EOF > xg-pl-4.ok
 msgid "'Your command, please?', asked the waiter.\n"
index 5020baf970d01032cfae95a8ed344c7407d95fbd..cc83907ae247d58d0071c235d6e73056e20aeff0 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-pl-5.tmp xg-pl-5.pl || exit 1
-LC_ALL=C tr -d '\r' < xg-pl-5.tmp.po > xg-pl-5.po || exit 1
+  -d xg-pl-5.tmp xg-pl-5.pl || Exit 1
+LC_ALL=C tr -d '\r' < xg-pl-5.tmp.po > xg-pl-5.po || Exit 1
 
 cat <<EOF > xg-pl-5.ok
 msgid "help"
index 2347b11d4dd5ed8e34f330b67e89826501f967ff..e0abad60bfcb7de0fee031189b89c077b7006942 100755 (executable)
@@ -65,8 +65,8 @@ EOPERL
 
 : ${XGETTEXT=xgettext}
 LC_MESSAGES=C LC_ALL= \
-${XGETTEXT} --omit-header --no-location -o xg-pl-6.tmp xg-pl-6.pl || exit 1
-LC_ALL=C tr -d '\r' < xg-pl-6.tmp > xg-pl-6.pot || exit 1
+${XGETTEXT} --omit-header --no-location -o xg-pl-6.tmp xg-pl-6.pl || Exit 1
+LC_ALL=C tr -d '\r' < xg-pl-6.tmp > xg-pl-6.pot || Exit 1
 
 cat <<\EOF > xg-pl-6.ok
 msgid "extracted1"
index b1703948ca44c06f61747c090ae5bc428c99ec9b..6918587b43929dd09317ece21a4de1e849c980af 100755 (executable)
@@ -16,8 +16,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-pl-7.tmp xg-pl-7.pl || exit 1
-LC_ALL=C tr -d '\r' < xg-pl-7.tmp.po > xg-pl-7.po || exit 1
+  -d xg-pl-7.tmp xg-pl-7.pl || Exit 1
+LC_ALL=C tr -d '\r' < xg-pl-7.tmp.po > xg-pl-7.po || Exit 1
 
 cat <<EOF > xg-pl-7.ok
 #. a
index f45aff8703ee5a3058801b2b80dbd8bbbcb0fb48..b165e09f67005fd5269142be0ce6d475c98e978b 100755 (executable)
@@ -63,8 +63,8 @@ EOF
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header -n \
   -k__ \
-  -d xg-pl-8.tmp xg-pl-8.pl || exit 1
-LC_ALL=C tr -d '\r' < xg-pl-8.tmp.po > xg-pl-8.po || exit 1
+  -d xg-pl-8.tmp xg-pl-8.pl || Exit 1
+LC_ALL=C tr -d '\r' < xg-pl-8.tmp.po > xg-pl-8.po || Exit 1
 
 cat <<\EOF > xg-pl-8.ok
 #: xg-pl-8.pl:1
index deca6e0681f7f07e09d9f7a514fb0fabab9e516c..09338ae1cd7127a1bb2063c781b74e68bbd363f4 100755 (executable)
@@ -24,8 +24,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-ph-1.tmp xg-ph-1.php || exit 1
-LC_ALL=C tr -d '\r' < xg-ph-1.tmp.po > xg-ph-1.po || exit 1
+  -d xg-ph-1.tmp xg-ph-1.php || Exit 1
+LC_ALL=C tr -d '\r' < xg-ph-1.tmp.po > xg-ph-1.po || Exit 1
 
 cat <<EOF > xg-ph-1.ok
 msgid "help"
index 34f2e7fe8c3c7dde26e5bdb40b79004d07beb59e..3eb6a92ea28679fc37bd3af5d35e84ad23840a9b 100755 (executable)
@@ -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"
index 888a3aacf9be132a5ea3f37b79ae71d72cc247d6..056139536e924c34b973b1049947c3f64cb69e44 100755 (executable)
@@ -14,8 +14,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-ph-3.tmp xg-ph-3.php || exit 1
-LC_ALL=C tr -d '\r' < xg-ph-3.tmp.po > xg-ph-3.po || exit 1
+  -d xg-ph-3.tmp xg-ph-3.php || Exit 1
+LC_ALL=C tr -d '\r' < xg-ph-3.tmp.po > xg-ph-3.po || Exit 1
 
 cat <<EOF > xg-ph-3.ok
 #. a
index 8edb5533b4e8a845a8e9fb92e451e7faed4956d7..842ad31ad6c9a7f79793520b31227f80497509a1 100755 (executable)
@@ -16,8 +16,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --extract-all \
-  -d xg-ph-4.tmp xg-ph-4.php || exit 1
-LC_ALL=C tr -d '\r' < xg-ph-4.tmp.po > xg-ph-4.po || exit 1
+  -d xg-ph-4.tmp xg-ph-4.php || Exit 1
+LC_ALL=C tr -d '\r' < xg-ph-4.tmp.po > xg-ph-4.po || Exit 1
 
 cat <<EOF > xg-ph-4.ok
 msgid "foobar"
index 1074e0201010cf87a3d84a89c922cce3ce352e3a..1d22136085737ff65aaed76f009e2690695623ff 100755 (executable)
@@ -44,8 +44,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header -n \
-  -d xg-po-1.tmp xg-po-1.in.po xg-po-1.c xg-po-1.cc || exit 1
-LC_ALL=C tr -d '\r' < xg-po-1.tmp.po > xg-po-1.po || exit 1
+  -d xg-po-1.tmp xg-po-1.in.po xg-po-1.c xg-po-1.cc || Exit 1
+LC_ALL=C tr -d '\r' < xg-po-1.tmp.po > xg-po-1.po || Exit 1
 
 cat <<EOF > xg-po-1.ok
 #: file1.c:199
index 1e51eddf10229493078c56d2db9d875d222c3bbe..1261944a14498c930fdc07c0cc6245a0fe758875 100755 (executable)
@@ -41,8 +41,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header -n \
-  -d xg-pr-1.tmp xg-pr-1.in.properties xg-pr-1.c xg-pr-1.cc || exit 1
-LC_ALL=C tr -d '\r' < xg-pr-1.tmp.po > xg-pr-1.po || exit 1
+  -d xg-pr-1.tmp xg-pr-1.in.properties xg-pr-1.c xg-pr-1.cc || Exit 1
+LC_ALL=C tr -d '\r' < xg-pr-1.tmp.po > xg-pr-1.po || Exit 1
 
 cat <<EOF > xg-pr-1.ok
 #: file1.c:199
index ab874636430cd6b467d06601326b7c7a29e30625..7a4194ca23e3c0d38df3a701ed15b0df1afde5f7 100755 (executable)
@@ -30,7 +30,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --no-location -o xg-py-1.tmp xg-py-1.py 2>xg-py-1.err
-test $? = 0 || { cat xg-py-1.err; exit 1; }
+test $? = 0 || { cat xg-py-1.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-py-1.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-py-1.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-py-1.pot
index 5f071d4b04bcb70ec7bd754b8e2803fcbec0bdd6..2b3d739e0fee9de55409ce599d2e4e4b33696c9d 100755 (executable)
@@ -21,8 +21,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-py-2.tmp xg-py-2.py || exit 1
-LC_ALL=C tr -d '\r' < xg-py-2.tmp.po > xg-py-2.po || exit 1
+  -d xg-py-2.tmp xg-py-2.py || Exit 1
+LC_ALL=C tr -d '\r' < xg-py-2.tmp.po > xg-py-2.po || Exit 1
 
 cat <<EOF > xg-py-2.ok
 msgid "help"
index 3ac44d117b6406b69ed4df2226c7c008908c8bdb..b004b0925c9d11cf8c619965b3ad6712c5f70f48 100755 (executable)
@@ -45,36 +45,36 @@ EOF
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments=TRANSLATORS: --no-location \
   -d xg-py-3a xg-py-3a.py > /dev/null 2>&1
-test $? = 1 || { exit 1; }
+test $? = 1 || { Exit 1; }
 ${XGETTEXT} --add-comments=TRANSLATORS: --no-location --from-code=euc-jp \
-  -o xg-py-3a.tmp xg-py-3a.py || exit 1
+  -o xg-py-3a.tmp xg-py-3a.py || Exit 1
 # Don't simplify this to "grep ... < xg-py-3a.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-py-3a.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-py-3a.pot
 
 : ${DIFF=diff}
-${DIFF} xg-py-3.ok xg-py-3a.pot || exit 1
+${DIFF} xg-py-3.ok xg-py-3a.pot || Exit 1
 
 # Verify that if the source file has a magic coding comment, xgettext succeeds.
 
 ${XGETTEXT} --add-comments=TRANSLATORS: --no-location \
-  -o xg-py-3b.tmp xg-py-3b.py || exit 1
+  -o xg-py-3b.tmp xg-py-3b.py || Exit 1
 # Don't simplify this to "grep ... < xg-py-3b.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-py-3b.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-py-3b.pot
 
-${DIFF} xg-py-3.ok xg-py-3b.pot || exit 1
+${DIFF} xg-py-3.ok xg-py-3b.pot || Exit 1
 
 # Verify that if the source file has a magic coding comment and a --from-code
 # option is given, the magic coding comment takes precedence over it.
 
 ${XGETTEXT} --add-comments=TRANSLATORS: --no-location --from-code=iso-8859-1 \
-  -o xg-py-3c.tmp xg-py-3b.py || exit 1
+  -o xg-py-3c.tmp xg-py-3b.py || Exit 1
 # Don't simplify this to "grep ... < xg-py-3c.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-py-3c.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-py-3c.pot
 
-${DIFF} xg-py-3.ok xg-py-3c.pot || exit 1
+${DIFF} xg-py-3.ok xg-py-3c.pot || Exit 1
 
 # Verify that backslashes in and second bytes with value 0x5C are correctly
 # distinguished in weird encodings like BIG5.
@@ -87,7 +87,7 @@ print gettext.gettext(u"
 EOF
 
 ${XGETTEXT} --add-comments=TRANSLATORS: \
-  -o xg-py-3d.tmp xg-py-3d.py || exit 1
+  -o xg-py-3d.tmp xg-py-3d.py || Exit 1
 # Don't simplify this to "grep ... < xg-py-3d.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-py-3d.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-py-3d.pot
@@ -120,6 +120,6 @@ msgid "枯!"
 msgstr ""
 EOF
 
-${DIFF} xg-py-3d.ok xg-py-3d.pot || exit 1
+${DIFF} xg-py-3d.ok xg-py-3d.pot || Exit 1
 
-exit 0
+Exit 0
index 49d1c12ada266e53db87cd24e7ac81ef6d8d62ea..e1f5cd5f3f28d658d91c109206a9df42ca986235 100755 (executable)
@@ -14,8 +14,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-py-4.tmp xg-py-4.py || exit 1
-LC_ALL=C tr -d '\r' < xg-py-4.tmp.po > xg-py-4.po || exit 1
+  -d xg-py-4.tmp xg-py-4.py || Exit 1
+LC_ALL=C tr -d '\r' < xg-py-4.tmp.po > xg-py-4.po || Exit 1
 
 cat <<EOF > xg-py-4.ok
 #. a
index 4ecccae7c88f8741bd999d954fd8e859f4508b04..576bb51664adac79fc0e44b3a3a5d4905053b2b0 100755 (executable)
@@ -15,8 +15,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} -k_ --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-sc-1.tmp xg-sc-1.scm || exit 1
-LC_ALL=C tr -d '\r' < xg-sc-1.tmp.po > xg-sc-1.po || exit 1
+  -d xg-sc-1.tmp xg-sc-1.scm || Exit 1
+LC_ALL=C tr -d '\r' < xg-sc-1.tmp.po > xg-sc-1.po || Exit 1
 
 cat <<EOF > xg-sc-1.ok
 msgid "help"
index cc7b5bf07e1aac2b92899c28000669c27b3799e1..8c7fbb811bf845466164adc2429fc87bd738abbe 100755 (executable)
@@ -8,7 +8,7 @@ cat <<EOF > xg-sc-2.scm
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -k_ --omit-header --no-location --force-po -d xg-sc-2 xg-sc-2.scm || exit 1
+${XGETTEXT} -k_ --omit-header --no-location --force-po -d xg-sc-2 xg-sc-2.scm || Exit 1
 
 cat <<EOF > xg-sc-2.ok
 EOF
index 96e821fbf46e5d40ac8a27df457c4e164503bbb7..fe28ebbc79489550919389d3ef5b3cd8800c7cd9 100755 (executable)
@@ -15,8 +15,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-sc-3.tmp xg-sc-3.scm || exit 1
-LC_ALL=C tr -d '\r' < xg-sc-3.tmp.po > xg-sc-3.po || exit 1
+  -d xg-sc-3.tmp xg-sc-3.scm || Exit 1
+LC_ALL=C tr -d '\r' < xg-sc-3.tmp.po > xg-sc-3.po || Exit 1
 
 cat <<EOF > xg-sc-3.ok
 #. a
index 3566d6b6b6a86a0446c9127a0e22653cf839feb9..1851a46b1d763dab64797320b08da54b775f3d48 100755 (executable)
@@ -19,8 +19,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} -k_ --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-sc-4.tmp xg-sc-4.scm || exit 1
-LC_ALL=C tr -d '\r' < xg-sc-4.tmp.po > xg-sc-4.po || exit 1
+  -d xg-sc-4.tmp xg-sc-4.scm || Exit 1
+LC_ALL=C tr -d '\r' < xg-sc-4.tmp.po > xg-sc-4.po || Exit 1
 
 cat <<EOF > xg-sc-4.ok
 msgid "New _Brush..."
index 28e2051adf9ee7d078010d704782892a25cbb574..ea249310307b24384c1bc7bfd452ac4091ee37f6 100755 (executable)
@@ -464,8 +464,8 @@ EOF
 : ${XGETTEXT=xgettext}
 # Here we use ngettext with two signatures: ngettext:1 and ngettext:1,2.
 ${XGETTEXT} --omit-header --no-location --keyword=ngettext:1 \
-  -d xg-sh-1.tmp xg-sh-1.sh || exit 1
-LC_ALL=C tr -d '\r' < xg-sh-1.tmp.po > xg-sh-1.po || exit 1
+  -d xg-sh-1.tmp xg-sh-1.sh || Exit 1
+LC_ALL=C tr -d '\r' < xg-sh-1.tmp.po > xg-sh-1.po || Exit 1
 
 cat <<\EOF > xg-sh-1.ok
 msgid "depth_0_none_0_x"
index daf1c025ad512d1c7bb4a595e2cee1d2621a6704..a4b7e8d0bedf6fdf2d2c4244e3aa8eaada4212de 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-sh-2.tmp xg-sh-2.sh || exit 1
-LC_ALL=C tr -d '\r' < xg-sh-2.tmp.po > xg-sh-2.po || exit 1
+  -d xg-sh-2.tmp xg-sh-2.sh || Exit 1
+LC_ALL=C tr -d '\r' < xg-sh-2.tmp.po > xg-sh-2.po || Exit 1
 
 cat <<EOF > xg-sh-2.ok
 msgid "help"
index e6cadfe3de0e372d7688ea46cabfce63af4a1c20..7f70b95a97a807f76046a22c7d95ce5b810af8d9 100755 (executable)
@@ -10,8 +10,8 @@ echo `gettext $'\'\"\a\b\e\f\n\r\t\v\x61\x3a\x3A\075\\'`
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-sh-3.tmp xg-sh-3.sh || exit 1
-LC_ALL=C tr -d '\r' < xg-sh-3.tmp.po > xg-sh-3.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-sh-3.tmp xg-sh-3.sh || Exit 1
+LC_ALL=C tr -d '\r' < xg-sh-3.tmp.po > xg-sh-3.po || Exit 1
 
 cat <<\EOF > xg-sh-3.ok
 msgid "abc\\\"def"
index 7096d8c70f2b901f8479b17f2bbb7571b5b9b568..dfd8399afaefe2831d46b4f80a819d3490da2743 100755 (executable)
@@ -115,8 +115,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location -d xg-sh-4.tmp xg-sh-4.sh 2>xg-sh-4.err
-test $? = 0 || { cat xg-sh-4.err; exit 1; }
-LC_ALL=C tr -d '\r' < xg-sh-4.tmp.po > xg-sh-4.po || exit 1
+test $? = 0 || { cat xg-sh-4.err; Exit 1; }
+LC_ALL=C tr -d '\r' < xg-sh-4.tmp.po > xg-sh-4.po || Exit 1
 
 cat <<\EOF > xg-sh-4.ok
 msgid "depth_0_bashquote_0_x"
index 9daf65f743f55fd0e28686681d62b1a58790eb0a..a5937b02483e3041a9f95a9dfdf138c98a4d8d5d 100755 (executable)
@@ -15,8 +15,8 @@ echo "$(gettext "Simple decorated dstring: \"x\" \\\"y\\\" inside double-quotes"
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-sh-5.tmp xg-sh-5.sh || exit 1
-LC_ALL=C tr -d '\r' < xg-sh-5.tmp.po > xg-sh-5.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-sh-5.tmp xg-sh-5.sh || Exit 1
+LC_ALL=C tr -d '\r' < xg-sh-5.tmp.po > xg-sh-5.po || Exit 1
 
 cat <<\EOF > xg-sh-5.ok
 msgid "Simple string"
index 0bc2eec6932184a5fb11b73f09d76e24f06b5bdc..656781df7d3531eaf9d849f5d0ad26ecd276283b 100755 (executable)
@@ -10,8 +10,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-sh-6.tmp xg-sh-6.sh || exit 1
-LC_ALL=C tr -d '\r' < xg-sh-6.tmp.po > xg-sh-6.po || exit 1
+  -d xg-sh-6.tmp xg-sh-6.sh || Exit 1
+LC_ALL=C tr -d '\r' < xg-sh-6.tmp.po > xg-sh-6.po || Exit 1
 
 cat <<EOF > xg-sh-6.ok
 #. a
index 7c508344b69aae4db8111b8a7b06f4e96c9a5158..b94938025d319c8d8312f5a0dd7b46557105ea46 100755 (executable)
@@ -18,8 +18,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-st-1.tmp xg-st-1.st || exit 1
-LC_ALL=C tr -d '\r' < xg-st-1.tmp.po > xg-st-1.po || exit 1
+  -d xg-st-1.tmp xg-st-1.st || Exit 1
+LC_ALL=C tr -d '\r' < xg-st-1.tmp.po > xg-st-1.po || Exit 1
 
 cat <<EOF > xg-st-1.ok
 msgid "help"
index 9814efa9ab7897f480d9de0236dcc597fdd55baf..01d61fa98c55c859ed320f9184199fc5f7f0500e 100755 (executable)
@@ -14,8 +14,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location \
-  -d xg-st-2.tmp xg-st-2.st || exit 1
-LC_ALL=C tr -d '\r' < xg-st-2.tmp.po > xg-st-2.po || exit 1
+  -d xg-st-2.tmp xg-st-2.st || Exit 1
+LC_ALL=C tr -d '\r' < xg-st-2.tmp.po > xg-st-2.po || Exit 1
 
 cat <<EOF > xg-st-2.ok
 #. a
index 4fd08fab26bead73517cd2b27871d99a52ea0fbe..4bbe17a98795c1488bd7597a3d92b2002d8b921d 100755 (executable)
@@ -21,7 +21,7 @@ add comments above this one
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} -o xg-stbl-1.tmp xg-stbl-1.strings || exit 1
+${XGETTEXT} -o xg-stbl-1.tmp xg-stbl-1.strings || Exit 1
 # Don't simplify this to "grep ... < xg-stbl-1.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-stbl-1.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-stbl-1.po
index 645e19a5108450fc98648d53a740389753d1570b..2126318857e6f8db570f63cf98207f37fe3cdf1b 100755 (executable)
@@ -23,7 +23,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --no-location -k_ -o xg-t-1.tmp xg-t-1.tcl 2>xg-t-1.err
-test $? = 0 || { cat xg-t-1.err; exit 1; }
+test $? = 0 || { cat xg-t-1.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-t-1.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-t-1.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-t-1.pot
index c087686e9260bfe6125f27f09c8226a1526727da..bbacdf8adfddce4a37fcb3806b064c268ac7c606 100755 (executable)
@@ -17,8 +17,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: -k_ \
-  -d xg-t-2.tmp xg-t-2.tcl || exit 1
-LC_ALL=C tr -d '\r' < xg-t-2.tmp.po > xg-t-2.po || exit 1
+  -d xg-t-2.tmp xg-t-2.tcl || Exit 1
+LC_ALL=C tr -d '\r' < xg-t-2.tmp.po > xg-t-2.po || Exit 1
 
 cat <<EOF > xg-t-2.ok
 msgid "help"
index 2593e6aaf72b6f68aa75091d0d2dcb7dc944ade3..fd60c743794b58cac8e8a38d531751e5fd1a5dd0 100755 (executable)
@@ -11,8 +11,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-t-3.tmp xg-t-3.tcl || exit 1
-LC_ALL=C tr -d '\r' < xg-t-3.tmp.po > xg-t-3.po || exit 1
+  -d xg-t-3.tmp xg-t-3.tcl || Exit 1
+LC_ALL=C tr -d '\r' < xg-t-3.tmp.po > xg-t-3.po || Exit 1
 
 cat <<EOF > xg-t-3.ok
 #. a
index 336f477d5aae3f3d823a52acdd2a12001108a6ba..ab6af3d60afd70c4b59bae97c9f66a2507574736 100755 (executable)
@@ -11,7 +11,7 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --no-location -k_ -o xg-t-4.tmp xg-t-4.tcl 2>xg-t-4.err
-test $? = 0 || { cat xg-t-4.err; exit 1; }
+test $? = 0 || { cat xg-t-4.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-t-4.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-t-4.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-t-4.pot
index 141a2de98309cd62545a131367a18aa71a535132..8d3e8e3b4e4494daa68c30020b4beb3287729a35 100755 (executable)
@@ -10,7 +10,7 @@ int main (string[] args) {
   var r1 = /a
 EOF
 
-(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location -o - xg-vala-1.err.vala 2>&1; exit) | grep 'regular expression literal terminated too early' || exit 1
+(LANGUAGE= LC_ALL=C ${XGETTEXT} --no-location -o - xg-vala-1.err.vala 2>&1; exit) | grep 'regular expression literal terminated too early' || Exit 1
 
 cat <<\EOF > xg-vala-1.vala
 int main (string[] args) {
@@ -92,7 +92,7 @@ class Foo : Object {
 EOF
 
 ${XGETTEXT} --add-comments --no-location -o xg-vala-1.tmp xg-vala-1.vala 2>xg-vala-1.err
-test $? = 0 || { cat xg-vala-1.err; exit 1; }
+test $? = 0 || { cat xg-vala-1.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-vala-1.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-vala-1.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-vala-1.pot
@@ -148,7 +148,7 @@ test $result = 0 || exit $result
 
 # Test --extract-all option.
 ${XGETTEXT} --extract-all --add-comments --no-location -o xg-vala-1.tmp xg-vala-1.vala 2>xg-vala-1.err
-test $? = 0 || { cat xg-vala-1.err; exit 1; }
+test $? = 0 || { cat xg-vala-1.err; Exit 1; }
 # Don't simplify this to "grep ... < xg-vala-1.tmp", otherwise OpenBSD 4.0 grep
 # only outputs "Binary file (standard input) matches".
 cat xg-vala-1.tmp | grep -v 'POT-Creation-Date' | LC_ALL=C tr -d '\r' > xg-vala-1.pot
index b6d43486088306f9668c2329e7b6ab224b636652..72eef7cc21cb932b5eb4355d67ba6493bb94c064 100755 (executable)
@@ -9,8 +9,8 @@ title = sformat (_("%1 package", "%1 packages", num), num);
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -k:1,2 -d xg-y-1.tmp xg-y-1.ycp || exit 1
-LC_ALL=C tr -d '\r' < xg-y-1.tmp.po > xg-y-1.po || exit 1
+${XGETTEXT} --omit-header --no-location -k:1,2 -d xg-y-1.tmp xg-y-1.ycp || Exit 1
+LC_ALL=C tr -d '\r' < xg-y-1.tmp.po > xg-y-1.po || Exit 1
 
 cat <<EOF > xg-y-1.ok
 #, ycp-format
index b5ea282ec1741b9aec7a458656aab6f7e2bba88a..b8bb5a7e087bf1f02fab89181560c20937625af0 100755 (executable)
@@ -20,8 +20,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --omit-header --no-location --add-comments=TRANSLATORS: \
-  -d xg-y-2.tmp xg-y-2.ycp || exit 1
-LC_ALL=C tr -d '\r' < xg-y-2.tmp.po > xg-y-2.po || exit 1
+  -d xg-y-2.tmp xg-y-2.ycp || Exit 1
+LC_ALL=C tr -d '\r' < xg-y-2.tmp.po > xg-y-2.po || Exit 1
 
 cat <<EOF > xg-y-2.ok
 msgid "help"
index 6325db6cc2c4a59b775cb0e3566c21999b74e7e3..bb0f014b374d374b03264645135d008c4f64fb56 100755 (executable)
@@ -11,8 +11,8 @@ print (_("John\n"
 EOF
 
 : ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -d xg-y-3.tmp xg-y-3.ycp || exit 1
-LC_ALL=C tr -d '\r' < xg-y-3.tmp.po > xg-y-3.po || exit 1
+${XGETTEXT} --omit-header --no-location -d xg-y-3.tmp xg-y-3.ycp || Exit 1
+LC_ALL=C tr -d '\r' < xg-y-3.tmp.po > xg-y-3.po || Exit 1
 
 cat <<\EOF > xg-y-3.ok
 msgid ""
index 6a958ee7b502ea9954abb691e0845876cb7f70b1..d9fb173c5004ff66b1ebd99666bd598f0aee7d5e 100755 (executable)
@@ -12,8 +12,8 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-y-4.tmp xg-y-4.ycp || exit 1
-LC_ALL=C tr -d '\r' < xg-y-4.tmp.po > xg-y-4.po || exit 1
+  -d xg-y-4.tmp xg-y-4.ycp || Exit 1
+LC_ALL=C tr -d '\r' < xg-y-4.tmp.po > xg-y-4.po || Exit 1
 
 cat <<EOF > xg-y-4.ok
 #. a