mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
ptrace tests: Fix a signed/unsigned integer comparison
Reported by: Jenkins
Fixes: 43b4da44118e ("ptrace tests: Add a test using PROC_REAP_KILL to kill a traced debuggee")
(cherry picked from commit 77c3e564b4b65443a9d3298e0aec4c1387acd55e)
This commit is contained in:
parent
16f6ce3f82
commit
615bd9d0a0
1 changed files with 1 additions and 1 deletions
|
|
@ -4411,7 +4411,7 @@ ATF_TC_BODY(ptrace__reap_kill_stopped, tc)
|
|||
prk.rk_sig = SIGTERM;
|
||||
error = procctl(P_PID, getpid(), PROC_REAP_KILL, &prk);
|
||||
REQUIRE_EQ(error, 0);
|
||||
REQUIRE_EQ(1, prk.rk_killed);
|
||||
REQUIRE_EQ(1u, prk.rk_killed);
|
||||
REQUIRE_EQ(-1, prk.rk_fpid);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue