]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests: Really add changes to msgunfmt-3
authorDaiki Ueno <ueno@gnu.org>
Fri, 5 Dec 2014 06:33:37 +0000 (15:33 +0900)
committerDaiki Ueno <ueno@gnu.org>
Fri, 5 Dec 2014 06:33:37 +0000 (15:33 +0900)
gettext-tools/tests/msgunfmt-3

index c09d0eac0b87c54c225661d4c2a1a8261f21637f..ce54a8f068892a41ca02de3a48e12cf10544b899 100755 (executable)
@@ -4,6 +4,9 @@
 # Test invalid or incomplete input
 
 : ${MSGUNFMT=msgunfmt}
-LANGUAGE= LC_ALL=C ${MSGUNFMT} "$abs_srcdir"/overflow.mo 2>mu-3.err >/dev/null
-test $? != 0 || exit 1
-grep ' is truncated' mu-3.err >/dev/null || exit 1
+
+for n in 1 2 3 4 5 6; do
+  LANGUAGE= LC_ALL=C ${MSGUNFMT} "$abs_srcdir"/overflow-$n.mo 2>mu-3.err >/dev/null
+  test $? != 0 || exit 1
+  grep ' is truncated' mu-3.err >/dev/null || exit 1
+done