]> granicus.if.org Git - php/commitdiff
MFH
authorAntony Dovgal <tony2001@php.net>
Fri, 11 Jul 2008 09:15:44 +0000 (09:15 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 11 Jul 2008 09:15:44 +0000 (09:15 +0000)
ext/standard/tests/file/lchown_basic.phpt
ext/standard/tests/file/lchown_error.phpt

index 0b7edb6fdedcc00f514aaaed9d99fc31c846ff79..411a64a4db470b234ec7bb13aaac75c9366d6798 100644 (file)
@@ -3,6 +3,7 @@ Test lchown() function : basic functionality
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') die('Skip: no windows support');
+if (!function_exists("posix_getuid")) die("skip: no posix_getuid()");
 ?>
 --FILE--
 <?php
index de7d9228871a69c651b233c4cf8848576bcd0b79..edc7338623649267bc976a42004a1a2a3e1575b6 100644 (file)
@@ -3,6 +3,7 @@ Test lchown() function : error functionality
 --SKIPIF--
 <?php
 if (substr(PHP_OS, 0, 3) == 'WIN') die('Skip: no windows support');
+if (!function_exists("posix_getuid")) die("skip: no posix_getuid()");
 ?>
 --FILE--
 <?php