]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Fri, 11 Apr 2008 11:06:18 +0000 (11:06 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 11 Apr 2008 11:06:18 +0000 (11:06 +0000)
ext/posix/tests/posix_strerror_error.phpt
ext/posix/tests/posix_strerror_variation1.phpt

index 231757e671e38ca4da1abf880907adb17237deb8..6fc17ec0ceb5dc9e937049b13cc259755d2dc2f1 100644 (file)
@@ -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
index b2e43958649eecbc3571f07690ba2d566373b994..40cfab2aadcf6f896c69c3dcea6bbf76c39b8f0e 100644 (file)
@@ -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"