]> granicus.if.org Git - php/commitdiff
Changed session.save_path to /tmp to make test run.
authorShein Alexey <shein@php.net>
Thu, 9 Jun 2011 08:24:12 +0000 (08:24 +0000)
committerShein Alexey <shein@php.net>
Thu, 9 Jun 2011 08:24:12 +0000 (08:24 +0000)
ext/session/tests/bug32330.phpt

index c0d3370e01412fd28e196c1e3b2fff61b7081be3..98d442ae5c9c50842d08ee4a4346cef56f989310 100644 (file)
@@ -6,7 +6,7 @@ Bug #32330 (session_destroy, "Failed to initialize storage module", custom sessi
 session.use_trans_sid=0
 session.use_cookies=1
 session.name=sid
-session.save_path=/
+session.save_path=/tmp
 session.gc_probability=1
 session.gc_divisor=1
 --FILE--
@@ -68,17 +68,17 @@ $_SESSION['E'] = 'F';
 
 ?>
 --EXPECTF--
-open: path = /, name = sid
+open: path = /tmp, name = sid
 read: id = %s
 gc: maxlifetime = %d
 write: id = %s, data = A|s:1:"B";
 close
-open: path = /, name = sid
+open: path = /tmp, name = sid
 read: id = %s
 gc: maxlifetime = %d
 destroy: id = %s
 close
-open: path = /, name = sid
+open: path = /tmp, name = sid
 read: id = %s
 gc: maxlifetime = %d
 write: id = %s, data = E|s:1:"F";