From: Florian Weimer Date: Tue, 23 Dec 2014 15:16:32 +0000 (+0100) Subject: iconvdata/run-iconv-test.sh: Actually test iconv modules X-Git-Tag: upstream/2.30~6576 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d81e8d6db95c112c297930a8f2f9617c305529a;p=external%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 97eaebb..2b6f0ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-12-23 Florian Weimer + + * iconvdata/run-iconv-test.sh: Actually test iconv modules. + 2014-12-22 Joseph Myers * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do diff --git a/iconvdata/run-iconv-test.sh b/iconvdata/run-iconv-test.sh index 5dfb69f..1d0bf52 100755 --- a/iconvdata/run-iconv-test.sh +++ b/iconvdata/run-iconv-test.sh @@ -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=$?