summaryrefslogtreecommitdiff
path: root/ext/pcntl/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-06 11:23:13 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-06 12:45:57 +0200
commit7a1dc180a62ee0c6b2624d17c86800c117e84357 (patch)
treeea10d10f5d6a245c7689a030853f9ff6ace05e0f /ext/pcntl/tests
parent84e0ea6b43f1803aa202448997639a9795358181 (diff)
downloadphp-git-7a1dc180a62ee0c6b2624d17c86800c117e84357.tar.gz
Update ext/pcntl parameter names
Closes GH-6278.
Diffstat (limited to 'ext/pcntl/tests')
-rw-r--r--ext/pcntl/tests/pcntl_getpriority_error.phpt2
-rw-r--r--ext/pcntl/tests/pcntl_setpriority_error.phpt2
-rw-r--r--ext/pcntl/tests/pcntl_signal.phpt4
3 files changed, 4 insertions, 4 deletions
diff --git a/ext/pcntl/tests/pcntl_getpriority_error.phpt b/ext/pcntl/tests/pcntl_getpriority_error.phpt
index 5276d4df77..cf2a17a6f3 100644
--- a/ext/pcntl/tests/pcntl_getpriority_error.phpt
+++ b/ext/pcntl/tests/pcntl_getpriority_error.phpt
@@ -20,4 +20,4 @@ try {
?>
--EXPECT--
-pcntl_getpriority(): Argument #2 ($process_identifier) must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS
+pcntl_getpriority(): Argument #2 ($mode) must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS
diff --git a/ext/pcntl/tests/pcntl_setpriority_error.phpt b/ext/pcntl/tests/pcntl_setpriority_error.phpt
index d354ab2bc5..f4b5781587 100644
--- a/ext/pcntl/tests/pcntl_setpriority_error.phpt
+++ b/ext/pcntl/tests/pcntl_setpriority_error.phpt
@@ -20,4 +20,4 @@ try {
?>
--EXPECT--
-pcntl_setpriority(): Argument #3 ($process_identifier) must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS
+pcntl_setpriority(): Argument #3 ($mode) must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS
diff --git a/ext/pcntl/tests/pcntl_signal.phpt b/ext/pcntl/tests/pcntl_signal.phpt
index 4b94064e2a..f05bfc3c77 100644
--- a/ext/pcntl/tests/pcntl_signal.phpt
+++ b/ext/pcntl/tests/pcntl_signal.phpt
@@ -45,7 +45,7 @@ echo "ok\n";
signal dispatched
got signal from %r\d+|nobody%r
bool(true)
-pcntl_signal(): Argument #1 ($signo) must be greater than or equal to 1
-pcntl_signal(): Argument #1 ($signo) must be greater than or equal to 1
+pcntl_signal(): Argument #1 ($signal) must be greater than or equal to 1
+pcntl_signal(): Argument #1 ($signal) must be greater than or equal to 1
pcntl_signal(): Argument #2 ($handler) must be of type callable|int, string given
ok