SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
11
converters/enca/patches/patch-test_test-iconv_sh
Normal file
11
converters/enca/patches/patch-test_test-iconv_sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- test/test-iconv.sh.orig Mon Jan 4 19:12:05 2016
|
||||
+++ test/test-iconv.sh Fri Jan 8 22:17:39 2016
|
||||
@@ -23,7 +23,7 @@ if $ENCA --list converters | grep '^iconv$' >/dev/null
|
||||
diff $TEST_TEXT $TESTNAME.actual || DIE=1
|
||||
# One copy doesn't contain enough characters to overweight the noise
|
||||
cat $TESTNAME.tmp $TESTNAME.tmp $TESTNAME.tmp >$TESTNAME.actual
|
||||
- echo 'č' >>$TESTNAME.actual
|
||||
+ perl -i -pe 's/$/\xe8\n/' $TESTNAME.actual
|
||||
cat $TESTNAME.actual >$TESTNAME.tmp
|
||||
$ENCA $OPTS -x ISO-8859-2 $TESTNAME.tmp 2>/dev/null && DIE=1
|
||||
diff $TESTNAME.tmp $TESTNAME.actual || DIE=1
|
Loading…
Add table
Add a link
Reference in a new issue