]> git.ipfire.org Git - ipfire-2.x.git/blob - src/patches/glibc/glibc-rh1176907.patch
Merge branch 'bird' into next
[ipfire-2.x.git] / src / patches / glibc / glibc-rh1176907.patch
1 commit 7d81e8d6db95c112c297930a8f2f9617c305529a
2 Author: Florian Weimer <fweimer@redhat.com>
3 Date: Tue Dec 23 16:16:32 2014 +0100
4
5 iconvdata/run-iconv-test.sh: Actually test iconv modules
6
7 Arjun Shankar noticed that this test case was not testing anything
8 because iconv was invoked without the required arguments.
9
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
20 : # fall through
21 else
22 status=$?