summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_ttyname_variation1.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/tests/posix_ttyname_variation1.phpt')
-rw-r--r--ext/posix/tests/posix_ttyname_variation1.phpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/posix/tests/posix_ttyname_variation1.phpt b/ext/posix/tests/posix_ttyname_variation1.phpt
index 072b9fa672..efbf64a4b7 100644
--- a/ext/posix/tests/posix_ttyname_variation1.phpt
+++ b/ext/posix/tests/posix_ttyname_variation1.phpt
@@ -4,6 +4,12 @@ Test function posix_ttyname() by substituting argument 1 with array values.
Marco Fabbri mrfabbri@gmail.com
Francesco Fullone ff@ideato.it
#PHPTestFest Cesena Italia on 2009-06-20
+--SKIPIF--
+<?php
+if (!extension_loaded('posix')) {
+ die('SKIP The posix extension is not loaded.');
+}
+?>
--FILE--
<?php