diff options
| author | Antony Dovgal <tony2001@php.net> | 2008-04-11 11:06:18 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2008-04-11 11:06:18 +0000 |
| commit | ef1f2c1b7bb030c7776899734a0a022da4aed4d3 (patch) | |
| tree | 542fe9375adf427b43ef4ccca1754e5044d28042 | |
| parent | 1e20b1ed7d954d1f0be4230c2b41cd80691416bc (diff) | |
| download | php-git-ef1f2c1b7bb030c7776899734a0a022da4aed4d3.tar.gz | |
fix tests
| -rw-r--r-- | ext/posix/tests/posix_strerror_error.phpt | 2 | ||||
| -rw-r--r-- | ext/posix/tests/posix_strerror_variation1.phpt | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ext/posix/tests/posix_strerror_error.phpt b/ext/posix/tests/posix_strerror_error.phpt index 231757e671..6fc17ec0ce 100644 --- a/ext/posix/tests/posix_strerror_error.phpt +++ b/ext/posix/tests/posix_strerror_error.phpt @@ -42,5 +42,5 @@ Warning: posix_strerror() expects exactly 1 parameter, 2 given in %s on line %d bool(false) -- Testing posix_strerror() function with invalid error number -- -string(24) "Unknown error 4294966297" +string(%d) "Unknown error %d" Done diff --git a/ext/posix/tests/posix_strerror_variation1.phpt b/ext/posix/tests/posix_strerror_variation1.phpt index b2e4395864..40cfab2aad 100644 --- a/ext/posix/tests/posix_strerror_variation1.phpt +++ b/ext/posix/tests/posix_strerror_variation1.phpt @@ -1,5 +1,5 @@ --TEST-- -Test posix_strerror() function : usage variations - <type here specifics of this variation> +Test posix_strerror() function : usage variations --SKIPIF-- <?php if(!extension_loaded("posix")) print "skip - POSIX extension not loaded"; @@ -89,10 +89,10 @@ Arg value 10.5 string(18) "No child processes" Arg value -10.5 -string(24) "Unknown error 4294967286" +string(%d) "Unknown error %d" Arg value 101234567000 -string(24) "Unknown error 2450319192" +string(%d) "Unknown error %d" Arg value 1.07654321E-9 string(7) "Success" |
