summaryrefslogtreecommitdiff
path: root/ext/session/tests
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /ext/session/tests
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'ext/session/tests')
-rw-r--r--ext/session/tests/bug41600.phpt2
-rw-r--r--ext/session/tests/session_save_path_variation4.phpt12
2 files changed, 7 insertions, 7 deletions
diff --git a/ext/session/tests/bug41600.phpt b/ext/session/tests/bug41600.phpt
index 028fca79a0..ba04fd9d99 100644
--- a/ext/session/tests/bug41600.phpt
+++ b/ext/session/tests/bug41600.phpt
@@ -6,7 +6,7 @@ Bug #41600 (url rewriter tags doesn't work with namespaced tags)
session.use_cookies=0
session.cache_limiter=
session.use_trans_sid=1
-arg_separator.output="&amp;"
+arg_separator.output=&amp;
session.name=PHPSESSID
session.serialize_handler=php
session.save_handler=files
diff --git a/ext/session/tests/session_save_path_variation4.phpt b/ext/session/tests/session_save_path_variation4.phpt
index 6ea725cd89..453645d314 100644
--- a/ext/session/tests/session_save_path_variation4.phpt
+++ b/ext/session/tests/session_save_path_variation4.phpt
@@ -22,10 +22,10 @@ ob_start();
*/
echo "*** Testing session_save_path() : variation ***\n";
-$initdir = getcwd();
-$sessions = ($initdir."/sessions");
+$directory = dirname(__FILE__);
+$sessions = ($directory."/sessions");
-chdir($initdir);
+chdir($directory);
// Delete the existing directory
if (file_exists($sessions) === TRUE) {
@@ -34,7 +34,7 @@ if (file_exists($sessions) === TRUE) {
var_dump(mkdir($sessions));
var_dump(chdir($sessions));
-ini_set("session.save_path", $initdir);
+ini_set("session.save_path", $directory);
var_dump(session_save_path());
var_dump(session_start());
var_dump(session_save_path());
@@ -46,8 +46,8 @@ echo "Done";
ob_end_flush();
?>
--CLEAN--
-$initdir = getcwd();
-$sessions = ($initdir."/sessions");
+$directory = dirname(__FILE__);
+$sessions = ($directory."/sessions");
var_dump(rmdir($sessions));
--EXPECTF--
*** Testing session_save_path() : variation ***