Kalle Sommer Nielsen
1a1df46be2
MFH: Fix test on Windows
2008-09-07 00:42:40 +00:00
Alexey Zakhlestin
c9fab63584
remove special treatment of /tmp path
2008-08-31 14:49:58 +00:00
Alexey Zakhlestin
97e26d95b7
this test depends on session.hash_bits_per_character, but it was not explicitly set
2008-08-26 16:46:26 +00:00
Jani Taskinen
525f3c4793
MFH: General sync. WS / CS / etc. crap some people didn't bother to merge
...
MFH: before this commit..bunnies thank you all..
[DOC] - Added ext/hash support to ext/session's ID generator. (Sara)
[DOC] Ask Sara for explanation..
2008-08-06 05:53:31 +00:00
Dmitry Stogov
833a2295d1
Support for closures
2008-07-17 09:53:42 +00:00
Jani Taskinen
cd913eb2d8
MFH:- Fix tests (do NOT assume things in php.ini always to be same...or sane)
2008-07-15 01:00:00 +00:00
Felipe Pena
44fe6a6005
- Fixed tests
2008-06-22 19:16:44 +00:00
Felipe Pena
015f82d219
- New parameter parsing API
2008-06-21 15:27:34 +00:00
Ant Phillips
ad93b947a2
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.
2008-04-30 15:20:18 +00:00
Ant Phillips
c55db17098
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.
2008-04-30 09:28:02 +00:00
Ant Phillips
cdf5621b50
More session tests to improve code coverage for untested extension code
2008-04-29 09:24:19 +00:00
Ant Phillips
52af9124b5
More session tests to improve code coverage for untested extension code
2008-04-29 08:57:09 +00:00
Ant Phillips
57e0d2acec
These tests were backported from the PHP 6.0 branch, which in turn were ported from this branch and then updated to remove any dependencies on register_globals. With register_globals removed they are useful tests to run against the 5.X branches.
2008-04-22 16:04:31 +00:00
Ant Phillips
79b73d1218
New set of session extension tests for PHP 5.3 branch.
...
These hopefully test a reasonable set of basic, error and variations for
the twenty or so session functions. Note however that they do not
test all the session configuration settings, nor do they test anything
with register_globals enabled.
2008-04-22 16:04:30 +00:00
Felipe Pena
77af81b8c3
Fix test (thanks Scoates!)
2008-03-08 23:31:05 +00:00
Gwynne Raskind
8bbef4f940
Forgot one file in last commit
2008-03-07 23:20:54 +00:00
Jani Taskinen
19401951c0
MFH: sync
2007-08-23 11:42:21 +00:00
Ilia Alshanetsky
c38ad55e8e
Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags).
2007-06-06 00:00:28 +00:00
Antony Dovgal
ffd09c0961
fix tests
2007-05-18 11:29:55 +00:00
Antony Dovgal
1f65545121
fix test names
2007-05-07 18:03:01 +00:00
Ilia Alshanetsky
d1891c3d8a
removed dl() block
2007-01-06 17:35:44 +00:00
Hannes Magnusson
630254d55e
Fix skipif
2007-01-06 16:56:38 +00:00
Nuno Lopes
66e555c66f
die("skip this is for PHP < 4.2.3");
2006-12-27 15:22:28 +00:00
Hannes Magnusson
6affa7d3e9
Fix tests
2006-09-18 16:12:13 +00:00
Antony Dovgal
a6088ffc5a
fix test
2006-08-11 10:35:22 +00:00
Ilia Alshanetsky
d58b3869a7
Fixed bug #38377 (session_destroy() gives warning after
...
session_regenerate_id()).
2006-08-08 14:54:49 +00:00
Ilia Alshanetsky
3022080d84
Fixed bug #36459 (Incorrect adding PHPSESSID to links, which contains \r\n).
2006-02-28 14:45:18 +00:00
Dmitry Stogov
319cbe1c5a
Fixed test file
2005-07-05 14:10:31 +00:00
foobar
73dd4043b3
Make sure files-save handler is used always
2005-07-04 13:09:14 +00:00
foobar
a119050ebb
These tests require register_long_arrays=1
2005-03-31 19:47:19 +00:00
Antony Dovgal
37d3ea836e
add skipif section
2005-01-09 18:22:12 +00:00
Antony Dovgal
68d73f8cf9
add test for bug #31454
2005-01-09 18:15:49 +00:00
Ilia Alshanetsky
df71910d0e
Better skip condition check for session tests.
2004-05-27 20:53:26 +00:00
Marcus Boerger
29cfd6d24f
- Remove unused blocks
2004-05-19 08:56:50 +00:00
Ilia Alshanetsky
f7f966f96f
Skip session tests if session.save_path is not writable.
2004-05-13 12:53:47 +00:00
Ilia Alshanetsky
dda0dd4825
Fixed test failure if session.use_trans_sid is enabled.
2004-04-15 13:37:50 +00:00
Ilia Alshanetsky
0fc2bb9d49
Fixed bug #26862 (ob_flush() followed by output_reset_rewrite_vars() may
...
result in data loss).
2004-02-11 17:00:48 +00:00
Stanislav Malyshev
8487383ede
fix test - remove warning
2004-02-05 09:03:37 +00:00
Marcus Boerger
45277ec5d7
Preserve casing
2003-12-22 23:17:17 +00:00
Dmitry Stogov
fca9c0c669
Incorrect test file was fixed. (Use pattern insted of absolute filename)
2003-12-16 11:19:20 +00:00
Ilia Alshanetsky
5264d34578
Update test to reflect new functionality.
2003-12-14 23:27:32 +00:00
Wez Furlong
98f1021dd8
Make these tests work under win32
2003-12-05 13:42:04 +00:00
Marcus Boerger
c3fddcab62
Fix tests for E_STRICT and check for E_STRICT in run-tests.php.
2003-11-30 13:57:20 +00:00
Ilia Alshanetsky
5eb23bf01e
Added missing skip condition
2003-08-14 00:54:28 +00:00
Ilia Alshanetsky
f9a8fc0c09
Fixed bug #24592 (Possible crash in session extnsion, with NULL values)
2003-07-21 21:47:52 +00:00
Sterling Hughes
7da8fbd7ef
fix this test when using a save_handler other than files...
2003-07-02 04:34:18 +00:00
Sascha Schumann
f25ff93cc6
MFB
2003-06-13 09:19:52 +00:00
foobar
9706fcd17f
Fix the test. (second session init call produces a notice)
2003-06-13 09:15:56 +00:00
Marcus Boerger
d1c19eb5a1
Fix tests
2003-05-31 13:10:00 +00:00
Ilia Alshanetsky
9497ba9d49
MFH (test failure if session.serialize_handler is not set to php).
2002-11-25 23:20:05 +00:00
John Coggeshall
6ac365896c
Modified the experimental new test class to make it easier to port to the
...
web. Pushed all echo statements through a function that can be
overwritten, changed the way pass/skip/fail is handled (separate function)
that of course can also be overwritten. To begin testing of a web-based
test script also created a webHarness class which will output HTML. To
use, just $a = new webHarness(); instead of $a = new testHarness(); A few
modifications still must be made to remove the CLI reliance completely.
Also modified a test script description.
2002-11-01 00:22:02 +00:00
Marcus Boerger
62667ee6a6
-Only accept one single message which is expected.
...
-Move error related settings to --INI-- section
#Now see we can do it correct
2002-10-29 14:03:37 +00:00
Marcus Boerger
b9eda54711
This test requires special settings
...
#wait/read next commit on run-test.php
2002-10-27 23:56:08 +00:00
Ilia Alshanetsky
c88e0fd5de
Fixed a bug in the test that would cause it to always fail.
2002-10-25 17:52:32 +00:00
Marcus Boerger
86465058a4
one version for php<4.2.3 and one for php>=4.2.3
2002-10-24 18:18:44 +00:00
Derick Rethans
bfc3250187
- Hardcode dependent ini setting
2002-10-13 11:14:49 +00:00
Derick Rethans
db89afc45b
- Hardcode setting which affects the test
2002-10-12 17:12:43 +00:00
Derick Rethans
4a54968c71
- hardcode default rewriting tags
2002-10-08 18:30:38 +00:00
Sascha Schumann
8ca10fb5e8
Call ob_flush to force the buffer contents to go through the rewriter.
2002-10-07 10:07:27 +00:00
Sascha Schumann
fb84b3e1d0
remove trans_sid=1
2002-10-03 23:13:36 +00:00
Sascha Schumann
5db24fbb7b
20: rewriter uses arg_seperator.output for modifying URLs
...
21: rewriter handles <form> and <fieldset> correctly
2002-10-03 23:12:16 +00:00
Sascha Schumann
47cc29c9d1
19: serializing references test case using globals
...
18: rewriter correctly handles attribute names which contain dashes
2002-10-03 22:54:15 +00:00
Sascha Schumann
eab0f5965f
code from ancient bug #5271
...
setting $_SESSION before session_start() should not cause segfault
2002-10-03 16:55:08 +00:00
Sascha Schumann
3998374a0d
invalid session.save_path should not cause a segfault
2002-10-03 16:49:52 +00:00
Sascha Schumann
61e47a342e
use_trans_sid should not affect SID
2002-10-03 16:43:44 +00:00
Sascha Schumann
8882b28e60
editing
2002-10-03 16:14:55 +00:00
Sascha Schumann
d661fa4b46
A script should not be able to modify session.use_trans_sid
2002-10-03 15:58:10 +00:00
Sascha Schumann
bb4f911035
There should not be any warning with regard to redefining SID
2002-10-03 15:52:36 +00:00
Sascha Schumann
dba3e4c7ad
Registering _SESSION should not segfault.
2002-10-03 15:48:18 +00:00
Sascha Schumann
d4e1ac6c26
Mini test cases for fixed segfaults
2002-10-03 15:39:29 +00:00
Sascha Schumann
e24247e632
Remove ob_start()
2002-10-03 15:19:55 +00:00
Sascha Schumann
16f54aaca8
Add test for unset($_SESSION["x"]); behaviour
2002-10-03 15:19:43 +00:00
Sascha Schumann
c4adf94fbd
make tests work with CLI
2002-10-03 15:11:01 +00:00
Sascha Schumann
114c544b9b
Purge ini_set calls and replace through INI sections.
2002-10-03 08:07:21 +00:00
Sascha Schumann
be319c721a
Reenable E_WARNING and test session.bug_compat_warn in addition.
2002-10-03 06:41:25 +00:00
Sascha Schumann
afb1458910
session_destroy resets the sid, so we need to set it again here
2002-10-03 06:33:19 +00:00
Sascha Schumann
356ea7ffbd
Verify PHP 4.2 compatibility: global is used albeit register_globals=0
2002-10-03 06:32:45 +00:00
Sascha Schumann
d4ef4079de
Verify PHP 4.2 compatibility: unset($c) with enabled register_globals
2002-10-03 05:06:01 +00:00
Yasuo Ohgaki
c1ae59c588
Fixed file include error
2002-04-19 07:55:24 +00:00
Yasuo Ohgaki
e0867ffcf1
Add missing skipif.inc
2002-03-12 05:42:43 +00:00
Sander Roobol
58a52f93bc
Fixed many tests, mostly incorrect paths.
2002-03-08 19:16:19 +00:00
Sascha Schumann
d62c336cf2
These tests currently depend on register_globals=1
2002-03-07 20:51:27 +00:00
Sascha Schumann
3a86163f19
Make these tests succeed with non-standard settings
2002-01-10 05:11:19 +00:00
Edin Kadribasic
2ebefcf3b9
Made session test pass on systems with short open tags disabled.
2001-10-06 09:54:23 +00:00
Hartmut Holzgraefe
d3fdc92ff5
these tow fail with "Constant sid already defined" i
...
too if E_NOTICE error reporting is active
2001-07-22 21:46:39 +00:00
Thies C. Arntzen
249c010d92
make regession test of session work without the ugly hack in session.c
...
and removed that ugly hack.
2001-07-13 10:32:37 +00:00
Thies C. Arntzen
bd4f32cf12
- fixed the reference in session thingie
...
- regression test checked (this time;-)
- added new regression test for references
- references _between_ session variables also work in when the session var
replaces an already existing global var (this was a brain twister)
- saved one strlen call per session variable
- fixed one tiny leak
2001-06-21 18:46:26 +00:00
Sascha Schumann
41cd55dd44
Add a new test and refine the fourth test
2001-01-07 10:40:41 +00:00
Sascha Schumann
8e22a8a73b
Add session_set_save_handler test
2000-12-24 16:33:27 +00:00
Sascha Schumann
80ff1a3874
Also call some member functions of the deserialized objects
2000-12-24 16:06:32 +00:00
Sascha Schumann
72f99e668e
Add session object deserialization test
2000-12-24 16:01:32 +00:00
Sascha Schumann
5722a0e1ce
Add two regression tests for the session module
2000-12-24 15:57:05 +00:00