]> granicus.if.org Git - php/commitdiff
- Fix test to use same path as test is as session.save_path to prevent
authorJani Taskinen <jani@php.net>
Thu, 14 Aug 2008 21:53:53 +0000 (21:53 +0000)
committerJani Taskinen <jani@php.net>
Thu, 14 Aug 2008 21:53:53 +0000 (21:53 +0000)
  permission errors.

tests/basic/bug20539.phpt

index 372285bfae3ef58b491f2727668f3fd3260d9653..2cfc00a356d929ad6b4ff29c17583e69a04606c3 100644 (file)
@@ -3,9 +3,11 @@ Bug #20539 (PHP CLI Segmentation Fault)
 --INI--
 session.auto_start=1
 session.save_handler=files
+session.save_path=./tests/basic/
 --FILE--
 <?php
        print "good :)\n";
+       unlink(dirname(__FILE__) . '/sess_' . session_id());
 ?>
 --EXPECT--
 good :)