]> granicus.if.org Git - php/commitdiff
Fix SKIPs for these tests.
authorfoobar <sniper@php.net>
Sat, 13 Jul 2002 08:08:36 +0000 (08:08 +0000)
committerfoobar <sniper@php.net>
Sat, 13 Jul 2002 08:08:36 +0000 (08:08 +0000)
ext/iconv/tests/eucjp2utf8.phpt
ext/iconv/tests/translit.phpt

index 2c5eb0d00291bd0fc10d002aadc3455942559aef..88b05f92a6aefedd95963f5d088788a7fbd0b71c 100644 (file)
@@ -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 e6e9b67f1c0faa7760688e8ef6b944fdbc555ae6..70f375c18f018a90c970812a502afeb2dcf9257b 100644 (file)
@@ -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--