diff options
Diffstat (limited to 'gettext-tools/tests/msgen-1')
-rwxr-xr-x | gettext-tools/tests/msgen-1 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gettext-tools/tests/msgen-1 b/gettext-tools/tests/msgen-1 index 9b02ffa..893c8cd 100755 --- a/gettext-tools/tests/msgen-1 +++ b/gettext-tools/tests/msgen-1 @@ -27,8 +27,8 @@ msgstr[1] "" EOF : ${MSGEN=msgen} -${MSGEN} -o men-test1.tmp men-test1.po || exit 1 -LC_ALL=C tr -d '\r' < men-test1.tmp > men-test1.out || exit 1 +${MSGEN} -o men-test1.tmp men-test1.po || Exit 1 +LC_ALL=C tr -d '\r' < men-test1.tmp > men-test1.out || Exit 1 cat <<EOF > men-test1.ok # HEADER. @@ -59,9 +59,9 @@ result=$? test $result = 0 || exit $result # Test --lang option. -${MSGEN} --lang=fr -o men-test1.tmp men-test1.po || exit 1 -grep "Language: fr" men-test1.tmp 2>&1 >/dev/null || exit 1 -grep -v "Language: fr" men-test1.tmp | LC_ALL=C tr -d '\r' > men-test1.out || exit 1 +${MSGEN} --lang=fr -o men-test1.tmp men-test1.po || Exit 1 +grep "Language: fr" men-test1.tmp 2>&1 >/dev/null || Exit 1 +grep -v "Language: fr" men-test1.tmp | LC_ALL=C tr -d '\r' > men-test1.out || Exit 1 ${DIFF} men-test1.ok men-test1.out result=$? |