sas             Thu Oct  3 11:11:01 2002 EDT

  Modified files:              
    /php4/ext/session/tests     001.phpt 003.phpt 004.phpt 005.phpt 
                                006.phpt 007.phpt 008.phpt skipif.inc 
  Log:
  make tests work with CLI
  
  
Index: php4/ext/session/tests/001.phpt
diff -u php4/ext/session/tests/001.phpt:1.6 php4/ext/session/tests/001.phpt:1.7
--- php4/ext/session/tests/001.phpt:1.6 Thu Oct  3 04:07:21 2002
+++ php4/ext/session/tests/001.phpt     Thu Oct  3 11:11:00 2002
@@ -3,6 +3,8 @@
 --SKIPIF--
 <?php include('skipif.inc'); ?>
 --INI--
+session.use_cookies=0
+session.cache_limiter=
 register_globals=1
 --FILE--
 <?php
Index: php4/ext/session/tests/003.phpt
diff -u php4/ext/session/tests/003.phpt:1.8 php4/ext/session/tests/003.phpt:1.9
--- php4/ext/session/tests/003.phpt:1.8 Thu Oct  3 04:07:21 2002
+++ php4/ext/session/tests/003.phpt     Thu Oct  3 11:11:01 2002
@@ -3,6 +3,8 @@
 --SKIPIF--
 <?php include('skipif.inc'); ?>
 --INI--
+session.use_cookies=0
+session.cache_limiter=
 register_globals=1
 --FILE--
 <?php
Index: php4/ext/session/tests/004.phpt
diff -u php4/ext/session/tests/004.phpt:1.9 php4/ext/session/tests/004.phpt:1.10
--- php4/ext/session/tests/004.phpt:1.9 Thu Oct  3 04:07:21 2002
+++ php4/ext/session/tests/004.phpt     Thu Oct  3 11:11:01 2002
@@ -3,6 +3,8 @@
 --SKIPIF--
 <?php include('skipif.inc'); ?>
 --INI--
+session.use_cookies=0
+session.cache_limiter=
 register_globals=1
 --FILE--
 <?php
Index: php4/ext/session/tests/005.phpt
diff -u php4/ext/session/tests/005.phpt:1.7 php4/ext/session/tests/005.phpt:1.8
--- php4/ext/session/tests/005.phpt:1.7 Thu Oct  3 04:07:21 2002
+++ php4/ext/session/tests/005.phpt     Thu Oct  3 11:11:01 2002
@@ -3,6 +3,8 @@
 --SKIPIF--
 <?php include('skipif.inc'); ?>
 --INI--
+session.use_cookies=0
+session.cache_limiter=
 register_globals=1
 --FILE--
 <?php
Index: php4/ext/session/tests/006.phpt
diff -u php4/ext/session/tests/006.phpt:1.7 php4/ext/session/tests/006.phpt:1.8
--- php4/ext/session/tests/006.phpt:1.7 Thu Oct  3 04:07:21 2002
+++ php4/ext/session/tests/006.phpt     Thu Oct  3 11:11:01 2002
@@ -3,6 +3,8 @@
 --SKIPIF--
 <?php include('skipif.inc'); ?>
 --INI--
+session.use_cookies=0
+session.cache_limiter=
 register_globals=1
 --FILE--
 <?php
Index: php4/ext/session/tests/007.phpt
diff -u php4/ext/session/tests/007.phpt:1.3 php4/ext/session/tests/007.phpt:1.4
--- php4/ext/session/tests/007.phpt:1.3 Thu Oct  3 04:07:21 2002
+++ php4/ext/session/tests/007.phpt     Thu Oct  3 11:11:01 2002
@@ -3,6 +3,8 @@
 --SKIPIF--
 <?php include('skipif.inc'); ?>
 --INI--
+session.use_cookies=0
+session.cache_limiter=
 register_globals=1
 session.bug_compat_42=1
 --FILE--
Index: php4/ext/session/tests/008.phpt
diff -u php4/ext/session/tests/008.phpt:1.3 php4/ext/session/tests/008.phpt:1.4
--- php4/ext/session/tests/008.phpt:1.3 Thu Oct  3 04:07:21 2002
+++ php4/ext/session/tests/008.phpt     Thu Oct  3 11:11:01 2002
@@ -3,6 +3,8 @@
 --SKIPIF--
 <?php include('skipif.inc'); ?>
 --INI--
+session.use_cookies=0
+session.cache_limiter=
 register_globals=0
 session.bug_compat_42=1
 session.bug_compat_warn=0
Index: php4/ext/session/tests/skipif.inc
diff -u php4/ext/session/tests/skipif.inc:1.1 php4/ext/session/tests/skipif.inc:1.2
--- php4/ext/session/tests/skipif.inc:1.1       Tue Mar 12 00:42:43 2002
+++ php4/ext/session/tests/skipif.inc   Thu Oct  3 11:11:01 2002
@@ -1,8 +1,5 @@
 <?php
 // This script prints "skip" if condition does not meet.
-if (PHP_SAPI != 'cgi') {
-    die("skip\n");
-}
 if (!extension_loaded("session") && ini_get("enable_dl")) {
   $dlext = (substr(PHP_OS, 0, 3) == "WIN") ? ".dll" : ".so";
   @dl("session$dlext");
@@ -10,4 +7,4 @@
 if (!extension_loaded("session")) {
     die("skip\n");
 }
-?>
\ No newline at end of file
+?>



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to