summaryrefslogtreecommitdiff
path: root/ext/posix/tests/posix_errno_variation2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/tests/posix_errno_variation2.phpt')
-rw-r--r--ext/posix/tests/posix_errno_variation2.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/posix/tests/posix_errno_variation2.phpt b/ext/posix/tests/posix_errno_variation2.phpt
index ad3aa311ea..23dc910b9a 100644
--- a/ext/posix/tests/posix_errno_variation2.phpt
+++ b/ext/posix/tests/posix_errno_variation2.phpt
@@ -5,8 +5,8 @@ Morten Amundsen mor10am@gmail.com
Francesco Fullone ff@ideato.it
#PHPTestFest Cesena Italia on 2009-06-20
--SKIPIF--
-<?php
- if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
+<?php
+ if(!extension_loaded("posix")) print "skip - POSIX extension not loaded";
if(!extension_loaded("pcntl")) print "skip - PCNTL extension required";
?>
--FILE--
@@ -17,9 +17,9 @@ echo "*** Test by calling function with pid error ***\n";
$pid = 10000;
do {
- $pid += 1;
+ $pid += 1;
$result = shell_exec("ps -p " . $pid);
-} while (strstr($pid, $result));
+} while (strstr($pid, $result));
posix_kill($pid, SIGKILL);
var_dump(posix_errno());