From 500500ec9b7b0d0cef90b48c9b4ddc8866b5f19c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Sat, 11 Jun 2016 13:13:21 +0000 Subject: gettext-0.19.8.1 --- gettext-tools/tests/msgfilter-5 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gettext-tools/tests/msgfilter-5') 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. -- cgit v1.2.1