summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2011-09-01 12:42:54 +0000
committerPierre Joye <pajoye@php.net>2011-09-01 12:42:54 +0000
commitca717e35d09ef06a8ec20e0596bec9d59278922e (patch)
treeb65374680377c5d3d10aa0e53b8aeebffd7db272 /tests
parent0ef9196d5d9660a8a53dd71525eaface27a918ed (diff)
downloadphp-git-ca717e35d09ef06a8ec20e0596bec9d59278922e.tar.gz
- win and nux work the same way
Diffstat (limited to 'tests')
-rw-r--r--tests/security/open_basedir_glob-win32.phpt59
-rw-r--r--tests/security/open_basedir_glob.phpt6
2 files changed, 0 insertions, 65 deletions
diff --git a/tests/security/open_basedir_glob-win32.phpt b/tests/security/open_basedir_glob-win32.phpt
deleted file mode 100644
index 3fa19afa36..0000000000
--- a/tests/security/open_basedir_glob-win32.phpt
+++ /dev/null
@@ -1,59 +0,0 @@
---TEST--
-Test open_basedir configuration
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) != 'WIN') {
- die('skip Windows only variation');
-}
-?>
---INI--
-open_basedir=.
---FILE--
-<?php
-require_once "open_basedir.inc";
-test_open_basedir("glob");
-?>
---CLEAN--
-<?php
-require_once "open_basedir.inc";
-delete_directories();
-?>
---EXPECTF--
-*** Testing open_basedir configuration [glob] ***
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(false)
-bool(false)
-bool(false)
-array(0) {
-}
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-array(1) {
- [0]=>
- string(5) "../ok"
-}
-array(1) {
- [0]=>
- string(6) "ok.txt"
-}
-array(1) {
- [0]=>
- string(12) "../ok/ok.txt"
-}
-array(1) {
- [0]=>
- string(%d) "%s/test/ok/ok.txt"
-}
-array(1) {
- [0]=>
- string(%d) "%s/test/ok/../ok/ok.txt"
-}
-*** Finished testing open_basedir configuration [glob] ***
-
diff --git a/tests/security/open_basedir_glob.phpt b/tests/security/open_basedir_glob.phpt
index 591cd8f4f7..602e48dfc4 100644
--- a/tests/security/open_basedir_glob.phpt
+++ b/tests/security/open_basedir_glob.phpt
@@ -1,11 +1,5 @@
--TEST--
Test open_basedir configuration
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') {
- die('skip Not for Windows variation');
-}
-?>
--INI--
open_basedir=.
--FILE--