diff options
author | Daiki Ueno <ueno@gnu.org> | 2016-06-08 15:27:59 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2016-06-08 15:28:49 +0900 |
commit | 59d9b55bb203ec78be4ace221123e0d1b5827b35 (patch) | |
tree | 4bbc2d778869beac6c86475523d366b7e8700966 /gettext-tools/tests/format-python-brace-1 | |
parent | a2a048cfe39504db09cfbbfdfc6cb9f417b3789f (diff) | |
download | external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.zip external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.tar.gz external_gettext-59d9b55bb203ec78be4ace221123e0d1b5827b35.tar.bz2 |
tests: Use Exit instead of exit if init.sh is used
* gettext-tools/tests/*: Use Exit instead of exit, as suggested by
init.sh.
Diffstat (limited to 'gettext-tools/tests/format-python-brace-1')
-rwxr-xr-x | gettext-tools/tests/format-python-brace-1 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/tests/format-python-brace-1 b/gettext-tools/tests/format-python-brace-1 index 3a1f9ea..593e3a6 100755 --- a/gettext-tools/tests/format-python-brace-1 +++ b/gettext-tools/tests/format-python-brace-1 @@ -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 |