tony2001                Tue Dec 20 09:52:05 2005 EDT

  Modified files:              
    /php-src/ext/standard/tests/file    bug35740.phpt 
  Log:
  MFB: add test for #35740
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/tests/file/bug35740.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/file/bug35740.phpt
diff -u /dev/null php-src/ext/standard/tests/file/bug35740.phpt:1.2
--- /dev/null   Tue Dec 20 09:52:05 2005
+++ php-src/ext/standard/tests/file/bug35740.phpt       Tue Dec 20 09:52:05 2005
@@ -0,0 +1,14 @@
+--TEST--
+bug #35740 (memory leak when including a directory)
+--FILE--
+<?php
+
+include (dirname(__FILE__));
+
+echo "Done\n";
+?>
+--EXPECTF--    
+Warning: include(%s): failed to open stream: %s in %s on line %d
+
+Warning: include(): Failed opening '%s' for inclusion (include_path='%s') in 
%s on line %d
+Done

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

Reply via email to