svn: /php/php-src/ branches/PHP_5_2/ext/posix/tests/posix_uname.phpt branches/PHP_5_2/ext/posix/tests/posix_uname_basic.phpt
branches/PHP_5_3/ext/posix/tests/posix_uname.phpt branches/PHP_5_3/ext/posix/tests/posix_uname_basic.phpt trunk/ext/posix/tests/posix_uname.phpt
trunk/ext/posix/tests/posix_uname_basic.phpt
| From: | Dmitry Stogov | Date: | Mon, 21 Sep 2009 11:30:38 +0000 |
| Subject: | svn: /php/php-src/ branches/PHP_5_2/ext/posix/tests/posix_uname.phpt branches/PHP_5_2/ext/posix/tests/posix_uname_basic.phpt branches/PHP_5_3/ext/posix/tests/posix_uname.phpt branches/PHP_5_3/ext/posix/tests/posix_uname_basic.phpt trunk/ext/posix/tests/posix_uname.phpt trunk/ext/posix/tests/posix_uname_basic.phpt |
||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-60444@lists.php.net to get a copy of this message | ||
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);
?>