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:
@@ -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--
|
||||
|
||||
Reference in New Issue
Block a user