summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian MARGAINE <florian@margaine.com>2014-11-09 22:47:19 +0100
committerFlorian MARGAINE <florian@margaine.com>2014-11-09 22:48:56 +0100
commit62f6c3c0c4974559e1afefb4b6725e98c359a679 (patch)
tree63be4df7a9cb33eee616695397d92447a0e04c85
parent344eba1be8d211be1cc71c530e44bea14f3b7df9 (diff)
downloadphp-git-62f6c3c0c4974559e1afefb4b6725e98c359a679.tar.gz
Fixes posix tests
-rw-r--r--ext/posix/tests/posix_getgrgid_variation.phpt2
-rw-r--r--ext/posix/tests/posix_getpgid_variation.phpt2
-rw-r--r--ext/posix/tests/posix_getpwuid_variation.phpt2
-rw-r--r--ext/posix/tests/posix_kill_variation1.phpt2
-rw-r--r--ext/posix/tests/posix_kill_variation2.phpt2
-rw-r--r--ext/posix/tests/posix_seteuid_variation4.phpt4
-rw-r--r--ext/posix/tests/posix_setgid_variation4.phpt4
-rw-r--r--ext/posix/tests/posix_setuid_variation4.phpt4
-rw-r--r--ext/posix/tests/posix_strerror_variation1.phpt4
9 files changed, 25 insertions, 1 deletions
diff --git a/ext/posix/tests/posix_getgrgid_variation.phpt b/ext/posix/tests/posix_getgrgid_variation.phpt
index 5cce391d7b..0e3f7707a1 100644
--- a/ext/posix/tests/posix_getgrgid_variation.phpt
+++ b/ext/posix/tests/posix_getgrgid_variation.phpt
@@ -95,6 +95,8 @@ Arg value -10.5
valid output
Arg value 101234567000
+
+Warning: posix_getgrgid() expects parameter 1 to be long, double given in %s on line %d
valid output
Arg value 1.07654321E-9
diff --git a/ext/posix/tests/posix_getpgid_variation.phpt b/ext/posix/tests/posix_getpgid_variation.phpt
index b9c92b539a..5a0a9c13ae 100644
--- a/ext/posix/tests/posix_getpgid_variation.phpt
+++ b/ext/posix/tests/posix_getpgid_variation.phpt
@@ -95,6 +95,8 @@ Arg value -10.5
valid output
Arg value 101234567000
+
+Warning: posix_getpgid() expects parameter 1 to be long, double given in %s on line %d
valid output
Arg value 1.07654321E-9
diff --git a/ext/posix/tests/posix_getpwuid_variation.phpt b/ext/posix/tests/posix_getpwuid_variation.phpt
index 8b66f7f3d5..05a7a5d4c6 100644
--- a/ext/posix/tests/posix_getpwuid_variation.phpt
+++ b/ext/posix/tests/posix_getpwuid_variation.phpt
@@ -95,6 +95,8 @@ Arg value -10.5
valid output
Arg value 101234567000
+
+Warning: posix_getpwuid() expects parameter 1 to be long, double given in %s on line %d
valid output
Arg value 1.07654321E-9
diff --git a/ext/posix/tests/posix_kill_variation1.phpt b/ext/posix/tests/posix_kill_variation1.phpt
index 230977a9d0..c5b4d3fe4a 100644
--- a/ext/posix/tests/posix_kill_variation1.phpt
+++ b/ext/posix/tests/posix_kill_variation1.phpt
@@ -89,6 +89,8 @@ Arg value -10.5
bool(false)
Arg value 101234567000
+
+Warning: posix_kill() expects parameter 1 to be long, double given in %s on line %d
bool(false)
Arg value 1.07654321E-9
diff --git a/ext/posix/tests/posix_kill_variation2.phpt b/ext/posix/tests/posix_kill_variation2.phpt
index c03ead9a4b..020eb9f897 100644
--- a/ext/posix/tests/posix_kill_variation2.phpt
+++ b/ext/posix/tests/posix_kill_variation2.phpt
@@ -89,6 +89,8 @@ Arg value -10.5
bool(false)
Arg value 101234567000
+
+Warning: posix_kill() expects parameter 2 to be long, double given in %s on line %d
bool(false)
Arg value 1.07654321E-9
diff --git a/ext/posix/tests/posix_seteuid_variation4.phpt b/ext/posix/tests/posix_seteuid_variation4.phpt
index a6473284d4..99bca7eea2 100644
--- a/ext/posix/tests/posix_seteuid_variation4.phpt
+++ b/ext/posix/tests/posix_seteuid_variation4.phpt
@@ -36,6 +36,10 @@ foreach ( $variation_array as $var ) {
*** Test substituting argument 1 with float values ***
bool(false)
bool(false)
+
+Warning: posix_seteuid() expects parameter 1 to be long, double given in %s on line %d
bool(false)
+
+Warning: posix_seteuid() expects parameter 1 to be long, double given in %s on line %d
bool(false)
bool(false)
diff --git a/ext/posix/tests/posix_setgid_variation4.phpt b/ext/posix/tests/posix_setgid_variation4.phpt
index faae4d4d44..6d5f6c3941 100644
--- a/ext/posix/tests/posix_setgid_variation4.phpt
+++ b/ext/posix/tests/posix_setgid_variation4.phpt
@@ -35,7 +35,11 @@ foreach ( $variation_array as $var ) {
*** Test substituting argument 1 with float values ***
bool(false)
bool(false)
+
+Warning: posix_setgid() expects parameter 1 to be long, double given in %s on line %d
bool(false)
+
+Warning: posix_setgid() expects parameter 1 to be long, double given in %s on line %d
bool(false)
bool(false)
===DONE===
diff --git a/ext/posix/tests/posix_setuid_variation4.phpt b/ext/posix/tests/posix_setuid_variation4.phpt
index 288ac0d8f1..e6c343ede1 100644
--- a/ext/posix/tests/posix_setuid_variation4.phpt
+++ b/ext/posix/tests/posix_setuid_variation4.phpt
@@ -36,6 +36,10 @@ foreach ( $variation_array as $var ) {
*** Test substituting argument 1 with float values ***
bool(false)
bool(false)
+
+Warning: posix_setuid() expects parameter 1 to be long, double given in %s on line %d
bool(false)
+
+Warning: posix_setuid() expects parameter 1 to be long, double given in %s on line %d
bool(false)
bool(false)
diff --git a/ext/posix/tests/posix_strerror_variation1.phpt b/ext/posix/tests/posix_strerror_variation1.phpt
index 4d2b526716..7b62aafd4b 100644
--- a/ext/posix/tests/posix_strerror_variation1.phpt
+++ b/ext/posix/tests/posix_strerror_variation1.phpt
@@ -88,7 +88,9 @@ Arg value -10.5
string
Arg value 101234567000
-string
+
+Warning: posix_strerror() expects parameter 1 to be long, double given in %s on line %d
+boolean
Arg value 1.07654321E-9
string