summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-10-03 16:14:55 +0000
committerSascha Schumann <sas@php.net>2002-10-03 16:14:55 +0000
commit8882b28e606a5171dd51146089609fb9ede21857 (patch)
tree047de500577622cf108927f037c385d2e3c55816
parent3ee8172674bacdbd8e3fa6cf6b66eca5d386f014 (diff)
downloadphp-git-8882b28e606a5171dd51146089609fb9ede21857.tar.gz
editing
-rw-r--r--ext/session/tests/001.phpt3
-rw-r--r--ext/session/tests/002.phpt3
-rw-r--r--ext/session/tests/003.phpt3
-rw-r--r--ext/session/tests/004.phpt2
-rw-r--r--ext/session/tests/005.phpt4
-rw-r--r--ext/session/tests/006.phpt4
-rw-r--r--ext/session/tests/007.phpt4
-rw-r--r--ext/session/tests/008.phpt2
-rw-r--r--ext/session/tests/009.phpt4
-rw-r--r--ext/session/tests/010.phpt4
-rw-r--r--ext/session/tests/011.phpt4
-rw-r--r--ext/session/tests/012.phpt4
-rw-r--r--ext/session/tests/013.phpt2
-rw-r--r--ext/session/tests/014.phpt2
14 files changed, 24 insertions, 21 deletions
diff --git a/ext/session/tests/001.phpt b/ext/session/tests/001.phpt
index c707906e2f..27dfdf7931 100644
--- a/ext/session/tests/001.phpt
+++ b/ext/session/tests/001.phpt
@@ -1,5 +1,5 @@
--TEST--
-Session Object Serialization
+session object serialization
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -8,6 +8,7 @@ session.cache_limiter=
register_globals=1
--FILE--
<?php
+error_reporting(E_ALL);
class foo {
var $bar = "ok";
diff --git a/ext/session/tests/002.phpt b/ext/session/tests/002.phpt
index 80e72a6ef7..7c77fdcf94 100644
--- a/ext/session/tests/002.phpt
+++ b/ext/session/tests/002.phpt
@@ -1,9 +1,10 @@
--TEST--
-session_unset() without any session
+session_unset() without a initialized session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
+error_reporting(E_ALL);
session_unset();
print "ok\n";
--GET--
diff --git a/ext/session/tests/003.phpt b/ext/session/tests/003.phpt
index cded6b8367..164993cc96 100644
--- a/ext/session/tests/003.phpt
+++ b/ext/session/tests/003.phpt
@@ -1,5 +1,5 @@
--TEST--
-Session Object Deserialization
+session object deserialization
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -8,6 +8,7 @@ session.cache_limiter=
register_globals=1
--FILE--
<?php
+error_reporting(E_ALL);
class foo {
var $bar = "ok";
diff --git a/ext/session/tests/004.phpt b/ext/session/tests/004.phpt
index 4645b366a7..8321a06438 100644
--- a/ext/session/tests/004.phpt
+++ b/ext/session/tests/004.phpt
@@ -8,7 +8,7 @@ session.cache_limiter=
register_globals=1
--FILE--
<?php
-error_reporting(~E_NOTICE);
+error_reporting(E_ALL);
class handler {
var $data = 'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}';
diff --git a/ext/session/tests/005.phpt b/ext/session/tests/005.phpt
index 3fe81b7115..c4c92ad19f 100644
--- a/ext/session/tests/005.phpt
+++ b/ext/session/tests/005.phpt
@@ -1,5 +1,5 @@
--TEST--
-Custom save handler, multiple session_start()s, complex data structure test.
+custom save handler, multiple session_start()s, complex data structure test.
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -9,7 +9,7 @@ register_globals=1
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
class handler {
var $data = 'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}';
diff --git a/ext/session/tests/006.phpt b/ext/session/tests/006.phpt
index da50caba68..a5eaa1ff2f 100644
--- a/ext/session/tests/006.phpt
+++ b/ext/session/tests/006.phpt
@@ -1,5 +1,5 @@
--TEST--
-References between variables in sessions
+correct instantiation of references between variables in sessions
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -8,7 +8,7 @@ session.cache_limiter=
register_globals=1
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
session_id("abtest");
session_start();
diff --git a/ext/session/tests/007.phpt b/ext/session/tests/007.phpt
index e0ad9ba4c6..cde56e195e 100644
--- a/ext/session/tests/007.phpt
+++ b/ext/session/tests/007.phpt
@@ -1,5 +1,5 @@
--TEST--
-Verify PHP 4.2 compatibility: unset($c) with enabled register_globals
+bug compatibility: unset($c) with enabled register_globals
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -9,7 +9,7 @@ register_globals=1
session.bug_compat_42=1
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
session_id("abtest");
diff --git a/ext/session/tests/008.phpt b/ext/session/tests/008.phpt
index ec322799d2..2828a95e00 100644
--- a/ext/session/tests/008.phpt
+++ b/ext/session/tests/008.phpt
@@ -1,5 +1,5 @@
--TEST--
-Verify PHP 4.2 compatibility: global is used albeit register_globals=0
+bug compatibility: global is used albeit register_globals=0
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
diff --git a/ext/session/tests/009.phpt b/ext/session/tests/009.phpt
index 9072464846..c883267b39 100644
--- a/ext/session/tests/009.phpt
+++ b/ext/session/tests/009.phpt
@@ -1,5 +1,5 @@
--TEST--
-unset($_SESSION["name"]); works with register_globals=off
+unset($_SESSION["name"]); should work with register_globals=off
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -10,7 +10,7 @@ session.bug_compat_42=1
session.bug_compat_warn=0
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
session_id("abtest");
diff --git a/ext/session/tests/010.phpt b/ext/session/tests/010.phpt
index 08b97574c6..e1af8ce87f 100644
--- a/ext/session/tests/010.phpt
+++ b/ext/session/tests/010.phpt
@@ -1,5 +1,5 @@
--TEST--
-$session_array = explode(";", session_encode()); should not segfault.
+$session_array = explode(";", session_encode()); should not segfault
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -10,7 +10,7 @@ session.bug_compat_42=1
session.bug_compat_warn=0
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
$session_array = explode(";", @session_encode());
print "I live\n";
diff --git a/ext/session/tests/011.phpt b/ext/session/tests/011.phpt
index d6b6632779..6aaa6bd797 100644
--- a/ext/session/tests/011.phpt
+++ b/ext/session/tests/011.phpt
@@ -1,5 +1,5 @@
--TEST--
-session_decode(); should not segfault.
+session_decode(); should not segfault
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -10,7 +10,7 @@ session.bug_compat_42=1
session.bug_compat_warn=0
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
@session_decode("garbage data and no session started");
@session_decode("userid|s:5:\"mazen\";chatRoom|s:1:\"1\";");
diff --git a/ext/session/tests/012.phpt b/ext/session/tests/012.phpt
index be6326ffc1..6cc9706a4c 100644
--- a/ext/session/tests/012.phpt
+++ b/ext/session/tests/012.phpt
@@ -1,5 +1,5 @@
--TEST--
-Registering _SESSION should not segfault.
+registering $_SESSION should not segfault
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -10,7 +10,7 @@ session.bug_compat_42=1
session.bug_compat_warn=0
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
### Absurd example, value of $_SESSION does not matter
diff --git a/ext/session/tests/013.phpt b/ext/session/tests/013.phpt
index c838a4fda3..607889f4f0 100644
--- a/ext/session/tests/013.phpt
+++ b/ext/session/tests/013.phpt
@@ -1,5 +1,5 @@
--TEST--
-There should not be any warning with regard to redefining SID
+redefining SID should not cause warnings
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
diff --git a/ext/session/tests/014.phpt b/ext/session/tests/014.phpt
index 162d1d7da6..849e608709 100644
--- a/ext/session/tests/014.phpt
+++ b/ext/session/tests/014.phpt
@@ -1,5 +1,5 @@
--TEST--
-A script should not be able to modify session.use_trans_sid
+a script should not be able to modify session.use_trans_sid
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--