1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00

Skip test if directory does not exist

Would be good to run this using a directory which is existing
everywhere.
This commit is contained in:
Johannes Schlüter
2012-11-15 12:28:19 +01:00
parent f5d8b638c7
commit 7468fc0e37

View File

@@ -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--