From: Ant Phillips Date: Wed, 30 Apr 2008 09:28:02 +0000 (+0000) Subject: Fix session test failures as reported by Antony Dovgal. X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~315 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c55db17098d8c411b999859b3d2bdab028365f69;p=php 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. --- 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-- --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-- --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-- --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-- --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-- --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-- --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-- --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-- --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-- --FILE--