diff options
author | Andrea Faulds <ajf@ajf.me> | 2014-11-28 23:39:08 +0000 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2014-11-28 23:39:08 +0000 |
commit | 088580557da1a41bbfc6aee004d78a002c8a6632 (patch) | |
tree | 6ec68845213cf43f531e706328486f2c51728fe5 /ext/posix | |
parent | f574ad140e754f800fd69cebe77de2d8d2d5985a (diff) | |
download | php-git-088580557da1a41bbfc6aee004d78a002c8a6632.tar.gz |
skip posix 32-bit
Diffstat (limited to 'ext/posix')
-rw-r--r-- | ext/posix/tests/posix_getgrgid_variation.phpt | 3 | ||||
-rw-r--r-- | ext/posix/tests/posix_getpgid_variation.phpt | 1 | ||||
-rw-r--r-- | ext/posix/tests/posix_getpwuid_variation.phpt | 3 | ||||
-rw-r--r-- | ext/posix/tests/posix_kill_variation1.phpt | 3 | ||||
-rw-r--r-- | ext/posix/tests/posix_kill_variation2.phpt | 1 | ||||
-rw-r--r-- | ext/posix/tests/posix_seteuid_variation4.phpt | 1 | ||||
-rw-r--r-- | ext/posix/tests/posix_setgid_variation4.phpt | 1 | ||||
-rw-r--r-- | ext/posix/tests/posix_setuid_variation4.phpt | 1 | ||||
-rw-r--r-- | ext/posix/tests/posix_strerror_variation1.phpt | 3 |
9 files changed, 13 insertions, 4 deletions
diff --git a/ext/posix/tests/posix_getgrgid_variation.phpt b/ext/posix/tests/posix_getgrgid_variation.phpt index 0e3f7707a1..4923f408c1 100644 --- a/ext/posix/tests/posix_getgrgid_variation.phpt +++ b/ext/posix/tests/posix_getgrgid_variation.phpt @@ -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-- diff --git a/ext/posix/tests/posix_getpgid_variation.phpt b/ext/posix/tests/posix_getpgid_variation.phpt index 5a0a9c13ae..f96bca29a3 100644 --- a/ext/posix/tests/posix_getpgid_variation.phpt +++ b/ext/posix/tests/posix_getpgid_variation.phpt @@ -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"; } diff --git a/ext/posix/tests/posix_getpwuid_variation.phpt b/ext/posix/tests/posix_getpwuid_variation.phpt index 05a7a5d4c6..9e0698af42 100644 --- a/ext/posix/tests/posix_getpwuid_variation.phpt +++ b/ext/posix/tests/posix_getpwuid_variation.phpt @@ -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-- diff --git a/ext/posix/tests/posix_kill_variation1.phpt b/ext/posix/tests/posix_kill_variation1.phpt index c5b4d3fe4a..353c90d7cf 100644 --- a/ext/posix/tests/posix_kill_variation1.phpt +++ b/ext/posix/tests/posix_kill_variation1.phpt @@ -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-- diff --git a/ext/posix/tests/posix_kill_variation2.phpt b/ext/posix/tests/posix_kill_variation2.phpt index 020eb9f897..6b104ccb22 100644 --- a/ext/posix/tests/posix_kill_variation2.phpt +++ b/ext/posix/tests/posix_kill_variation2.phpt @@ -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-- diff --git a/ext/posix/tests/posix_seteuid_variation4.phpt b/ext/posix/tests/posix_seteuid_variation4.phpt index 99bca7eea2..de814ce644 100644 --- a/ext/posix/tests/posix_seteuid_variation4.phpt +++ b/ext/posix/tests/posix_seteuid_variation4.phpt @@ -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."; ?> diff --git a/ext/posix/tests/posix_setgid_variation4.phpt b/ext/posix/tests/posix_setgid_variation4.phpt index 6d5f6c3941..1f02012453 100644 --- a/ext/posix/tests/posix_setgid_variation4.phpt +++ b/ext/posix/tests/posix_setgid_variation4.phpt @@ -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."; ?> diff --git a/ext/posix/tests/posix_setuid_variation4.phpt b/ext/posix/tests/posix_setuid_variation4.phpt index e6c343ede1..dbdc6ab7bf 100644 --- a/ext/posix/tests/posix_setuid_variation4.phpt +++ b/ext/posix/tests/posix_setuid_variation4.phpt @@ -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."; ?> diff --git a/ext/posix/tests/posix_strerror_variation1.phpt b/ext/posix/tests/posix_strerror_variation1.phpt index 7b62aafd4b..9e2099a71e 100644 --- a/ext/posix/tests/posix_strerror_variation1.phpt +++ b/ext/posix/tests/posix_strerror_variation1.phpt @@ -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-- |