cvs: php4 /ext/iconv/tests eucjp2utf8.phpt translit.phpt
| From: | Jani Taskinen | Date: | Sat, 13 Jul 2002 08:08:36 +0000 |
| Subject: | cvs: php4 /ext/iconv/tests eucjp2utf8.phpt translit.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12817@lists.php.net to get a copy of this message | ||
sniper Sat Jul 13 04:08:36 2002 EDT
Modified files:
/php4/ext/iconv/tests eucjp2utf8.phpt translit.phpt
Log:
Fix SKIPs for these tests.
Index: php4/ext/iconv/tests/eucjp2utf8.phpt
diff -u php4/ext/iconv/tests/eucjp2utf8.phpt:1.2 php4/ext/iconv/tests/eucjp2utf8.phpt:1.3
--- php4/ext/iconv/tests/eucjp2utf8.phpt:1.2 Fri Jul 12 21:05:13 2002
+++ php4/ext/iconv/tests/eucjp2utf8.phpt Sat Jul 13 04:08:36 2002
@@ -1,7 +1,7 @@
--TEST--
EUC-JP to UTF8
--SKIPIF--
-<?php include('skipif.inc'); ?>
+<?php include('skipif.inc'); if (iconv("EUC-JP", "UTF8",
'') === FALSE) die("skip\n"); ?>
--POST--
--GET--
--FILE--
Index: php4/ext/iconv/tests/translit.phpt
diff -u php4/ext/iconv/tests/translit.phpt:1.1 php4/ext/iconv/tests/translit.phpt:1.2
--- php4/ext/iconv/tests/translit.phpt:1.1 Wed Jul 10 23:44:12 2002
+++ php4/ext/iconv/tests/translit.phpt Sat Jul 13 04:08:36 2002
@@ -1,10 +1,7 @@
--TEST--
ICONV: LIBICONV transliteration (bug #16069)
--SKIPIF--
-<?php
-include( 'skipif.inc' );
-if( empty( iconv( 'CP932', 'EUC-JP//TRANSLIT', '\x87\x6d' ) ) ) )
die("skip\n");
-?>
+<?php include('skipif.inc'); if(iconv('CP932', 'EUC-JP//TRANSLIT',
'\x87\x6d') === FALSE) die("skip\n"); ?>
--POST--
--GET--
--FILE--