cvs: php-src(PHP_5_2) /ext/posix/tests posix_strerror_error.phpt posix_strerror_variation1.phpt
| From: | Antony Dovgal | Date: | Fri, 11 Apr 2008 11:06:18 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/posix/tests posix_strerror_error.phpt posix_strerror_variation1.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-49589@lists.php.net to get a copy of this message | ||
tony2001 Fri Apr 11 11:06:18 2008 UTC
Modified files: (Branch: PHP_5_2)
/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.1.2.1&r2=1.1.2.2&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.1.2.1
php-src/ext/posix/tests/posix_strerror_error.phpt:1.1.2.2
--- php-src/ext/posix/tests/posix_strerror_error.phpt:1.1.2.1 Fri Apr 11 09:32:31 2008
+++ php-src/ext/posix/tests/posix_strerror_error.phpt Fri Apr 11 11:06:18 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.1.2.1&r2=1.1.2.2&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.1.2.1
php-src/ext/posix/tests/posix_strerror_variation1.phpt:1.1.2.2
--- php-src/ext/posix/tests/posix_strerror_variation1.phpt:1.1.2.1 Fri Apr 11 09:27:41 2008
+++ php-src/ext/posix/tests/posix_strerror_variation1.phpt Fri Apr 11 11:06:18 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 2450319192"
+string(%d) "Unknown error %d"
Arg value 1.07654321E-9
string(7) "Success"