From 82d8e3faf320e6aed41fe3cf18d99d79ce48bb70 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Tue, 6 Dec 2022 22:23:08 +1100 Subject: [PATCH] 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 --- library/tests/test_pids.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = {