nlopess         Wed Feb 14 19:29:34 2007 UTC

  Modified files:              
    /php-src/ext/standard/tests/general_functions       bug39322.phpt 
                                                        bug40398.phpt 
                                                        error_get_last.phpt 
                                                        proc_open02.phpt 
  Log:
  fix a few tests in unicode mode
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug39322.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug39322.phpt
diff -u php-src/ext/standard/tests/general_functions/bug39322.phpt:1.2 
php-src/ext/standard/tests/general_functions/bug39322.phpt:1.3
--- php-src/ext/standard/tests/general_functions/bug39322.phpt:1.2      Wed Feb 
14 19:20:15 2007
+++ php-src/ext/standard/tests/general_functions/bug39322.phpt  Wed Feb 14 
19:29:33 2007
@@ -42,3 +42,23 @@
   int(0)
 }
 Done!
+--UEXPECTF--
+array(8) {
+  [u"command"]=>
+  unicode(14) "/bin/sleep 120"
+  [u"pid"]=>
+  int(%d)
+  [u"running"]=>
+  bool(false)
+  [u"signaled"]=>
+  bool(true)
+  [u"stopped"]=>
+  bool(false)
+  [u"exitcode"]=>
+  int(-1)
+  [u"termsig"]=>
+  int(15)
+  [u"stopsig"]=>
+  int(0)
+}
+Done!
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug40398.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug40398.phpt
diff -u php-src/ext/standard/tests/general_functions/bug40398.phpt:1.2 
php-src/ext/standard/tests/general_functions/bug40398.phpt:1.3
--- php-src/ext/standard/tests/general_functions/bug40398.phpt:1.2      Thu Feb 
 8 15:31:01 2007
+++ php-src/ext/standard/tests/general_functions/bug40398.phpt  Wed Feb 14 
19:29:33 2007
@@ -86,3 +86,15 @@
 
 Warning: call_user_func_array() expects parameter 1 to be valid callback, 
array given in %sbug40398.php on line %d
 ===DONE===
+--UEXPECTF--
+Base::__construct(1)
+Base::__construct(2)
+
+Warning: call_user_func_array() expects parameter 1 to be valid callback, 
Unicode string given in %sbug40398.php on line %d
+
+Warning: call_user_func_array() expects parameter 1 to be valid callback, 
Unicode string given in %sbug40398.php on line %d
+
+Warning: call_user_func_array() expects parameter 1 to be valid callback, 
array given in %sbug40398.php on line %d
+
+Warning: call_user_func_array() expects parameter 1 to be valid callback, 
array given in %sbug40398.php on line %d
+===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/error_get_last.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/general_functions/error_get_last.phpt
diff -u php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.1 
php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.2
--- php-src/ext/standard/tests/general_functions/error_get_last.phpt:1.1        
Thu Nov 16 13:00:03 2006
+++ php-src/ext/standard/tests/general_functions/error_get_last.phpt    Wed Feb 
14 19:29:33 2007
@@ -13,7 +13,7 @@
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 NULL
 
 Warning: error_get_last() expects exactly 0 parameters, 1 given in %s on line 
%d
@@ -41,3 +41,31 @@
   int(%d)
 }
 Done
+--UEXPECTF--
+NULL
+
+Warning: error_get_last() expects exactly 0 parameters, 1 given in %s on line 
%d
+NULL
+array(4) {
+  [u"type"]=>
+  int(2)
+  [u"message"]=>
+  unicode(54) "error_get_last() expects exactly 0 parameters, 1 given"
+  [u"file"]=>
+  unicode(%d) "%s"
+  [u"line"]=>
+  int(%d)
+}
+
+Notice: Undefined variable: b in %s on line %d
+array(4) {
+  [u"type"]=>
+  int(8)
+  [u"message"]=>
+  unicode(21) "Undefined variable: b"
+  [u"file"]=>
+  unicode(%d) "%s"
+  [u"line"]=>
+  int(%d)
+}
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/proc_open02.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/general_functions/proc_open02.phpt
diff -u php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.2 
php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.3
--- php-src/ext/standard/tests/general_functions/proc_open02.phpt:1.2   Wed Feb 
14 19:20:15 2007
+++ php-src/ext/standard/tests/general_functions/proc_open02.phpt       Wed Feb 
14 19:29:33 2007
@@ -68,3 +68,43 @@
   int(0)
 }
 Done!
+--UEXPECTF--
+bool(true)
+array(8) {
+  [u"command"]=>
+  unicode(24) "/bin/nohup /bin/sleep 50"
+  [u"pid"]=>
+  int(%d)
+  [u"running"]=>
+  bool(true)
+  [u"signaled"]=>
+  bool(false)
+  [u"stopped"]=>
+  bool(false)
+  [u"exitcode"]=>
+  int(-1)
+  [u"termsig"]=>
+  int(0)
+  [u"stopsig"]=>
+  int(0)
+}
+bool(true)
+array(8) {
+  [u"command"]=>
+  unicode(24) "/bin/nohup /bin/sleep 50"
+  [u"pid"]=>
+  int(%d)
+  [u"running"]=>
+  bool(false)
+  [u"signaled"]=>
+  bool(true)
+  [u"stopped"]=>
+  bool(false)
+  [u"exitcode"]=>
+  int(-1)
+  [u"termsig"]=>
+  int(15)
+  [u"stopsig"]=>
+  int(0)
+}
+Done!

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to