felipe Mon Jan 5 17:53:53 2009 UTC Modified files: /php-src/ext/date/tests idate_variation7.phpt /php-src/ext/filter/tests 041.phpt /php-src/ext/posix/tests posix_initgroups.phpt /php-src/ext/session/tests session_module_name_variation3.phpt session_name_error.phpt session_name_variation1.phpt session_save_path_basic.phpt session_save_path_error.phpt session_save_path_variation1.phpt session_set_save_handler_basic.phpt /php-src/ext/standard/tests/array compact_variation1.phpt /php-src/tests/basic 022.phpt /php-src/tests/lang bug44654.phpt comments.phpt Log: - Fixed tests
http://cvs.php.net/viewvc.cgi/php-src/ext/date/tests/idate_variation7.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/date/tests/idate_variation7.phpt diff -u php-src/ext/date/tests/idate_variation7.phpt:1.2 php-src/ext/date/tests/idate_variation7.phpt:1.3 --- php-src/ext/date/tests/idate_variation7.phpt:1.2 Thu Dec 18 14:53:46 2008 +++ php-src/ext/date/tests/idate_variation7.phpt Mon Jan 5 17:53:53 2009 @@ -24,7 +24,7 @@ *** Testing idate() : usage variation *** Strict Standards: idate(): It is not safe to rely on the system's timezone settings.%s -int(2008) +int(2009) Strict Standards: idate(): It is not safe to rely on the system's timezone settings.%s int(2008) http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/041.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/ext/filter/tests/041.phpt diff -u php-src/ext/filter/tests/041.phpt:1.3 php-src/ext/filter/tests/041.phpt:1.4 --- php-src/ext/filter/tests/041.phpt:1.3 Tue Dec 19 14:16:08 2006 +++ php-src/ext/filter/tests/041.phpt Mon Jan 5 17:53:53 2009 @@ -19,12 +19,12 @@ ?> --EXPECT-- array(3) { - ["abc"]=> - string(3) "dir" - ["def"]=> - string(4) "true" - ["xyz"]=> - string(17) ""foo bar"" + [u"abc"]=> + unicode(3) "dir" + [u"def"]=> + unicode(4) "true" + [u"xyz"]=> + unicode(17) ""foo bar"" } bool(true) string(3) "dir" http://cvs.php.net/viewvc.cgi/php-src/ext/posix/tests/posix_initgroups.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/ext/posix/tests/posix_initgroups.phpt diff -u php-src/ext/posix/tests/posix_initgroups.phpt:1.2 php-src/ext/posix/tests/posix_initgroups.phpt:1.3 --- php-src/ext/posix/tests/posix_initgroups.phpt:1.2 Wed Dec 3 20:43:22 2008 +++ php-src/ext/posix/tests/posix_initgroups.phpt Mon Jan 5 17:53:53 2009 @@ -13,6 +13,6 @@ ?> --EXPECTF-- -Warning: posix_initgroups() expects parameter 2 to be long, string given in %s on line %d +Warning: posix_initgroups() expects parameter 2 to be long, Unicode string given in %s on line %d bool(false) bool(false) http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/session_module_name_variation3.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/session/tests/session_module_name_variation3.phpt diff -u php-src/ext/session/tests/session_module_name_variation3.phpt:1.5 php-src/ext/session/tests/session_module_name_variation3.phpt:1.6 --- php-src/ext/session/tests/session_module_name_variation3.phpt:1.5 Thu Nov 27 13:49:45 2008 +++ php-src/ext/session/tests/session_module_name_variation3.phpt Mon Jan 5 17:53:53 2009 @@ -38,17 +38,6 @@ ?> --EXPECTF-- *** Testing session_module_name() : variation *** -string(%d) "%s" -string(4) "user" - -Fatal error: Uncaught exception 'Exception' with message 'Stop...!' in %s:%d -Stack trace: -#0 [internal function]: open('', 'PHPSESSID') -#1 %s(%d): session_start() -#2 {main} - thrown in %s on line %d ---UEXPECTF-- -*** Testing session_module_name() : variation *** unicode(5) "files" unicode(4) "user" http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/session_name_error.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/session/tests/session_name_error.phpt diff -u php-src/ext/session/tests/session_name_error.phpt:1.5 php-src/ext/session/tests/session_name_error.phpt:1.6 --- php-src/ext/session/tests/session_name_error.phpt:1.5 Thu Nov 27 13:49:45 2008 +++ php-src/ext/session/tests/session_name_error.phpt Mon Jan 5 17:53:53 2009 @@ -98,83 +98,6 @@ *** Testing session_name() : error functionality *** -- Iteration 1 -- -string(9) "PHPSESSID" - --- Iteration 2 -- -string(1) "0" - --- Iteration 3 -- -string(1) "1" - --- Iteration 4 -- -string(5) "12345" - --- Iteration 5 -- -string(5) "-2345" - --- Iteration 6 -- -string(4) "10.5" - --- Iteration 7 -- -string(5) "-10.5" - --- Iteration 8 -- -string(12) "123456789000" - --- Iteration 9 -- -string(13) "1.23456789E-9" - --- Iteration 10 -- -string(3) "0.5" - --- Iteration 11 -- -string(0) "" - --- Iteration 12 -- -string(0) "" - --- Iteration 13 -- -string(1) "1" - --- Iteration 14 -- -string(0) "" - --- Iteration 15 -- -string(1) "1" - --- Iteration 16 -- -string(0) "" - --- Iteration 17 -- -string(0) "" - --- Iteration 18 -- -string(0) "" - --- Iteration 19 -- -string(7) "Nothing" - --- Iteration 20 -- -string(7) "Nothing" - --- Iteration 21 -- -string(12) "Hello World!" - --- Iteration 22 -- -string(12) "Hello World!" - --- Iteration 23 -- -string(0) "" - --- Iteration 24 -- - -Warning: session_name() expects parameter 1 to be string, resource given in %s on line %d -NULL -Done ---UEXPECTF-- -*** Testing session_name() : error functionality *** - --- Iteration 1 -- unicode(9) "PHPSESSID" -- Iteration 2 -- http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/session_name_variation1.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/session/tests/session_name_variation1.phpt diff -u php-src/ext/session/tests/session_name_variation1.phpt:1.5 php-src/ext/session/tests/session_name_variation1.phpt:1.6 --- php-src/ext/session/tests/session_name_variation1.phpt:1.5 Thu Nov 27 13:49:45 2008 +++ php-src/ext/session/tests/session_name_variation1.phpt Mon Jan 5 17:53:53 2009 @@ -41,24 +41,6 @@ ?> --EXPECTF-- *** Testing session_name() : variation *** -string(9) "PHPSESSID" -bool(true) -string(0) "" -bool(true) -string(0) "" -string(0) "" -bool(true) -string(1) " " -bool(true) -string(1) " " -string(1) " " -bool(true) -string(0) "" -bool(true) -string(0) "" -Done ---UEXPECTF-- -*** Testing session_name() : variation *** unicode(9) "PHPSESSID" bool(true) unicode(0) "" http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/session_save_path_basic.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/session/tests/session_save_path_basic.phpt diff -u php-src/ext/session/tests/session_save_path_basic.phpt:1.5 php-src/ext/session/tests/session_save_path_basic.phpt:1.6 --- php-src/ext/session/tests/session_save_path_basic.phpt:1.5 Thu Nov 27 13:49:45 2008 +++ php-src/ext/session/tests/session_save_path_basic.phpt Mon Jan 5 17:53:53 2009 @@ -29,12 +29,6 @@ ?> --EXPECTF-- *** Testing session_save_path() : error functionality *** -string(0) "" -string(0) "" -string(%d) "%s" -Done ---UEXPECTF-- -*** Testing session_save_path() : error functionality *** unicode(0) "" unicode(0) "" unicode(%d) "%s" http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/session_save_path_error.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/session/tests/session_save_path_error.phpt diff -u php-src/ext/session/tests/session_save_path_error.phpt:1.5 php-src/ext/session/tests/session_save_path_error.phpt:1.6 --- php-src/ext/session/tests/session_save_path_error.phpt:1.5 Thu Nov 27 13:49:45 2008 +++ php-src/ext/session/tests/session_save_path_error.phpt Mon Jan 5 17:53:53 2009 @@ -102,83 +102,6 @@ *** Testing session_save_path() : error functionality *** -- Iteration 1 -- -string(0) "" - --- Iteration 2 -- -string(1) "0" - --- Iteration 3 -- -string(1) "1" - --- Iteration 4 -- -string(5) "12345" - --- Iteration 5 -- -string(5) "-2345" - --- Iteration 6 -- -string(4) "10.5" - --- Iteration 7 -- -string(5) "-10.5" - --- Iteration 8 -- -string(12) "123456789000" - --- Iteration 9 -- -string(13) "1.23456789E-9" - --- Iteration 10 -- -string(3) "0.5" - --- Iteration 11 -- -string(0) "" - --- Iteration 12 -- -string(0) "" - --- Iteration 13 -- -string(1) "1" - --- Iteration 14 -- -string(0) "" - --- Iteration 15 -- -string(1) "1" - --- Iteration 16 -- -string(0) "" - --- Iteration 17 -- -string(0) "" - --- Iteration 18 -- -string(0) "" - --- Iteration 19 -- -string(7) "Nothing" - --- Iteration 20 -- -string(7) "Nothing" - --- Iteration 21 -- -string(12) "Hello World!" - --- Iteration 22 -- -string(12) "Hello World!" - --- Iteration 23 -- -string(0) "" - --- Iteration 24 -- - -Warning: session_save_path() expects parameter 1 to be string, resource given in %s on line %d -NULL -Done ---UEXPECTF-- -*** Testing session_save_path() : error functionality *** - --- Iteration 1 -- unicode(0) "" -- Iteration 2 -- http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/session_save_path_variation1.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/session/tests/session_save_path_variation1.phpt diff -u php-src/ext/session/tests/session_save_path_variation1.phpt:1.5 php-src/ext/session/tests/session_save_path_variation1.phpt:1.6 --- php-src/ext/session/tests/session_save_path_variation1.phpt:1.5 Thu Nov 27 13:49:45 2008 +++ php-src/ext/session/tests/session_save_path_variation1.phpt Mon Jan 5 17:53:53 2009 @@ -33,16 +33,6 @@ ?> --EXPECTF-- *** Testing session_save_path() : variation *** -string(0) "" -bool(true) -string(0) "" -string(0) "" -string(%d) "%s" -bool(true) -string(%d) "%s" -Done ---UEXPECTF-- -*** Testing session_save_path() : variation *** unicode(0) "" bool(true) unicode(0) "" http://cvs.php.net/viewvc.cgi/php-src/ext/session/tests/session_set_save_handler_basic.phpt?r1=1.5&r2=1.6&diff_format=u Index: php-src/ext/session/tests/session_set_save_handler_basic.phpt diff -u php-src/ext/session/tests/session_set_save_handler_basic.phpt:1.5 php-src/ext/session/tests/session_set_save_handler_basic.phpt:1.6 --- php-src/ext/session/tests/session_set_save_handler_basic.phpt:1.5 Thu Nov 27 13:49:45 2008 +++ php-src/ext/session/tests/session_set_save_handler_basic.phpt Mon Jan 5 17:53:53 2009 @@ -50,52 +50,6 @@ --EXPECTF-- *** Testing session_set_save_handler() : basic functionality *** -string(5) "files" - -Warning: session_module_name(): Cannot find named PHP session module () in %s on line %d -bool(false) - -Warning: session_module_name(): Cannot find named PHP session module (blah) in %s on line %d -bool(false) - -Warning: session_module_name(): Cannot find named PHP session module (foo) in %s on line %d -bool(false) -Open [%s,PHPSESSID] -Read [%s,%s] -array(3) { - ["Blah"]=> - string(12) "Hello World!" - ["Foo"]=> - bool(false) - ["Guff"]=> - int(1234567890) -} -Write [%s,%s,Blah|S:12:"Hello World!";Foo|b:0;Guff|i:1234567890;] -Close [%s,PHPSESSID] -array(3) { - ["Blah"]=> - string(12) "Hello World!" - ["Foo"]=> - bool(false) - ["Guff"]=> - int(1234567890) -} -Starting session again..! -Open [%s,PHPSESSID] -Read [%s,%s] -array(3) { - ["Blah"]=> - string(12) "Hello World!" - ["Foo"]=> - bool(false) - ["Guff"]=> - int(1234567890) -} -Write [%s,%s,Blah|S:12:"Hello World!";Foo|b:0;Guff|i:1234567890;] -Close [%s,PHPSESSID] ---UEXPECTF-- -*** Testing session_set_save_handler() : basic functionality *** - unicode(5) "files" Warning: session_module_name(): Cannot find named PHP session module () in %s on line %d http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/array/compact_variation1.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/standard/tests/array/compact_variation1.phpt diff -u php-src/ext/standard/tests/array/compact_variation1.phpt:1.4 php-src/ext/standard/tests/array/compact_variation1.phpt:1.5 --- php-src/ext/standard/tests/array/compact_variation1.phpt:1.4 Tue Dec 2 13:29:17 2008 +++ php-src/ext/standard/tests/array/compact_variation1.phpt Mon Jan 5 17:53:53 2009 @@ -34,33 +34,6 @@ Warning: compact(): recursion detected in %s on line %d array(1) { - ["a"]=> - int(1) -} - -Warning: compact(): recursion detected in %s on line %d - -Warning: compact(): recursion detected in %s on line %d - -Warning: compact(): recursion detected in %s on line %d - -Warning: compact(): recursion detected in %s on line %d -array(2) { - ["a"]=> - int(1) - ["b"]=> - int(2) -} -array(1) { - ["c"]=> - int(3) -} -Done ---UEXPECTF-- -*** Testing compact() : usage variations - arrays containg references *** - -Warning: compact(): recursion detected in %s on line %d -array(1) { [u"a"]=> int(1) } @@ -82,4 +55,4 @@ [u"c"]=> int(3) } -Done \ No newline at end of file +Done http://cvs.php.net/viewvc.cgi/php-src/tests/basic/022.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/tests/basic/022.phpt diff -u php-src/tests/basic/022.phpt:1.3 php-src/tests/basic/022.phpt:1.4 --- php-src/tests/basic/022.phpt:1.3 Mon May 26 15:52:04 2008 +++ php-src/tests/basic/022.phpt Mon Jan 5 17:53:53 2009 @@ -6,7 +6,7 @@ <?php var_dump($_COOKIE); ?> ---EXPECT-- +--EXPECTF-- array(10) { [u"cookie1"]=> unicode(0) "" http://cvs.php.net/viewvc.cgi/php-src/tests/lang/bug44654.phpt?r1=1.2&r2=1.3&diff_format=u Index: php-src/tests/lang/bug44654.phpt diff -u php-src/tests/lang/bug44654.phpt:1.2 php-src/tests/lang/bug44654.phpt:1.3 --- php-src/tests/lang/bug44654.phpt:1.2 Sun Jul 6 16:43:36 2008 +++ php-src/tests/lang/bug44654.phpt Mon Jan 5 17:53:53 2009 @@ -5,4 +5,4 @@ <?php if (1) { ?>#<?php } ?> #<?php echo 1; ?> --EXPECT-- -##1 +#1##1 http://cvs.php.net/viewvc.cgi/php-src/tests/lang/comments.phpt?r1=1.3&r2=1.4&diff_format=u Index: php-src/tests/lang/comments.phpt diff -u php-src/tests/lang/comments.phpt:1.3 php-src/tests/lang/comments.phpt:1.4 --- php-src/tests/lang/comments.phpt:1.3 Tue Jul 8 14:39:13 2008 +++ php-src/tests/lang/comments.phpt Mon Jan 5 17:53:53 2009 @@ -17,6 +17,7 @@ ?> --EXPECT-- +#teste #teste2 #ola uhm # ah
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php