summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/tests/bug32330.phpt8
-rw-r--r--ext/session/tests/session_set_save_handler_sid_002.phpt2
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/session/tests/bug32330.phpt b/ext/session/tests/bug32330.phpt
index b806ca6825..4d432ef1d4 100644
--- a/ext/session/tests/bug32330.phpt
+++ b/ext/session/tests/bug32330.phpt
@@ -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=/tmp
+session.save_path={TMP}
session.gc_probability=1
session.gc_divisor=1
session.save_handler=files
@@ -69,17 +69,17 @@ $_SESSION['E'] = 'F';
?>
--EXPECTF--
-open: path = /tmp, name = sid
+open: path = %s, name = sid
read: id = %s
gc: maxlifetime = %d
write: id = %s, data = A|s:1:"B";
close
-open: path = /tmp, name = sid
+open: path = %s, name = sid
read: id = %s
gc: maxlifetime = %d
destroy: id = %s
close
-open: path = /tmp, name = sid
+open: path = %s, name = sid
read: id = %s
gc: maxlifetime = %d
write: id = %s, data = E|s:1:"F";
diff --git a/ext/session/tests/session_set_save_handler_sid_002.phpt b/ext/session/tests/session_set_save_handler_sid_002.phpt
index 9542832684..76ffb63991 100644
--- a/ext/session/tests/session_set_save_handler_sid_002.phpt
+++ b/ext/session/tests/session_set_save_handler_sid_002.phpt
@@ -3,7 +3,7 @@ Test session_set_save_handler() function: create_sid
--INI--
session.save_handler=files
session.name=PHPSESSID
-session.save_path=/tmp
+session.save_path={TMP}
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--