dmitry Mon, 21 Sep 2009 11:30:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=288519
Log:
Fixed tests
Changed paths:
U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname.phpt
U php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname_basic.phpt
U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname.phpt
U php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname_basic.phpt
U php/php-src/trunk/ext/posix/tests/posix_uname.phpt
U php/php-src/trunk/ext/posix/tests/posix_uname_basic.phpt
Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname.phpt
2009-09-21 11:22:13 UTC (rev 288518)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname.phpt
2009-09-21 11:30:38 UTC (rev 288519)
@@ -14,7 +14,9 @@
?>
--FILE--
<?php
- var_dump(posix_uname());
+ $uname = posix_uname();
+ unset($uname['domainname']);
+ var_dump($uname);
?>
===DONE===
--EXPECTF--
Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname_basic.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname_basic.phpt
2009-09-21 11:22:13 UTC (rev 288518)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname_basic.phpt
2009-09-21 11:30:38 UTC (rev 288519)
@@ -9,7 +9,7 @@
echo "Basic test of POSIX uname function\n";
$uname = posix_uname();
-
+ unset($uname['domainname']);
print_r($uname);
?>
Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname.phpt
2009-09-21 11:22:13 UTC (rev 288518)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname.phpt
2009-09-21 11:30:38 UTC (rev 288519)
@@ -14,7 +14,9 @@
?>
--FILE--
<?php
- var_dump(posix_uname());
+ $uname = posix_uname();
+ unset($uname['domainname']);
+ var_dump($uname);
?>
===DONE===
--EXPECTF--
Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname_basic.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname_basic.phpt
2009-09-21 11:22:13 UTC (rev 288518)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname_basic.phpt
2009-09-21 11:30:38 UTC (rev 288519)
@@ -9,7 +9,7 @@
echo "Basic test of POSIX uname function\n";
$uname = posix_uname();
-
+ unset($uname['domainname']);
print_r($uname);
?>
Modified: php/php-src/trunk/ext/posix/tests/posix_uname.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_uname.phpt 2009-09-21 11:22:13 UTC
(rev 288518)
+++ php/php-src/trunk/ext/posix/tests/posix_uname.phpt 2009-09-21 11:30:38 UTC
(rev 288519)
@@ -14,7 +14,9 @@
?>
--FILE--
<?php
- var_dump(posix_uname());
+ $uname = posix_uname();
+ unset($uname['domainname']);
+ var_dump($uname);
?>
===DONE===
--EXPECTF--
Modified: php/php-src/trunk/ext/posix/tests/posix_uname_basic.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_uname_basic.phpt 2009-09-21
11:22:13 UTC (rev 288518)
+++ php/php-src/trunk/ext/posix/tests/posix_uname_basic.phpt 2009-09-21
11:30:38 UTC (rev 288519)
@@ -9,7 +9,7 @@
echo "Basic test of POSIX uname function\n";
$uname = posix_uname();
-
+ unset($uname['domainname']);
print_r($uname);
?>
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php