tony2001 Fri Apr 11 11:05:33 2008 UTC Modified files: /php-src/ext/posix/tests posix_strerror_error.phpt posix_strerror_variation1.phpt Log: fix tests http://cvs.php.net/viewvc.cgi/php-src/ext/posix/tests/posix_strerror_error.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/posix/tests/posix_strerror_error.phpt diff -u php-src/ext/posix/tests/posix_strerror_error.phpt:1.2 php-src/ext/posix/tests/posix_strerror_error.phpt:1.3 --- php-src/ext/posix/tests/posix_strerror_error.phpt:1.2 Fri Apr 11 09:33:59 2008 +++ php-src/ext/posix/tests/posix_strerror_error.phpt Fri Apr 11 11:05:33 2008 @@ -42,5 +42,5 @@ bool(false) -- Testing posix_strerror() function with invalid error number -- -string(24) "Unknown error 4294966297" +string(%d) "Unknown error %d" Done http://cvs.php.net/viewvc.cgi/php-src/ext/posix/tests/posix_strerror_variation1.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/posix/tests/posix_strerror_variation1.phpt diff -u php-src/ext/posix/tests/posix_strerror_variation1.phpt:1.2 php-src/ext/posix/tests/posix_strerror_variation1.phpt:1.3 --- php-src/ext/posix/tests/posix_strerror_variation1.phpt:1.2 Fri Apr 11 09:29:08 2008 +++ php-src/ext/posix/tests/posix_strerror_variation1.phpt Fri Apr 11 11:05:33 2008 @@ -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 @@ 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" @@ -181,10 +181,10 @@ 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"
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php