From: Ant Phillips Date: Wed, 30 Apr 2008 09:28:00 +0000 (+0000) Subject: Fix session test failures as reported by Antony Dovgal. X-Git-Tag: RELEASE_2_0_0b1~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3edf8bd26644ea130b83a68b348c8f7e62faef51;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 2325b9531e..11b6e57627 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 7ec0d098cd..4866caa4a8 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 fbcd16db4a..ca01e9bb59 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 2db40b80e3..289d6ca3c7 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 80b1a4c7b2..47258f17a7 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 f3cd68e412..3e92597877 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 66b7e2e316..b79902c347 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 6c7a3bb840..366f9dc80c 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--