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/msgfmt-xml-2 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'gettext-tools/tests/msgfmt-xml-2') diff --git a/gettext-tools/tests/msgfmt-xml-2 b/gettext-tools/tests/msgfmt-xml-2 index d10d21c..e41a6c0 100755 --- a/gettext-tools/tests/msgfmt-xml-2 +++ b/gettext-tools/tests/msgfmt-xml-2 @@ -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 -- cgit v1.1