diff options
| author | Ant Phillips <ant@php.net> | 2008-04-30 09:27:59 +0000 |
|---|---|---|
| committer | Ant Phillips <ant@php.net> | 2008-04-30 09:27:59 +0000 |
| commit | 3a30d703c0295d761ceb88b0673f60405a57b41c (patch) | |
| tree | c02ff58f8af2c24e7bc40bce971588fd6b330fc4 /ext/session | |
| parent | ad86c485cd997f6c8194359ee84d547c80db3694 (diff) | |
| download | php-git-3a30d703c0295d761ceb88b0673f60405a57b41c.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.
Diffstat (limited to 'ext/session')
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-- |
