ce426f
commit 7d81e8d6db95c112c297930a8f2f9617c305529a
ce426f
Author: Florian Weimer <fweimer@redhat.com>
ce426f
Date:   Tue Dec 23 16:16:32 2014 +0100
ce426f
ce426f
    iconvdata/run-iconv-test.sh: Actually test iconv modules
ce426f
    
ce426f
    Arjun Shankar noticed that this test case was not testing anything
ce426f
    because iconv was invoked without the required arguments.
ce426f
ce426f
diff --git glibc-2.17-c758a686/iconvdata/run-iconv-test.sh glibc-2.17-c758a686/iconvdata/run-iconv-test.sh
ce426f
index 5dfb69f..1d0bf52 100755
ce426f
--- glibc-2.17-c758a686/iconvdata/run-iconv-test.sh
ce426f
+++ glibc-2.17-c758a686/iconvdata/run-iconv-test.sh
ce426f
@@ -189,7 +189,7 @@ printf '\016\377\377\377\377\377\377\377' > $temp1
ce426f
 for from in $iconv_modules ; do
ce426f
     echo $ac_n "test decoder $from $ac_c"
ce426f
     PROG=`eval echo $ICONV`
ce426f
-    if $PROG < $temp1 >/dev/null 2>&1 ; then
ce426f
+    if $PROG -f $from -t UTF8 < $temp1 >/dev/null 2>&1 ; then
ce426f
 	: # fall through
ce426f
     else
ce426f
 	status=$?