jani                                     Fri, 12 Feb 2010 17:09:09 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=294998

Log:
- Removed duplicate tests (bug #51007)

Bug: http://bugs.php.net/51007 (Open) posix_uname{,_basic}.phpt are duplicates 
and lack handling of domainname
      
Changed paths:
    D   php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname.phpt
    D   php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname.phpt
    D   php/php-src/trunk/ext/posix/tests/posix_uname.phpt

Deleted: 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       
2010-02-12 17:08:30 UTC (rev 294997)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_uname.phpt       
2010-02-12 17:09:09 UTC (rev 294998)
@@ -1,35 +0,0 @@
---TEST--
-Test posix_uname()
---DESCRIPTION--
-Gets information about the system.
-Source code: ext/posix/posix.c
---CREDITS--
-Falko Menge, mail at falko-menge dot de
-PHP Testfest Berlin 2009-05-10
---SKIPIF--
-<?php
-       if (!extension_loaded('posix')) {
-        die('SKIP - POSIX extension not available');
-    }
-?>
---FILE--
-<?php
-    $uname = posix_uname();
-    unset($uname['domainname']);
-    var_dump($uname);
-?>
-===DONE===
---EXPECTF--
-array(5) {
-  ["sysname"]=>
-  string(%d) "%s"
-  ["nodename"]=>
-  string(%d) "%s"
-  ["release"]=>
-  string(%d) "%s"
-  ["version"]=>
-  string(%d) "%s"
-  ["machine"]=>
-  string(%d) "%s"
-}
-===DONE===

Deleted: 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       
2010-02-12 17:08:30 UTC (rev 294997)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_uname.phpt       
2010-02-12 17:09:09 UTC (rev 294998)
@@ -1,35 +0,0 @@
---TEST--
-Test posix_uname()
---DESCRIPTION--
-Gets information about the system.
-Source code: ext/posix/posix.c
---CREDITS--
-Falko Menge, mail at falko-menge dot de
-PHP Testfest Berlin 2009-05-10
---SKIPIF--
-<?php
-       if (!extension_loaded('posix')) {
-        die('SKIP - POSIX extension not available');
-    }
-?>
---FILE--
-<?php
-    $uname = posix_uname();
-    unset($uname['domainname']);
-    var_dump($uname);
-?>
-===DONE===
---EXPECTF--
-array(5) {
-  ["sysname"]=>
-  string(%d) "%s"
-  ["nodename"]=>
-  string(%d) "%s"
-  ["release"]=>
-  string(%d) "%s"
-  ["version"]=>
-  string(%d) "%s"
-  ["machine"]=>
-  string(%d) "%s"
-}
-===DONE===

Deleted: php/php-src/trunk/ext/posix/tests/posix_uname.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_uname.phpt  2010-02-12 17:08:30 UTC 
(rev 294997)
+++ php/php-src/trunk/ext/posix/tests/posix_uname.phpt  2010-02-12 17:09:09 UTC 
(rev 294998)
@@ -1,35 +0,0 @@
---TEST--
-Test posix_uname()
---DESCRIPTION--
-Gets information about the system.
-Source code: ext/posix/posix.c
---CREDITS--
-Falko Menge, mail at falko-menge dot de
-PHP Testfest Berlin 2009-05-10
---SKIPIF--
-<?php
-       if (!extension_loaded('posix')) {
-        die('SKIP - POSIX extension not available');
-    }
-?>
---FILE--
-<?php
-    $uname = posix_uname();
-    unset($uname['domainname']);
-    var_dump($uname);
-?>
-===DONE===
---EXPECTF--
-array(5) {
-  [u"sysname"]=>
-  string(%d) "%s"
-  [u"nodename"]=>
-  string(%d) "%s"
-  [u"release"]=>
-  string(%d) "%s"
-  [u"version"]=>
-  string(%d) "%s"
-  [u"machine"]=>
-  string(%d) "%s"
-}
-===DONE===

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to