iconvdata/run-iconv-test.sh: Actually test iconv modules

Arjun Shankar noticed that this test case was not testing anything
because iconv was invoked without the required arguments.
This commit is contained in:
Florian Weimer 2014-12-23 16:16:32 +01:00
parent 90aa3d0945
commit 7d81e8d6db
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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=$?