From: Craig Small Date: Tue, 6 Dec 2022 11:23:08 +0000 (+1100) Subject: tests: Fix type for check_fatal_proc_unmounted X-Git-Tag: v4.0.3_rc1~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=82d8e3faf320e6aed41fe3cf18d99d79ce48bb70;p=procps-ng 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 --- diff --git a/library/tests/test_pids.c b/library/tests/test_pids.c index 0a9832b5..eda0b73a 100644 --- a/library/tests/test_pids.c +++ b/library/tests/test_pids.c @@ -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[] = {