mirror of
https://github.com/php/php-src.git
synced 2024-11-27 03:44:07 +08:00
skip posix 32-bit
This commit is contained in:
parent
f574ad140e
commit
088580557d
@ -1,7 +1,8 @@
|
||||
--TEST--
|
||||
Test posix_getgrgid() function : usage variations - parameter types
|
||||
--SKIPIF--
|
||||
<?php
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -2,6 +2,7 @@
|
||||
Test posix_getpgid() function : variation
|
||||
--SKIPIF--
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if((!extension_loaded("posix")) || (!function_exists("posix_getpgid"))) {
|
||||
print "skip - POSIX extension not loaded or posix_getpgid() does not exist";
|
||||
}
|
||||
|
@ -1,7 +1,8 @@
|
||||
--TEST--
|
||||
Test posix_getpwuid() function : usage variations - parameter types
|
||||
--SKIPIF--
|
||||
<?php
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -1,7 +1,8 @@
|
||||
--TEST--
|
||||
Test posix_kill() function : usage variations - first parameter type
|
||||
--SKIPIF--
|
||||
<?php
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -2,6 +2,7 @@
|
||||
Test posix_kill() function : usage variations - second parameter type
|
||||
--SKIPIF--
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
?>
|
||||
--FILE--
|
||||
|
@ -2,6 +2,7 @@
|
||||
Test function posix_seteuid() by substituting argument 1 with float values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
|
@ -2,6 +2,7 @@
|
||||
Test function posix_setgid() by substituting argument 1 with float values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
|
@ -2,6 +2,7 @@
|
||||
Test function posix_setuid() by substituting argument 1 with float values.
|
||||
--SKIPIF--
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
if(posix_geteuid() == 0) print "skip - Cannot run test as root.";
|
||||
?>
|
||||
|
@ -1,7 +1,8 @@
|
||||
--TEST--
|
||||
Test posix_strerror() function : usage variations
|
||||
--SKIPIF--
|
||||
<?php
|
||||
<?php
|
||||
PHP_INT_SIZE == 4 or die("skip - 32-bit only");
|
||||
if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
|
||||
?>
|
||||
--FILE--
|
||||
|
Loading…
Reference in New Issue
Block a user