wharmby                                  Thu, 27 Aug 2009 12:21:19 +0000

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

Log:
Fix tests. Add missing SKIPIF sections so test do not run when POSIX extension 
not available.

Changed paths:
    U   php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_basic.phpt
    U   php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_error.phpt
    U   
php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation1.phpt
    U   
php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation2.phpt
    U   
php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation4.phpt
    U   
php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation5.phpt
    U   
php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation6.phpt
    U   php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_basic.phpt
    U   php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_error.phpt
    U   
php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation1.phpt
    U   
php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation2.phpt
    U   
php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation4.phpt
    U   
php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation5.phpt
    U   
php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation6.phpt
    U   php/php-src/trunk/ext/posix/tests/posix_setgid_basic.phpt
    U   php/php-src/trunk/ext/posix/tests/posix_setgid_error.phpt
    U   php/php-src/trunk/ext/posix/tests/posix_setgid_variation1.phpt
    U   php/php-src/trunk/ext/posix/tests/posix_setgid_variation2.phpt
    U   php/php-src/trunk/ext/posix/tests/posix_setgid_variation4.phpt
    U   php/php-src/trunk/ext/posix/tests/posix_setgid_variation5.phpt
    U   php/php-src/trunk/ext/posix/tests/posix_setgid_variation6.phpt

Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_basic.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_basic.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_basic.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by calling it with its expected arguments
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -15,6 +19,9 @@


 ?>
+===DONE===
 --EXPECTF--
 *** Test by calling method or function with its expected arguments ***
 bool(true)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_error.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_error.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_error.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,6 +1,10 @@
 --TEST--
 Test function posix_setgid() by calling it more than or less than its expected arguments.
 --CREDITS--
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
@@ -17,6 +21,7 @@
 var_dump(posix_setgid(  ) );

 ?>
+===DONE===
 --EXPECTF--
 *** Test by calling method or function with incorrect numbers of arguments ***

@@ -25,3 +30,4 @@

 Warning: posix_setgid() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
+===DONE===

Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation1.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation1.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation1.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with array values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -25,6 +29,7 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with array values ***

@@ -39,3 +44,4 @@

 Warning: posix_setgid() expects parameter 1 to be long, array given in %s on line %d
 bool(false)
+===DONE===

Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation2.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation2.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation2.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with boolean values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -24,9 +28,12 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with boolean values ***
 bool(false)
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation4.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation4.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation4.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with float values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -25,6 +29,7 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with float values ***
 bool(false)
@@ -32,3 +37,5 @@
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation5.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation5.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation5.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with int values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -23,8 +27,11 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with int values ***
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation6.phpt
===================================================================
--- php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation6.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_2/ext/posix/tests/posix_setgid_variation6.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with object values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -43,9 +47,12 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with object values ***
 Error: 2 - posix_setgid() expects parameter 1 to be long, object given, %s
 bool(false)
 Error: 2 - posix_setgid() expects parameter 1 to be long, object given, %s
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_basic.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_basic.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_basic.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by calling it with its expected arguments
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -15,6 +19,9 @@


 ?>
+===DONE===
 --EXPECTF--
 *** Test by calling method or function with its expected arguments ***
 bool(true)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_error.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_error.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_error.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,6 +1,10 @@
 --TEST--
 Test function posix_setgid() by calling it more than or less than its expected arguments.
 --CREDITS--
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
@@ -17,6 +21,7 @@
 var_dump(posix_setgid(  ) );

 ?>
+===DONE===
 --EXPECTF--
 *** Test by calling method or function with incorrect numbers of arguments ***

@@ -25,3 +30,4 @@

 Warning: posix_setgid() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
+===DONE===

Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation1.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation1.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation1.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with array values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -25,6 +29,7 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with array values ***

@@ -39,3 +44,4 @@

 Warning: posix_setgid() expects parameter 1 to be long, array given in %s on line %d
 bool(false)
+===DONE===

Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation2.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation2.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation2.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with boolean values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -24,9 +28,12 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with boolean values ***
 bool(false)
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation4.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation4.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation4.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with float values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -25,6 +29,7 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with float values ***
 bool(false)
@@ -32,3 +37,5 @@
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation5.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation5.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation5.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with int values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -23,8 +27,11 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with int values ***
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation6.phpt
===================================================================
--- php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation6.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/branches/PHP_5_3/ext/posix/tests/posix_setgid_variation6.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with object values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -43,9 +47,12 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with object values ***
 Error: 2 - posix_setgid() expects parameter 1 to be long, object given, %s
 bool(false)
 Error: 2 - posix_setgid() expects parameter 1 to be long, object given, %s
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_basic.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_setgid_basic.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/trunk/ext/posix/tests/posix_setgid_basic.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by calling it with its expected arguments
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -15,6 +19,9 @@


 ?>
+===DONE===
 --EXPECTF--
 *** Test by calling method or function with its expected arguments ***
 bool(true)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_error.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_setgid_error.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/trunk/ext/posix/tests/posix_setgid_error.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,6 +1,10 @@
 --TEST--
 Test function posix_setgid() by calling it more than or less than its expected arguments.
 --CREDITS--
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
 #PHPTestFest Cesena Italia on 2009-06-20
@@ -17,6 +21,7 @@
 var_dump(posix_setgid(  ) );

 ?>
+===DONE===
 --EXPECTF--
 *** Test by calling method or function with incorrect numbers of arguments ***

@@ -25,3 +30,4 @@

 Warning: posix_setgid() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
+===DONE===

Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation1.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_setgid_variation1.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation1.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with array values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -25,6 +29,7 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with array values ***

@@ -39,3 +44,4 @@

 Warning: posix_setgid() expects parameter 1 to be long, array given in %s on line %d
 bool(false)
+===DONE===

Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation2.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_setgid_variation2.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation2.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with boolean values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -24,9 +28,12 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with boolean values ***
 bool(false)
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation4.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_setgid_variation4.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation4.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with float values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -25,6 +29,7 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with float values ***
 bool(false)
@@ -32,3 +37,5 @@
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation5.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_setgid_variation5.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation5.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with int values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -23,8 +27,11 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with int values ***
 bool(false)
 bool(false)
 bool(false)
+===DONE===
+
\ No newline at end of file

Modified: php/php-src/trunk/ext/posix/tests/posix_setgid_variation6.phpt
===================================================================
--- php/php-src/trunk/ext/posix/tests/posix_setgid_variation6.phpt	2009-08-27 12:17:39 UTC (rev 287802)
+++ php/php-src/trunk/ext/posix/tests/posix_setgid_variation6.phpt	2009-08-27 12:21:19 UTC (rev 287803)
@@ -1,5 +1,9 @@
 --TEST--
 Test function posix_setgid() by substituting argument 1 with object values.
+--SKIPIF--
+<?php
+        if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+?>
 --CREDITS--
 Marco Fabbri mrfab...@gmail.com
 Francesco Fullone f...@ideato.it
@@ -43,9 +47,12 @@
   var_dump(posix_setgid( $var  ) );
 }
 ?>
+===DONE===
 --EXPECTF--
 *** Test substituting argument 1 with object values ***
 Error: 2 - posix_setgid() expects parameter 1 to be long, object given, %s
 bool(false)
 Error: 2 - posix_setgid() expects parameter 1 to be long, object given, %s
 bool(false)
+===DONE===
+
\ No newline at end of file
-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to