1 commit 7d81e8d6db95c112c297930a8f2f9617c305529a
2 Author: Florian Weimer <fweimer@redhat.com>
3 Date: Tue Dec 23 16:16:32 2014 +0100
5 iconvdata/run-iconv-test.sh: Actually test iconv modules
7 Arjun Shankar noticed that this test case was not testing anything
8 because iconv was invoked without the required arguments.
10 diff --git a/iconvdata/run-iconv-test.sh b/iconvdata/run-iconv-test.sh
11 index 5dfb69f..1d0bf52 100755
12 --- a/iconvdata/run-iconv-test.sh
13 +++ b/iconvdata/run-iconv-test.sh
14 @@ -189,7 +189,7 @@ printf '\016\377\377\377\377\377\377\377' > $temp1
15 for from in $iconv_modules ; do
16 echo $ac_n "test decoder $from $ac_c"
17 PROG=`eval echo $ICONV`
18 - if $PROG < $temp1 >/dev/null 2>&1 ; then
19 + if $PROG -f $from -t UTF8 < $temp1 >/dev/null 2>&1 ; then