summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-glade-5
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2016-06-08 15:27:59 +0900
committerDaiki Ueno <ueno@gnu.org>2016-06-08 15:28:49 +0900
commit59d9b55bb203ec78be4ace221123e0d1b5827b35 (patch)
tree4bbc2d778869beac6c86475523d366b7e8700966 /gettext-tools/tests/xgettext-glade-5
parenta2a048cfe39504db09cfbbfdfc6cb9f417b3789f (diff)
downloadexternal_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/xgettext-glade-5')
-rwxr-xr-xgettext-tools/tests/xgettext-glade-58
1 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/tests/xgettext-glade-5 b/gettext-tools/tests/xgettext-glade-5
index 3877808..2ce6132 100755
--- a/gettext-tools/tests/xgettext-glade-5
+++ b/gettext-tools/tests/xgettext-glade-5
@@ -12,7 +12,7 @@ EOF
${XGETTEXT} -o xg-gl-5.pot xg-gl-5-empty.glade 2>/dev/null
test $? = 0 || {
echo "Skipping test: xgettext was built without Glade support"
- exit 77
+ Exit 77
}
cat <<EOF > xg-gl-5.glade
@@ -54,7 +54,7 @@ cat <<EOF > xg-gl-5.glade
EOF
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o xg-gl-5.tmp xg-gl-5.glade || exit 1
+${XGETTEXT} -o xg-gl-5.tmp xg-gl-5.glade || Exit 1
# Don't simplify this to "grep ... < xg-gl-5.tmp", otherwise OpenBSD 4.0 grep
# only outputs "Binary file (standard input) matches".
cat xg-gl-5.tmp | grep -v 'POT-Creation-Date' > xg-gl-5.pot
@@ -98,7 +98,7 @@ test $result = 0 || {
# Check with --extract-all option
rm xg-gl-5.tmp
-${XGETTEXT} -a -o xg-gl-5.tmp xg-gl-5.glade || exit 1
+${XGETTEXT} -a -o xg-gl-5.tmp xg-gl-5.glade || Exit 1
# Don't simplify this to "grep ... < xg-gl-5.tmp", otherwise OpenBSD 4.0 grep
# only outputs "Binary file (standard input) matches".
cat xg-gl-5.tmp | grep -v 'POT-Creation-Date' > xg-gl-5.pot
@@ -149,7 +149,7 @@ cat <<EOF > xg-gl-5b.glade
EOF
: ${XGETTEXT=xgettext}
-${XGETTEXT} -o xg-gl-5b.tmp xg-gl-5b.glade 2>/dev/null || exit 1
+${XGETTEXT} -o xg-gl-5b.tmp xg-gl-5b.glade 2>/dev/null || Exit 1
# Don't simplify this to "grep ... < xg-gl-5b.tmp", otherwise OpenBSD 4.0 grep
# only outputs "Binary file (standard input) matches".
cat xg-gl-5b.tmp | grep -v 'POT-Creation-Date' > xg-gl-5b.pot