summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schlüter <johannes@php.net>2012-11-15 12:29:38 +0100
committerJohannes Schlüter <johannes@php.net>2012-11-15 12:29:38 +0100
commit2a59f1d06c8d1ce64a7dc39f7736cc3499e0145d (patch)
tree7a135b72c2edfb57b31f80eaa36d1c214ad79e70
parent3d82f16c7de1bf89d0e618f113e361fe13abe697 (diff)
parent7468fc0e374ad8cd8db482e6c228cdaae8aed075 (diff)
downloadphp-git-2a59f1d06c8d1ce64a7dc39f7736cc3499e0145d.tar.gz
Merge branch 'PHP-5.3' into PHP-5.4
-rw-r--r--tests/security/open_basedir_001.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/security/open_basedir_001.phpt b/tests/security/open_basedir_001.phpt
index e05861a81d..9ea9559942 100644
--- a/tests/security/open_basedir_001.phpt
+++ b/tests/security/open_basedir_001.phpt
@@ -5,6 +5,9 @@ openbase_dir runtime tightning
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip.. only for unix');
}
+if (!is_dir("/usr/local/bin")) {
+ die('skip.. no /usr/local/bin on this machine');
+}
--INI--
open_basedir=/usr/local
--FILE--