]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
iconvdata/run-iconv-test.sh: Actually test iconv modules
authorFlorian Weimer <fweimer@redhat.com>
Tue, 23 Dec 2014 15:16:32 +0000 (16:16 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 23 Dec 2014 15:16:32 +0000 (16:16 +0100)
Arjun Shankar noticed that this test case was not testing anything
because iconv was invoked without the required arguments.

ChangeLog
iconvdata/run-iconv-test.sh

index 97eaebbb22945a6c2dc0484627738719ca5a1324..2b6f0adbb2ca4da0b0989175c415312c546c51b1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-23  Florian Weimer  <fweimer@redhat.com>
+
+       * iconvdata/run-iconv-test.sh: Actually test iconv modules.
+
 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
index 5dfb69fe3a724ea2415201179274822b79e90d9e..1d0bf52748471dd73f6258ba2b031eeefa89a6a2 100755 (executable)
@@ -189,7 +189,7 @@ printf '\016\377\377\377\377\377\377\377' > $temp1
 for from in $iconv_modules ; do
     echo $ac_n "test decoder $from $ac_c"
     PROG=`eval echo $ICONV`
-    if $PROG < $temp1 >/dev/null 2>&1 ; then
+    if $PROG -f $from -t UTF8 < $temp1 >/dev/null 2>&1 ; then
        : # fall through
     else
        status=$?