diff options
author | Ant Phillips <ant@php.net> | 2008-04-30 09:28:02 +0000 |
---|---|---|
committer | Ant Phillips <ant@php.net> | 2008-04-30 09:28:02 +0000 |
commit | c55db17098d8c411b999859b3d2bdab028365f69 (patch) | |
tree | 22430b004d6f382e56447910a2d199f4842174e0 | |
parent | cacce6bc65e8fb69379881d5d9c401b4affc32a3 (diff) | |
download | php-git-c55db17098d8c411b999859b3d2bdab028365f69.tar.gz |
Fix session test failures as reported by Antony Dovgal.
These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.
9 files changed, 24 insertions, 0 deletions
diff --git a/ext/session/tests/session_module_name_variation3.phpt b/ext/session/tests/session_module_name_variation3.phpt index 06f5ccc058..dc1c6ba5ec 100644 --- a/ext/session/tests/session_module_name_variation3.phpt +++ b/ext/session/tests/session_module_name_variation3.phpt @@ -1,5 +1,8 @@ --TEST-- Test session_module_name() function : variation +--INI-- +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- diff --git a/ext/session/tests/session_name_basic.phpt b/ext/session/tests/session_name_basic.phpt index 2cf7a35cb7..959f40666f 100644 --- a/ext/session/tests/session_name_basic.phpt +++ b/ext/session/tests/session_name_basic.phpt @@ -1,5 +1,8 @@ --TEST-- Test session_name() function : error functionality +--INI-- +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- diff --git a/ext/session/tests/session_name_error.phpt b/ext/session/tests/session_name_error.phpt index 967559f484..a2dc01b512 100644 --- a/ext/session/tests/session_name_error.phpt +++ b/ext/session/tests/session_name_error.phpt @@ -1,5 +1,8 @@ --TEST-- Test session_name() function : error functionality +--INI-- +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- diff --git a/ext/session/tests/session_name_variation1.phpt b/ext/session/tests/session_name_variation1.phpt index 83084eabb4..16d6ad462c 100644 --- a/ext/session/tests/session_name_variation1.phpt +++ b/ext/session/tests/session_name_variation1.phpt @@ -1,5 +1,8 @@ --TEST-- Test session_name() function : variation +--INI-- +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- diff --git a/ext/session/tests/session_save_path_basic.phpt b/ext/session/tests/session_save_path_basic.phpt index dbb7e63cdc..2895f46c0b 100644 --- a/ext/session/tests/session_save_path_basic.phpt +++ b/ext/session/tests/session_save_path_basic.phpt @@ -2,6 +2,8 @@ Test session_save_path() function : basic functionality --INI-- session.gc_probability=0 +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- diff --git a/ext/session/tests/session_save_path_error.phpt b/ext/session/tests/session_save_path_error.phpt index 21c37de18f..b58e731334 100644 --- a/ext/session/tests/session_save_path_error.phpt +++ b/ext/session/tests/session_save_path_error.phpt @@ -2,6 +2,8 @@ Test session_save_path() function : error functionality --INI-- session.gc_probability=0 +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- diff --git a/ext/session/tests/session_save_path_variation1.phpt b/ext/session/tests/session_save_path_variation1.phpt index 3b62027492..d5f64d9851 100644 --- a/ext/session/tests/session_save_path_variation1.phpt +++ b/ext/session/tests/session_save_path_variation1.phpt @@ -2,6 +2,8 @@ Test session_save_path() function : variation --INI-- session.gc_probability=0 +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- diff --git a/ext/session/tests/session_set_save_handler_basic.phpt b/ext/session/tests/session_set_save_handler_basic.phpt index 09fc96b394..3897ba9a92 100644 --- a/ext/session/tests/session_set_save_handler_basic.phpt +++ b/ext/session/tests/session_set_save_handler_basic.phpt @@ -1,5 +1,8 @@ --TEST-- Test session_set_save_handler() function : basic functionality +--INI-- +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- diff --git a/ext/session/tests/session_set_save_handler_error3.phpt b/ext/session/tests/session_set_save_handler_error3.phpt index da2b6a5970..446ef7b75b 100644 --- a/ext/session/tests/session_set_save_handler_error3.phpt +++ b/ext/session/tests/session_set_save_handler_error3.phpt @@ -1,5 +1,8 @@ --TEST-- Test session_set_save_handler() function : error functionality +--INI-- +session.save_path= +session.name=PHPSESSID --SKIPIF-- <?php include('skipif.inc'); ?> --FILE-- |