summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2009-09-21 11:30:38 +0000
committerDmitry Stogov <dmitry@php.net>2009-09-21 11:30:38 +0000
commit623fe9aaf9dc402d1d9e081cd5c980599d66ccaf (patch)
treeb088fe8f4921ff56dbd885f41393132550643f43 /ext/posix
parentb4ba7fb96e829d9ccc58e5fd24411008e95c15f1 (diff)
downloadphp-git-623fe9aaf9dc402d1d9e081cd5c980599d66ccaf.tar.gz
Fixed tests
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/tests/posix_uname.phpt4
-rw-r--r--ext/posix/tests/posix_uname_basic.phpt2
2 files changed, 4 insertions, 2 deletions
diff --git a/ext/posix/tests/posix_uname.phpt b/ext/posix/tests/posix_uname.phpt
index 12c4baec16..3acbdaf137 100644
--- a/ext/posix/tests/posix_uname.phpt
+++ b/ext/posix/tests/posix_uname.phpt
@@ -14,7 +14,9 @@ PHP Testfest Berlin 2009-05-10
?>
--FILE--
<?php
- var_dump(posix_uname());
+ $uname = posix_uname();
+ unset($uname['domainname']);
+ var_dump($uname);
?>
===DONE===
--EXPECTF--
diff --git a/ext/posix/tests/posix_uname_basic.phpt b/ext/posix/tests/posix_uname_basic.phpt
index 7dd378192e..6bd5b100ee 100644
--- a/ext/posix/tests/posix_uname_basic.phpt
+++ b/ext/posix/tests/posix_uname_basic.phpt
@@ -9,7 +9,7 @@ Test posix_uname() function : basic functionality
echo "Basic test of POSIX uname function\n";
$uname = posix_uname();
-
+ unset($uname['domainname']);
print_r($uname);
?>