Changeset f6efdcea


Ignore:
Timestamp:
May 10, 2019 10:22:57 PM (11 months ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
9eec357
Parents:
c1adcfc
Message:

Update test/check to support FreeBSD/MacOSX iconv which don't support the -o argument. Solution, use pipe instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/scripts/checkutf8.sh

    rc1adcfc rf6efdcea  
    3636do
    3737        #echo "Checking $i ..."
    38         iconv -f UTF8 -t UTF8 $i -o /dev/null
     38        iconv -f UTF8 -t UTF8 $i > /dev/null
    3939        if [ $? -ne 0 ]
    4040        then
     
    4848do
    4949        #echo "Checking $i ..."
    50         iconv -f UTF8 -t UTF8 $i -o /dev/null
     50        iconv -f UTF8 -t UTF8 $i > /dev/null
    5151        if [ $? -ne 0 ]
    5252        then
     
    6262do
    6363        #echo "Checking $i ..."
    64         iconv -f ISO-8859-1 -t ISO-8859-1 $i -o /dev/null
     64        iconv -f ISO-8859-1 -t ISO-8859-1 $i > /dev/null
    6565        if [ $? -ne 0 ]
    6666        then
Note: See TracChangeset for help on using the changeset viewer.