summaryrefslogtreecommitdiff
path: root/ext/posix/tests
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2008-12-03 20:44:15 +0000
committerFelipe Pena <felipe@php.net>2008-12-03 20:44:15 +0000
commit5341de4a9dbe60ff7f90751e0354b87851ae0ad6 (patch)
treef7a2f899e2a4aaa2f0f919a4894eab60b965eda7 /ext/posix/tests
parent2cfbe8c9ff5077e6bb012233d48f519133a436b9 (diff)
downloadphp-git-5341de4a9dbe60ff7f90751e0354b87851ae0ad6.tar.gz
- Fixed strange typos
Diffstat (limited to 'ext/posix/tests')
-rw-r--r--ext/posix/tests/posix_getcwd.phpt5
-rw-r--r--ext/posix/tests/posix_getgrnam.phpt5
-rw-r--r--ext/posix/tests/posix_getpwnam.phpt5
-rw-r--r--ext/posix/tests/posix_getrlimit.phpt5
-rw-r--r--ext/posix/tests/posix_initgroups.phpt5
-rw-r--r--ext/posix/tests/posix_isatty.phpt5
-rw-r--r--ext/posix/tests/posix_mknod.phpt5
7 files changed, 28 insertions, 7 deletions
diff --git a/ext/posix/tests/posix_getcwd.phpt b/ext/posix/tests/posix_getcwd.phpt
index 3e60c44f72..fc5a6d43e5 100644
--- a/ext/posix/tests/posix_getcwd.phpt
+++ b/ext/posix/tests/posix_getcwd.phpt
@@ -1,7 +1,10 @@
--TEST--
posix_getcwd(): Basic tests
--SKIP--
-<?php if (!posix_mknod('posix_getcwd')) die('skip posix_getcwd() not found'); ?>
+<?php
+if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+if (!function_exists('posix_getcwd')) die('skip posix_getcwd() not found');
+?>
--FILE--
<?php
diff --git a/ext/posix/tests/posix_getgrnam.phpt b/ext/posix/tests/posix_getgrnam.phpt
index 89e60800b6..9d24f085e0 100644
--- a/ext/posix/tests/posix_getgrnam.phpt
+++ b/ext/posix/tests/posix_getgrnam.phpt
@@ -1,7 +1,10 @@
--TEST--
posix_getgrnam(): Basic tests
--SKIP--
-<?php if (!function_exists('posix_getgrnam')) die('skip posix_getgrnam() not found'); ?>
+<?php
+if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+if (!function_exists('posix_getgrnam')) die('skip posix_getgrnam() not found');
+?>
--FILE--
<?php
diff --git a/ext/posix/tests/posix_getpwnam.phpt b/ext/posix/tests/posix_getpwnam.phpt
index 2be9752abe..4b89622977 100644
--- a/ext/posix/tests/posix_getpwnam.phpt
+++ b/ext/posix/tests/posix_getpwnam.phpt
@@ -1,7 +1,10 @@
--TEST--
posix_getpwnam(): Basic tests
--SKIP--
-<?php if (!function_exists('posix_getpwnam')) die('skip posix_getpwnam() not found'); ?>
+<?php
+if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+if (!function_exists('posix_getpwnam')) die('skip posix_getpwnam() not found');
+?>
--FILE--
<?php
diff --git a/ext/posix/tests/posix_getrlimit.phpt b/ext/posix/tests/posix_getrlimit.phpt
index 5417fe295f..55bd8aff8e 100644
--- a/ext/posix/tests/posix_getrlimit.phpt
+++ b/ext/posix/tests/posix_getrlimit.phpt
@@ -1,7 +1,10 @@
--TEST--
posix_getrlimit(): Basic tests
--SKIP--
-<?php if (!function_exists('posix_getrlimit')) die('skip posix_getrlimit() not found'); ?>
+<?php
+if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+if (!function_exists('posix_getrlimit')) die('skip posix_getrlimit() not found');
+?>
--FILE--
<?php
diff --git a/ext/posix/tests/posix_initgroups.phpt b/ext/posix/tests/posix_initgroups.phpt
index 0b38449e72..6ffb202f3c 100644
--- a/ext/posix/tests/posix_initgroups.phpt
+++ b/ext/posix/tests/posix_initgroups.phpt
@@ -1,7 +1,10 @@
--TEST--
posix_initgroups(): Basic tests
--SKIP--
-<?php if (!function_exists('posix_initgroups')) die('skip posix_initgroups() not found'); ?>
+<?php
+if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+if (!function_exists('posix_initgroups')) die('skip posix_initgroups() not found');
+?>
--FILE--
<?php
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
diff --git a/ext/posix/tests/posix_mknod.phpt b/ext/posix/tests/posix_mknod.phpt
index 70c7c28de6..1063abe5d3 100644
--- a/ext/posix/tests/posix_mknod.phpt
+++ b/ext/posix/tests/posix_mknod.phpt
@@ -1,7 +1,10 @@
--TEST--
posix_mknod(): Basic tests
--SKIP--
-<?php if (!posix_mknod('posix_mknod')) die('skip posix_mknod() not found'); ?>
+<?php
+if (!extension_loaded('posix')) die('skip - POSIX extension not loaded');
+if (!function_exists('posix_mknod')) die('skip posix_mknod() not found');
+?>
--FILE--
<?php