diff options
| author | Gabriel Caruso <carusogabriel34@gmail.com> | 2018-02-19 05:59:41 -0300 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-02-20 21:53:48 +0100 |
| commit | ded3d984c6133b1f508ed84e96df3316e207c99b (patch) | |
| tree | 175c208197d72966fbeb22c1df9dac0a1a33124f /ext/pcntl | |
| parent | a00286921e8963d284a7a5db0c1fecffa6cb6b54 (diff) | |
| download | php-git-ded3d984c6133b1f508ed84e96df3316e207c99b.tar.gz | |
Use EXPECT instead of EXPECTF when possible
EXPECTF logic in run-tests.php is considerable, so let's avoid it.
Diffstat (limited to 'ext/pcntl')
| -rw-r--r-- | ext/pcntl/tests/002.phpt | 2 | ||||
| -rw-r--r-- | ext/pcntl/tests/async_signals.phpt | 2 | ||||
| -rw-r--r-- | ext/pcntl/tests/bug73783.phpt | 2 | ||||
| -rw-r--r-- | ext/pcntl/tests/pcntl_signal_dispatch.phpt | 2 | ||||
| -rw-r--r-- | ext/pcntl/tests/pcntl_signal_get_handler.phpt | 2 | ||||
| -rw-r--r-- | ext/pcntl/tests/signal_closure_handler.phpt | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/ext/pcntl/tests/002.phpt b/ext/pcntl/tests/002.phpt index 3cec8833f8..ce61b7b7fe 100644 --- a/ext/pcntl/tests/002.phpt +++ b/ext/pcntl/tests/002.phpt @@ -73,7 +73,7 @@ if ($pid == -1) { } ?> ---EXPECTF-- +--EXPECT-- bool(true) bool(true) signo == SIGTERM diff --git a/ext/pcntl/tests/async_signals.phpt b/ext/pcntl/tests/async_signals.phpt index b650606df3..86b006295d 100644 --- a/ext/pcntl/tests/async_signals.phpt +++ b/ext/pcntl/tests/async_signals.phpt @@ -19,7 +19,7 @@ $i = 0; // dummy echo "Done!\n"; ?> ---EXPECTF-- +--EXPECT-- Start! Signal handler called! Done! diff --git a/ext/pcntl/tests/bug73783.phpt b/ext/pcntl/tests/bug73783.phpt index beacdf6b8d..cf28868086 100644 --- a/ext/pcntl/tests/bug73783.phpt +++ b/ext/pcntl/tests/bug73783.phpt @@ -24,5 +24,5 @@ if (microtime(true) - $before >= 0.8) { echo "failed\n"; } ?> ---EXPECTF-- +--EXPECT-- working diff --git a/ext/pcntl/tests/pcntl_signal_dispatch.phpt b/ext/pcntl/tests/pcntl_signal_dispatch.phpt index acf6cc05e1..a7a26dbf65 100644 --- a/ext/pcntl/tests/pcntl_signal_dispatch.phpt +++ b/ext/pcntl/tests/pcntl_signal_dispatch.phpt @@ -20,7 +20,7 @@ pcntl_signal_dispatch(); echo "Done!\n"; ?> ---EXPECTF-- +--EXPECT-- Start! Signal handler called! Done! diff --git a/ext/pcntl/tests/pcntl_signal_get_handler.phpt b/ext/pcntl/tests/pcntl_signal_get_handler.phpt index 48f911e5e3..ee699942a8 100644 --- a/ext/pcntl/tests/pcntl_signal_get_handler.phpt +++ b/ext/pcntl/tests/pcntl_signal_get_handler.phpt @@ -22,7 +22,7 @@ pcntl_signal_dispatch(); echo "ok\n"; ?> ---EXPECTF-- +--EXPECT-- int(0) string(10) "pcntl_test" int(0) diff --git a/ext/pcntl/tests/signal_closure_handler.phpt b/ext/pcntl/tests/signal_closure_handler.phpt index 438e05159f..106b928296 100644 --- a/ext/pcntl/tests/signal_closure_handler.phpt +++ b/ext/pcntl/tests/signal_closure_handler.phpt @@ -19,7 +19,7 @@ $i = 0; // dummy echo "Done!\n"; ?> ---EXPECTF-- +--EXPECT-- Start! Signal handler called! Done! |
