tests: Fix type for check_fatal_proc_unmounted
While ps used the correct type for PIDS_VM_RSS the test did not. For some reason this only appeared to be an issue for s390x References: https://bugs.debian.org/1025495 Signed-off-by: Craig Small <csmall@dropbear.xyz>
This commit is contained in:
parent
3c7a0c7cea
commit
82d8e3faf3
@ -57,7 +57,7 @@ int check_fatal_proc_unmounted(void *data)
|
|||||||
return ( (procps_pids_new(&info, items2, 2) == 0) &&
|
return ( (procps_pids_new(&info, items2, 2) == 0) &&
|
||||||
( (stack = fatal_proc_unmounted(info, 1)) != NULL) &&
|
( (stack = fatal_proc_unmounted(info, 1)) != NULL) &&
|
||||||
( PIDS_VAL(0, s_int, stack, info) > 0) &&
|
( PIDS_VAL(0, s_int, stack, info) > 0) &&
|
||||||
( PIDS_VAL(1, u_int, stack, info) > 0));
|
( PIDS_VAL(1, ul_int, stack, info) > 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
TestFunction test_funcs[] = {
|
TestFunction test_funcs[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user