cvs: php-src /ext/xml/tests bug32001.phpt

From: Date: Sun, 03 Apr 2005 00:12:30 +0000
Subject: cvs: php-src /ext/xml/tests bug32001.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-31191@lists.php.net to get a copy of this message
sniper Sat Apr 2 19:12:30 2005 EDT Modified files: /php-src/ext/xml/tests bug32001.phpt Log: Partial fix test: It is still possible to use expat libs with ext/xml.. http://cvs.php.net/diff.php/php-src/ext/xml/tests/bug32001.phpt?r1=1.2&r2=1.3&ty=u Index: php-src/ext/xml/tests/bug32001.phpt diff -u php-src/ext/xml/tests/bug32001.phpt:1.2 php-src/ext/xml/tests/bug32001.phpt:1.3 --- php-src/ext/xml/tests/bug32001.phpt:1.2 Sun Mar 13 20:11:54 2005 +++ php-src/ext/xml/tests/bug32001.phpt Sat Apr 2 19:12:26 2005 @@ -151,10 +151,12 @@ new testcase("GB2312", 1), ); -preg_match("/^libxml2 Version.*\$/im", $_ENV[TEST_PHP_EXECUTABLE] -i, $match); - -echo $match[0], "\n"; - +if (XML_SAX_IMPL == 'libxml') { + preg_match("/^libxml2 Version.*\$/im", $_ENV[TEST_PHP_EXECUTABLE] -i, $match); + echo $match[0], "\n"; +} else { + echo "libxml2 Version => NONE\n"; +} foreach ($suite as $testcase) { $testcase->run();

« previous php.cvs (#31191) next »