diff options
Diffstat (limited to 'ext/posix/tests/posix_isatty.phpt')
-rw-r--r-- | ext/posix/tests/posix_isatty.phpt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/posix/tests/posix_isatty.phpt b/ext/posix/tests/posix_isatty.phpt index b0b86e10a0..74309c299d 100644 --- a/ext/posix/tests/posix_isatty.phpt +++ b/ext/posix/tests/posix_isatty.phpt @@ -1,7 +1,10 @@ --TEST-- posix_isatty(): Basic tests --SKIP-- -<?php if (!posix_mknod('posix_isatty')) die('skip posix_isatty() not found'); ?> +<?php +if (!extension_loaded('posix')) die('skip - POSIX extension not loaded'); +if (!function_exists('posix_isatty')) die('skip posix_isatty() not found'); +?> --FILE-- <?php |