diff options
author | Antony Dovgal <tony2001@php.net> | 2008-04-11 11:05:56 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-04-11 11:05:56 +0000 |
commit | f5a76422770b8e8bdd9f5fd6628aea0b2ca842f0 (patch) | |
tree | d51ae85153b1170065f965505c2a8cfb838c8dd4 /ext/posix | |
parent | c300f98ee061f69b98345b8ba3f36ef7f11ad419 (diff) | |
download | php-git-f5a76422770b8e8bdd9f5fd6628aea0b2ca842f0.tar.gz |
fix tests
Diffstat (limited to 'ext/posix')
-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 4888b7f513..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 2147483647" +string(%d) "Unknown error %d" Arg value 1.07654321E-9 string(7) "Success" |