Fix exit code.

This commit is contained in:
Bruno Haible 2002-03-05 20:00:43 +00:00
parent 5fe9b620c4
commit 4d74b415b9
3 changed files with 8 additions and 2 deletions

View File

@ -1,8 +1,14 @@
2002-03-05 Bruno Haible <bruno@clisp.org>
* xgettext-19: When skipping the test, use exit code 77.
* xgettext-20: Likewise.
2002-03-03 Bruno Haible <bruno@clisp.org>
* format-tcl-1: New file.
* format-tcl-2: New file.
* lang-tcl: New file.
* xgettext-21: New file.
* Makefile.am (TESTS): Add them.
2002-03-03 Bruno Haible <bruno@clisp.org>

View File

@ -14,7 +14,7 @@ EOF
tmpfiles="$tmpfiles xg-test19.pot"
: ${XGETTEXT=xgettext}
${XGETTEXT} -o xg-test19.pot empty.glade 2>/dev/null
test $? = 0 || { echo "SKIP: xgettext-19"; rm -fr $tmpfiles; exit 1; }
test $? = 0 || { echo "SKIP: xgettext-19"; rm -fr $tmpfiles; exit 77; }
tmpfiles="$tmpfiles widgets.glade"
cat <<EOF > widgets.glade

View File

@ -15,7 +15,7 @@ EOF
tmpfiles="$tmpfiles xg-test20.pot"
: ${XGETTEXT=xgettext}
${XGETTEXT} -o xg-test20.pot empty.glade 2>/dev/null
test $? = 0 || { echo "SKIP: xgettext-20"; rm -fr $tmpfiles; exit 1; }
test $? = 0 || { echo "SKIP: xgettext-20"; rm -fr $tmpfiles; exit 77; }
tmpfiles="$tmpfiles simple.glade"
cat <<\EOF > simple.glade