ptrace tests: Fix a signed/unsigned integer comparison
Reported by: Jenkins
Fixes: 43b4da4411 ("ptrace tests: Add a test using PROC_REAP_KILL to kill a traced debuggee")
This commit is contained in:
@@ -4410,7 +4410,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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user