diff options
Diffstat (limited to 'gettext-tools/tests/msgcmp-4')
-rwxr-xr-x | gettext-tools/tests/msgcmp-4 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gettext-tools/tests/msgcmp-4 b/gettext-tools/tests/msgcmp-4 index 1f80683..dd077f8 100755 --- a/gettext-tools/tests/msgcmp-4 +++ b/gettext-tools/tests/msgcmp-4 @@ -86,17 +86,17 @@ EOF # Verify that with fuzzies, all msgids of the POT file are covered. : ${MSGCMP=msgcmp} LC_MESSAGES=C LC_ALL= \ -${MSGCMP} --use-fuzzy mc-test4.po1 mc-test4.pot > mc-test4.out11 2>&1 || exit 1 +${MSGCMP} --use-fuzzy mc-test4.po1 mc-test4.pot > mc-test4.out11 2>&1 || Exit 1 if grep -v 'warning:' mc-test4.out11 > /dev/null; then - exit 1; + Exit 1; fi # Verify that without fuzzies, not all msgids of the POT file are covered. : ${MSGCMP=msgcmp} LC_MESSAGES=C LC_ALL= \ ${MSGCMP} mc-test4.po1 mc-test4.pot > mc-test4.out12 2>&1 -test $? = 1 || { exit 1; } -grep -v 'warning:' mc-test4.out12 > /dev/null || exit 1 +test $? = 1 || { Exit 1; } +grep -v 'warning:' mc-test4.out12 > /dev/null || Exit 1 cat <<\EOF > mc-test4.po2 msgid "" @@ -144,9 +144,9 @@ EOF # messages. : ${MSGCMP=msgcmp} LC_MESSAGES=C LC_ALL= \ -${MSGCMP} mc-test4.po2 mc-test4.pot > mc-test4.out2 2>&1 || exit 1 +${MSGCMP} mc-test4.po2 mc-test4.pot > mc-test4.out2 2>&1 || Exit 1 if grep -v 'warning:' mc-test4.out2 > /dev/null; then - exit 1; + Exit 1; fi exit $result |