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