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