[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions bug44394_2.phpt is_array.phpt is_bool.phpt is_float.phpt is_int.phpt is_null.phpt is_numeric.phpt is_object.phpt is_scalar.phpt is

2009-04-16 Thread Zoe Slattery
zoe Thu Apr 16 10:52:48 2009 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions   is_bool.phpt 
is_array.phpt 
is_null.phpt 
strval.phpt 
bug44394_2.phpt 
is_string.phpt 
is_object.phpt 
is_int.phpt 
is_numeric.phpt 
is_scalar.phpt 
is_float.phpt 
  Log:
  fixing incorrect --CLEAN-- sections
  http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_bool.phpt?r1=1.1.2.1.2.1r2=1.1.2.1.2.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/is_bool.phpt
diff -u php-src/ext/standard/tests/general_functions/is_bool.phpt:1.1.2.1.2.1 
php-src/ext/standard/tests/general_functions/is_bool.phpt:1.1.2.1.2.2
--- php-src/ext/standard/tests/general_functions/is_bool.phpt:1.1.2.1.2.1   
Fri Jun 20 13:02:33 2008
+++ php-src/ext/standard/tests/general_functions/is_bool.phpt   Thu Apr 16 
10:52:47 2009
@@ -135,13 +135,12 @@
 var_dump( is_bool(TRUE, FALSE) );
  
 echo Done\n;
-?
 
---CLEAN--
 // close resources
 fclose($fp);
 closedir($dfp);
 
+?
 --EXPECTF--
 *** Testing is_bool() with valid boolean values ***
 -- Iteration 1 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_array.phpt?r1=1.1.2.1.2.1r2=1.1.2.1.2.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/is_array.phpt
diff -u php-src/ext/standard/tests/general_functions/is_array.phpt:1.1.2.1.2.1 
php-src/ext/standard/tests/general_functions/is_array.phpt:1.1.2.1.2.2
--- php-src/ext/standard/tests/general_functions/is_array.phpt:1.1.2.1.2.1  
Fri Jun 20 13:02:33 2008
+++ php-src/ext/standard/tests/general_functions/is_array.phpt  Thu Apr 16 
10:52:47 2009
@@ -106,12 +106,10 @@
 var_dump( is_array ($fp, $fp) );
  
 echo Done\n;
-?
---CLEAN--
 /* close resources */
 fclose($fp);
 closedir($dfp);
-
+?
 --EXPECTF--
 *** Testing is_array() on different type of arrays ***
 -- Iteration 1 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_null.phpt?r1=1.1.2.1.2.1r2=1.1.2.1.2.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/is_null.phpt
diff -u php-src/ext/standard/tests/general_functions/is_null.phpt:1.1.2.1.2.1 
php-src/ext/standard/tests/general_functions/is_null.phpt:1.1.2.1.2.2
--- php-src/ext/standard/tests/general_functions/is_null.phpt:1.1.2.1.2.1   
Fri Jun 20 13:02:33 2008
+++ php-src/ext/standard/tests/general_functions/is_null.phpt   Thu Apr 16 
10:52:47 2009
@@ -135,13 +135,12 @@
 var_dump( is_null(NULL, null) );
  
 echo Done\n;
-?
 
---CLEAN--
 // close the resources used
 fclose($fp);
 closedir($dfp);
 
+?
 --EXPECTF--
 *** Testing is_null() with valid null values ***
 -- Iteration 1 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/strval.phpt?r1=1.1.2.2.2.1r2=1.1.2.2.2.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/strval.phpt
diff -u php-src/ext/standard/tests/general_functions/strval.phpt:1.1.2.2.2.1 
php-src/ext/standard/tests/general_functions/strval.phpt:1.1.2.2.2.2
--- php-src/ext/standard/tests/general_functions/strval.phpt:1.1.2.2.2.1
Fri Jun 20 14:53:57 2008
+++ php-src/ext/standard/tests/general_functions/strval.phptThu Apr 16 
10:52:47 2009
@@ -149,13 +149,12 @@
 var_dump( strval( $scalars[0], $scalars[1]) );
  
 echo Done\n;
-?
 
---CLEAN--
 // close the resources used
 fclose($fp);
 closedir($dfp);
 
+?
 --EXPECTF--
 *** Testing str_val() with scalar values***
 -- Iteration 1 --
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?r1=1.1.2.5r2=1.1.2.6diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
diff -u php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.5 
php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.6
--- php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.5
Thu Aug 21 10:30:49 2008
+++ php-src/ext/standard/tests/general_functions/bug44394_2.phptThu Apr 
16 10:52:47 2009
@@ -26,7 +26,6 @@
 ?
 --CLEAN--
 ?php
-unlink(__DIR__ . '/sess_'.session_id());
 foreach (glob(__DIR__ . '/sess_*') as $filename) {
   unlink($filename);
 }
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/is_string.phpt?r1=1.1.2.1.2.1r2=1.1.2.1.2.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/is_string.phpt
diff -u 

[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions bug44394_2.phpt

2008-08-21 Thread Pierre-Alain Joye
pajoye  Thu Aug 21 10:30:50 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions   bug44394_2.phpt 
  Log:
  - MFH: make it portable and clean on in the clean section, session file may 
still be open (can't be deleted)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?r1=1.1.2.4r2=1.1.2.5diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
diff -u php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.4 
php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.5
--- php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.4
Thu Aug 14 23:29:13 2008
+++ php-src/ext/standard/tests/general_functions/bug44394_2.phptThu Aug 
21 10:30:49 2008
@@ -8,7 +8,7 @@
 ?php
 
 ini_set('session.use_trans_sid', 1);
-session_save_path(dirname(__FILE__));
+session_save_path(__DIR__);
 session_start();
 
 ob_start();
@@ -23,8 +23,13 @@
 
 ob_end_clean();
 
-unlink(dirname(__FILE__).'/sess_'.session_id());
-
+?
+--CLEAN--
+?php
+unlink(__DIR__ . '/sess_'.session_id());
+foreach (glob(__DIR__ . '/sess_*') as $filename) {
+  unlink($filename);
+}
 ?
 --EXPECTF--
 a href='a?q=1PHPSESSID=%sa=b'asd/a



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions bug44394_2.phpt

2008-08-14 Thread Jani Taskinen
janiThu Aug 14 23:29:13 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions   bug44394_2.phpt 
  Log:
  MFH
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?r1=1.1.2.3r2=1.1.2.4diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
diff -u php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.3 
php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.4
--- php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.3
Wed Jul 23 10:26:45 2008
+++ php-src/ext/standard/tests/general_functions/bug44394_2.phptThu Aug 
14 23:29:13 2008
@@ -8,7 +8,7 @@
 ?php
 
 ini_set('session.use_trans_sid', 1);
-
+session_save_path(dirname(__FILE__));
 session_start();
 
 ob_start();
@@ -23,6 +23,8 @@
 
 ob_end_clean();
 
+unlink(dirname(__FILE__).'/sess_'.session_id());
+
 ?
 --EXPECTF--
 a href='a?q=1PHPSESSID=%sa=b'asd/a



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions bug44394_2.phpt

2008-07-23 Thread Antony Dovgal
tony2001Wed Jul 23 10:26:45 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions   bug44394_2.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?r1=1.1.2.2r2=1.1.2.3diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
diff -u php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.2 
php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.3
--- php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.2
Thu Apr 10 19:13:59 2008
+++ php-src/ext/standard/tests/general_functions/bug44394_2.phptWed Jul 
23 10:26:45 2008
@@ -2,6 +2,8 @@
 Bug #44394 (Last two bytes missing from output) with session.use_trans_id
 --SKIPIF--
 ?php if (!extension_loaded(session)) print skip; ?
+--INI--
+session.name=PHPSESSID
 --FILE--
 ?php
 



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



[PHP-CVS] cvs: php-src(PHP_5_3) /ext/standard/tests/general_functions bug44394_2.phpt

2008-04-10 Thread Nuno Lopes
nlopess Thu Apr 10 19:13:59 2008 UTC

  Modified files:  (Branch: PHP_5_3)
/php-src/ext/standard/tests/general_functions   bug44394_2.phpt 
  Log:
  add SKIPIF
  # Patch by Christian Hoffmann
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/bug44394_2.phpt?r1=1.1.2.1r2=1.1.2.2diff_format=u
Index: php-src/ext/standard/tests/general_functions/bug44394_2.phpt
diff -u php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.1 
php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.2
--- php-src/ext/standard/tests/general_functions/bug44394_2.phpt:1.1.2.1
Wed Mar 12 02:40:57 2008
+++ php-src/ext/standard/tests/general_functions/bug44394_2.phptThu Apr 
10 19:13:59 2008
@@ -1,5 +1,7 @@
 --TEST--
 Bug #44394 (Last two bytes missing from output) with session.use_trans_id
+--SKIPIF--
+?php if (!extension_loaded(session)) print skip; ?
 --FILE--
 ?php
 



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