diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-06-11 13:13:21 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2016-06-11 13:13:21 +0000 |
commit | 500500ec9b7b0d0cef90b48c9b4ddc8866b5f19c (patch) | |
tree | 1d7b3e6fab5c199fdbbaab53ee9532de6a4c8cf7 /gettext-tools/tests/msgfilter-5 | |
parent | 6eb5949dd99d174393465069c2fd0bab32deddcc (diff) | |
download | gettext-tarball-500500ec9b7b0d0cef90b48c9b4ddc8866b5f19c.tar.gz |
gettext-0.19.8.1HEADgettext-0.19.8.1master
Diffstat (limited to 'gettext-tools/tests/msgfilter-5')
-rwxr-xr-x | gettext-tools/tests/msgfilter-5 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gettext-tools/tests/msgfilter-5 b/gettext-tools/tests/msgfilter-5 index 0a8da6f..21f08ee 100755 --- a/gettext-tools/tests/msgfilter-5 +++ b/gettext-tools/tests/msgfilter-5 @@ -19,13 +19,13 @@ fi # spaces. echo abc | fold -b -s -w 20 >/dev/null 2>&1 || { echo "Skipping test: fold program not POSIX compliant" - exit 77 + Exit 77 } # Some fold programs (like NetBSD 5.0) remove trailing spaces when wrapping. echo ab cd | fold -b -s -w 3 | grep ' ' >/dev/null || { echo "Skipping test: fold program trims trailing spaces" - exit 77 + Exit 77 } # Some fold programs (like HP-UX) insert a newline at the end, if the last @@ -34,7 +34,7 @@ foldoutputcount=`echo $ac_n "abc$ac_c" | fold -b -s -w 20 | wc -c` foldoutputcount=`echo "$foldoutputcount" | sed -e 's/[ ]//g'` test "$foldoutputcount" = 3 || { echo "Skipping test: fold program inserts extra newline" - exit 77 + Exit 77 } cat <<\EOF > mfi-test5.po @@ -92,7 +92,7 @@ LC_ALL=C ${MSGFILTER} --add-location=file -i mfi-test5.po -o mfi-test5.out \ fold -b -s -w 20 >mfi-test5.err 2>&1 result=$? cat mfi-test5.err | grep -v 'warning: Locale charset' | grep -v '^ ' -test $result = 0 || { exit 1; } +test $result = 0 || { Exit 1; } cat <<\EOF > mfi-test5.ok # HEADER. |