[PHP-CVS] cvs: php-src /ext/spl/tests dit_001.phpt

2008-07-24 Thread Steph Fox
sfoxThu Jul 24 08:53:56 2008 UTC

  Modified files:  
/php-src/ext/spl/tests  dit_001.phpt 
  Log:
  - Make test x-platform
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/dit_001.phpt?r1=1.8r2=1.9diff_format=u
Index: php-src/ext/spl/tests/dit_001.phpt
diff -u php-src/ext/spl/tests/dit_001.phpt:1.8 
php-src/ext/spl/tests/dit_001.phpt:1.9
--- php-src/ext/spl/tests/dit_001.phpt:1.8  Tue Jul  8 22:40:30 2008
+++ php-src/ext/spl/tests/dit_001.phpt  Thu Jul 24 08:53:56 2008
@@ -12,7 +12,7 @@
 --EXPECTF--
 object(DirectoryIterator)#%d (4) {
   %spathName%sSplFileInfo:private]=
-  %s(%d) ./%s
+  %s(%d) .%c%s
   %sfileName%sSplFileInfo:private]=
   %s(%d) %s
   %sglob%sDirectoryIterator:private]=



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



[PHP-CVS] cvs: php-src /ext/spl/tests dit_001.phpt

2008-02-04 Thread Marcus Boerger
helly   Mon Feb  4 16:12:47 2008 UTC

  Modified files:  
/php-src/ext/spl/tests  dit_001.phpt 
  Log:
  - Fix test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/dit_001.phpt?r1=1.5r2=1.6diff_format=u
Index: php-src/ext/spl/tests/dit_001.phpt
diff -u php-src/ext/spl/tests/dit_001.phpt:1.5 
php-src/ext/spl/tests/dit_001.phpt:1.6
--- php-src/ext/spl/tests/dit_001.phpt:1.5  Thu Jan 31 07:43:49 2008
+++ php-src/ext/spl/tests/dit_001.phpt  Mon Feb  4 16:12:47 2008
@@ -15,7 +15,7 @@
 object(DirectoryIterator)#%d (3) {
   %spathName%sSplFileInfo:private]=
   %s(1) .
-  %sglob%sRecursiveDirectoryIterator:private]=
+  %sglob%sDirectoryIterator:private]=
   bool(false)
   %ssubPathName%sRecursiveDirectoryIterator:private]=
   %s(0) 

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



[PHP-CVS] cvs: php-src /ext/spl/tests dit_001.phpt

2008-01-30 Thread Marcus Boerger
helly   Thu Jan 31 07:43:49 2008 UTC

  Modified files:  
/php-src/ext/spl/tests  dit_001.phpt 
  Log:
  - Fix test
  
http://cvs.php.net/viewvc.cgi/php-src/ext/spl/tests/dit_001.phpt?r1=1.4r2=1.5diff_format=u
Index: php-src/ext/spl/tests/dit_001.phpt
diff -u php-src/ext/spl/tests/dit_001.phpt:1.4 
php-src/ext/spl/tests/dit_001.phpt:1.5
--- php-src/ext/spl/tests/dit_001.phpt:1.4  Sat Jan 20 16:19:20 2007
+++ php-src/ext/spl/tests/dit_001.phpt  Thu Jan 31 07:43:49 2008
@@ -12,9 +12,13 @@
 ?
 ===DONE===
 --EXPECTF--
-object(DirectoryIterator)#%d (1) {
+object(DirectoryIterator)#%d (3) {
   %spathName%sSplFileInfo:private]=
   %s(1) .
+  %sglob%sRecursiveDirectoryIterator:private]=
+  bool(false)
+  %ssubPathName%sRecursiveDirectoryIterator:private]=
+  %s(0) 
 }
 bool(false)
 bool(false)

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



[PHP-CVS] cvs: php-src /ext/spl/tests dit_001.phpt

2004-09-29 Thread Marcus Boerger
helly   Wed Sep 29 05:43:33 2004 EDT

  Modified files:  
/php-src/ext/spl/tests  dit_001.phpt 
  Log:
  - Fix test
  
http://cvs.php.net/diff.php/php-src/ext/spl/tests/dit_001.phpt?r1=1.1r2=1.2ty=u
Index: php-src/ext/spl/tests/dit_001.phpt
diff -u php-src/ext/spl/tests/dit_001.phpt:1.1 php-src/ext/spl/tests/dit_001.phpt:1.2
--- php-src/ext/spl/tests/dit_001.phpt:1.1  Thu Sep  9 03:46:19 2004
+++ php-src/ext/spl/tests/dit_001.phpt  Wed Sep 29 05:43:33 2004
@@ -1,11 +1,15 @@
---TEST--
-SPL: Problem with casting to string
---FILE--
-?php
-$d = new DirectoryIterator('.');
-preg_match('/x/', $d);
-var_dump($d);
-?
---EXPECTF--
-object(DirectoryIterator)#%d (0) {
-}
+--TEST--
+SPL: Problem with casting to string
+--FILE--
+?php
+$d = new DirectoryIterator('.');
+var_dump($d);
+preg_match('/x/', $d);
+var_dump(is_string($d));
+?
+===DONE===
+--EXPECTF--
+object(DirectoryIterator)#%d (0) {
+}
+bool(true)
+===DONE===

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



[PHP-CVS] cvs: php-src /ext/spl/tests dit_001.phpt

2004-09-29 Thread Marcus Boerger
helly   Wed Sep 29 16:09:54 2004 EDT

  Modified files:  
/php-src/ext/spl/tests  dit_001.phpt 
  Log:
  - Fix tests (atm preg_match() is wrong)
  
http://cvs.php.net/diff.php/php-src/ext/spl/tests/dit_001.phpt?r1=1.2r2=1.3ty=u
Index: php-src/ext/spl/tests/dit_001.phpt
diff -u php-src/ext/spl/tests/dit_001.phpt:1.2 php-src/ext/spl/tests/dit_001.phpt:1.3
--- php-src/ext/spl/tests/dit_001.phpt:1.2  Wed Sep 29 05:43:33 2004
+++ php-src/ext/spl/tests/dit_001.phpt  Wed Sep 29 16:09:52 2004
@@ -1,9 +1,12 @@
 --TEST--
 SPL: Problem with casting to string
+--SKIPIF--
+?php if (!extension_loaded(spl)) print skip; ?
 --FILE--
 ?php
 $d = new DirectoryIterator('.');
 var_dump($d);
+var_dump(is_string($d));
 preg_match('/x/', $d);
 var_dump(is_string($d));
 ?
@@ -11,5 +14,6 @@
 --EXPECTF--
 object(DirectoryIterator)#%d (0) {
 }
-bool(true)
+bool(false)
+bool(false)
 ===DONE===

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



[PHP-CVS] cvs: php-src /ext/spl/tests dit_001.phpt

2004-09-09 Thread Marcus Boerger
helly   Thu Sep  9 03:46:19 2004 EDT

  Added files: 
/php-src/ext/spl/tests  dit_001.phpt 
  Log:
  add new test
  

http://cvs.php.net/co.php/php-src/ext/spl/tests/dit_001.phpt?r=1.1p=1
Index: php-src/ext/spl/tests/dit_001.phpt
+++ php-src/ext/spl/tests/dit_001.phpt
--TEST--
SPL: Problem with casting to string
--FILE--
?php
$d = new DirectoryIterator('.');
preg_match('/x/', $d);
var_dump($d);
?
--EXPECTF--
object(DirectoryIterator)#%d (0) {
}

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