summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/autopoint-3
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/tests/autopoint-3')
-rwxr-xr-xgettext-tools/tests/autopoint-344
1 files changed, 22 insertions, 22 deletions
diff --git a/gettext-tools/tests/autopoint-3 b/gettext-tools/tests/autopoint-3
index c0f468c..722910b 100755
--- a/gettext-tools/tests/autopoint-3
+++ b/gettext-tools/tests/autopoint-3
@@ -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