From f8d795820e780a6322e054c26c581570613c14f0 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Mon, 3 Feb 2020 22:52:20 +0100 Subject: Reindent phpt files --- ext/pcntl/tests/001.phpt | 80 ++++++++++++------------- ext/pcntl/tests/002.phpt | 96 +++++++++++++++--------------- ext/pcntl/tests/pcntl_exec_2.phpt | 10 ++-- ext/pcntl/tests/pcntl_fork_basic.phpt | 6 +- ext/pcntl/tests/pcntl_signal.phpt | 4 +- ext/pcntl/tests/pcntl_wait.phpt | 24 ++++---- ext/pcntl/tests/pcntl_wait_rusage1.phpt | 42 ++++++------- ext/pcntl/tests/pcntl_waitpid_rusage1.phpt | 42 ++++++------- 8 files changed, 152 insertions(+), 152 deletions(-) (limited to 'ext/pcntl') diff --git a/ext/pcntl/tests/001.phpt b/ext/pcntl/tests/001.phpt index fe96d50f04..cdfdb0733f 100644 --- a/ext/pcntl/tests/001.phpt +++ b/ext/pcntl/tests/001.phpt @@ -11,60 +11,60 @@ Test pcntl wait functionality --FILE-- diff --git a/ext/pcntl/tests/pcntl_exec_2.phpt b/ext/pcntl/tests/pcntl_exec_2.phpt index 72274ede5f..18a3a6bc24 100644 --- a/ext/pcntl/tests/pcntl_exec_2.phpt +++ b/ext/pcntl/tests/pcntl_exec_2.phpt @@ -10,14 +10,14 @@ if (!getenv("TEST_PHP_EXECUTABLE") || !is_executable(getenv("TEST_PHP_EXECUTABLE --FILE-- "1", - "FOO" => "BAR", - 1 => "long") + "PCNTL_EXEC_TEST_IS_CHILD" => "1", + "FOO" => "BAR", + 1 => "long") ); echo "nok\n"; diff --git a/ext/pcntl/tests/pcntl_fork_basic.phpt b/ext/pcntl/tests/pcntl_fork_basic.phpt index 59931df850..3509e14a7f 100644 --- a/ext/pcntl/tests/pcntl_fork_basic.phpt +++ b/ext/pcntl/tests/pcntl_fork_basic.phpt @@ -15,10 +15,10 @@ echo "*** Test by calling method or function with its expected arguments, first $pid = pcntl_fork(); if ($pid > 0) { - pcntl_wait($status); - var_dump($pid); + pcntl_wait($status); + var_dump($pid); } else { - var_dump($pid); + var_dump($pid); } ?> --EXPECTF-- diff --git a/ext/pcntl/tests/pcntl_signal.phpt b/ext/pcntl/tests/pcntl_signal.phpt index 432b57e62e..cd55d9ad96 100644 --- a/ext/pcntl/tests/pcntl_signal.phpt +++ b/ext/pcntl/tests/pcntl_signal.phpt @@ -6,13 +6,13 @@ pcntl_signal() --FILE-- --EXPECTF-- diff --git a/ext/pcntl/tests/pcntl_wait_rusage1.phpt b/ext/pcntl/tests/pcntl_wait_rusage1.phpt index b23195f914..106c7088b8 100644 --- a/ext/pcntl/tests/pcntl_wait_rusage1.phpt +++ b/ext/pcntl/tests/pcntl_wait_rusage1.phpt @@ -7,34 +7,34 @@ pcntl_wait() and rusage --EXPECTF-- diff --git a/ext/pcntl/tests/pcntl_waitpid_rusage1.phpt b/ext/pcntl/tests/pcntl_waitpid_rusage1.phpt index 393dd59b9c..d9776676a1 100644 --- a/ext/pcntl/tests/pcntl_waitpid_rusage1.phpt +++ b/ext/pcntl/tests/pcntl_waitpid_rusage1.phpt @@ -7,34 +7,34 @@ pcntl_waitpid() and rusage --EXPECTF-- -- cgit v1.2.1