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:
Craig Small 2022-12-06 22:23:08 +11:00
parent 3c7a0c7cea
commit 82d8e3faf3

View File

@ -57,7 +57,7 @@ int check_fatal_proc_unmounted(void *data)
return ( (procps_pids_new(&info, items2, 2) == 0) &&
( (stack = fatal_proc_unmounted(info, 1)) != NULL) &&
( 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[] = {