diff options
-rwxr-xr-x | Zend/tests/bug21478.phpt | 5 | ||||
-rw-r--r-- | Zend/tests/zend2.php.txt (renamed from Zend/tests/zend2.php) | 0 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Zend/tests/bug21478.phpt b/Zend/tests/bug21478.phpt index e7918ed2e4..a375cf7776 100755 --- a/Zend/tests/bug21478.phpt +++ b/Zend/tests/bug21478.phpt @@ -20,7 +20,7 @@ class debugfilter extends php_user_filter { stream_filter_register("myfilter","debugfilter"); -$fp = fopen(dirname(__FILE__)."test.txt","w"); +$fp = fopen(dirname(__FILE__)."/test.txt","w"); stream_filter_append($fp, "myfilter"); stream_filter_append($fp, "myfilter"); stream_filter_append($fp, "myfilter"); @@ -29,7 +29,8 @@ print "Done.\n"; fclose($fp); // Uncommenting the following 'print' line causes the segfault to stop occuring // print "2\n"; -readfile(dirname(__FILE__)."test.txt"); +readfile(dirname(__FILE__)."/test.txt"); +unlink(dirname(__FILE__)."/test.txt"); ?> --EXPECT-- Done. diff --git a/Zend/tests/zend2.php b/Zend/tests/zend2.php.txt index afe422eaae..afe422eaae 100644 --- a/Zend/tests/zend2.php +++ b/Zend/tests/zend2.php.txt |