From 59d9b55bb203ec78be4ace221123e0d1b5827b35 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Wed, 8 Jun 2016 15:27:59 +0900 Subject: tests: Use Exit instead of exit if init.sh is used * gettext-tools/tests/*: Use Exit instead of exit, as suggested by init.sh. --- gettext-tools/tests/msgunfmt-tcl-1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gettext-tools/tests/msgunfmt-tcl-1') diff --git a/gettext-tools/tests/msgunfmt-tcl-1 b/gettext-tools/tests/msgunfmt-tcl-1 index ab493d7..6a2d2e0 100755 --- a/gettext-tools/tests/msgunfmt-tcl-1 +++ b/gettext-tools/tests/msgunfmt-tcl-1 @@ -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 -- cgit v1.1