From 17ccbeec3242b80f84fbf6b3acd58421ef003b02 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sun, 14 Oct 2018 17:23:43 +0200 Subject: Trim trailing whitespace in *.phpt --- ext/pcntl/tests/001.phpt | 8 ++++---- ext/pcntl/tests/async_signals.phpt | 2 +- ext/pcntl/tests/pcntl_exec.phpt | 4 ++-- ext/pcntl/tests/pcntl_exec_2.phpt | 4 ++-- ext/pcntl/tests/pcntl_fork_basic.phpt | 2 +- ext/pcntl/tests/pcntl_fork_variation.phpt | 16 ++++++++-------- ext/pcntl/tests/pcntl_get_last_error.phpt | 4 ++-- ext/pcntl/tests/pcntl_signal_dispatch.phpt | 2 +- ext/pcntl/tests/pcntl_wait_rusage1.phpt | 2 +- ext/pcntl/tests/pcntl_waitpid_rusage1.phpt | 2 +- ext/pcntl/tests/signal_closure_handler.phpt | 2 +- 11 files changed, 24 insertions(+), 24 deletions(-) (limited to 'ext/pcntl') diff --git a/ext/pcntl/tests/001.phpt b/ext/pcntl/tests/001.phpt index fb1006e4bd..6aedbaf33b 100644 --- a/ext/pcntl/tests/001.phpt +++ b/ext/pcntl/tests/001.phpt @@ -2,11 +2,11 @@ Test pcntl wait functionality --SKIPIF-- --FILE-- - --FILE-- diff --git a/ext/pcntl/tests/pcntl_exec_2.phpt b/ext/pcntl/tests/pcntl_exec_2.phpt index 5383593d97..72274ede5f 100644 --- a/ext/pcntl/tests/pcntl_exec_2.phpt +++ b/ext/pcntl/tests/pcntl_exec_2.phpt @@ -3,7 +3,7 @@ pcntl_exec() 2 --SKIPIF-- @@ -15,7 +15,7 @@ if (getenv("PCNTL_EXEC_TEST_IS_CHILD")) { } echo "ok\n"; pcntl_exec(getenv("TEST_PHP_EXECUTABLE"), array('-n', __FILE__), array( - "PCNTL_EXEC_TEST_IS_CHILD" => "1", + "PCNTL_EXEC_TEST_IS_CHILD" => "1", "FOO" => "BAR", 1 => "long") ); diff --git a/ext/pcntl/tests/pcntl_fork_basic.phpt b/ext/pcntl/tests/pcntl_fork_basic.phpt index b1e2a9bf68..59931df850 100644 --- a/ext/pcntl/tests/pcntl_fork_basic.phpt +++ b/ext/pcntl/tests/pcntl_fork_basic.phpt @@ -15,7 +15,7 @@ echo "*** Test by calling method or function with its expected arguments, first $pid = pcntl_fork(); if ($pid > 0) { - pcntl_wait($status); + pcntl_wait($status); var_dump($pid); } else { var_dump($pid); diff --git a/ext/pcntl/tests/pcntl_fork_variation.phpt b/ext/pcntl/tests/pcntl_fork_variation.phpt index 4eea07181c..4a83966533 100644 --- a/ext/pcntl/tests/pcntl_fork_variation.phpt +++ b/ext/pcntl/tests/pcntl_fork_variation.phpt @@ -16,24 +16,24 @@ echo "*** Testing the process isolations between a process and its forks ***\n"; $pid = pcntl_fork(); if ($pid > 0) { - pcntl_wait($status); + pcntl_wait($status); echo "father is $pid\n"; - if (!isset($pid2)) + if (!isset($pid2)) { echo "father ($pid) doesn't know its grandsons\n"; } -} -else +} +else { echo "son ($pid)\n"; $pid2 = pcntl_fork(); if ($pid2 > 0) - { - pcntl_wait($status2); + { + pcntl_wait($status2); echo "son is father of $pid2\n"; - } - else + } + else { echo "grandson ($pid2)\n"; } diff --git a/ext/pcntl/tests/pcntl_get_last_error.phpt b/ext/pcntl/tests/pcntl_get_last_error.phpt index 4ed66c9610..f1a517051c 100644 --- a/ext/pcntl/tests/pcntl_get_last_error.phpt +++ b/ext/pcntl/tests/pcntl_get_last_error.phpt @@ -2,10 +2,10 @@ Test pcntl_get_last_error() --SKIPIF-- --FILE-- -