eyalt                                    Sun, 12 Dec 2010 07:24:51 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=306255

Log:
moved the second unlink() to the CLEAN section in the 
SplFileObject_fwrite_variation* tests

Changed paths:
    U   
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
    U   
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
    U   
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
    U   
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
    U   
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
    U   
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
    U   php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
    U   php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
    U   php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt

Modified: 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
  2010-12-12 07:02:29 UTC (rev 306254)
+++ 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
  2010-12-12 07:24:51 UTC (rev 306255)
@@ -9,6 +9,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('test_write',4);
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_001.txt';
 if(file_exists($file)) {
        unlink($file);
 }

Modified: 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
  2010-12-12 07:02:29 UTC (rev 306254)
+++ 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
  2010-12-12 07:24:51 UTC (rev 306255)
@@ -9,6 +9,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('test_write',12);
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_002.txt';
 if(file_exists($file)) {
        unlink($file);
 }

Modified: 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
  2010-12-12 07:02:29 UTC (rev 306254)
+++ 
php/php-src/branches/PHP_5_2/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
  2010-12-12 07:24:51 UTC (rev 306255)
@@ -10,6 +10,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('"test" \'write\'');
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_002.txt';
 if(file_exists($file)) {
        unlink($file);
 }

Modified: 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
  2010-12-12 07:02:29 UTC (rev 306254)
+++ 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
  2010-12-12 07:24:51 UTC (rev 306255)
@@ -9,6 +9,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('test_write',4);
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_001.txt';
 if(file_exists($file)) {
        unlink($file);
 }

Modified: 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
  2010-12-12 07:02:29 UTC (rev 306254)
+++ 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
  2010-12-12 07:24:51 UTC (rev 306255)
@@ -9,6 +9,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('test_write',12);
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_002.txt';
 if(file_exists($file)) {
        unlink($file);
 }

Modified: 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
===================================================================
--- 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
  2010-12-12 07:02:29 UTC (rev 306254)
+++ 
php/php-src/branches/PHP_5_3/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
  2010-12-12 07:24:51 UTC (rev 306255)
@@ -10,6 +10,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('"test" \'write\'');
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_002.txt';
 if(file_exists($file)) {
        unlink($file);
 }

Modified: 
php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt
===================================================================
--- php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt     
2010-12-12 07:02:29 UTC (rev 306254)
+++ php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_001.phpt     
2010-12-12 07:24:51 UTC (rev 306255)
@@ -9,6 +9,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('test_write',4);
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_001.txt';
 if(file_exists($file)) {
        unlink($file);
 }

Modified: 
php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt
===================================================================
--- php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt     
2010-12-12 07:02:29 UTC (rev 306254)
+++ php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_002.phpt     
2010-12-12 07:24:51 UTC (rev 306255)
@@ -9,6 +9,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('test_write',12);
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_002.txt';
 if(file_exists($file)) {
        unlink($file);
 }

Modified: 
php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt
===================================================================
--- php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt     
2010-12-12 07:02:29 UTC (rev 306254)
+++ php/php-src/trunk/ext/spl/tests/SplFileObject_fwrite_variation_003.phpt     
2010-12-12 07:24:51 UTC (rev 306255)
@@ -10,6 +10,10 @@
 $obj = New SplFileObject($file,'w');
 $obj->fwrite('"test" \'write\'');
 var_dump(file_get_contents($file));
+?>
+--CLEAN--
+<?php
+$file = dirname(__FILE__).'/SplFileObject_fwrite_variation_002.txt';
 if(file_exists($file)) {
        unlink($file);
 }

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

Reply via email to