From b98e5657ee1f85474fcd9a690e0bbc0c86279cda Mon Sep 17 00:00:00 2001 From: Craig Small Date: Tue, 22 Mar 2022 20:20:53 +1100 Subject: testsuite: ps out tests more lenient Sometimes due to race conditions or the way dejagnu gates the output, or even there is another interesting process, the ps tests sometimes fail. These changes make it a little more lenient without losing the purpose of the test. Replaces Debian patch ps_tests References: https://salsa.debian.org/debian/procps/-/blob/debian/2%253.3.17-7/debian/patches/ps_checks --- testsuite/ps.test/ps_output.exp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/ps.test') diff --git a/testsuite/ps.test/ps_output.exp b/testsuite/ps.test/ps_output.exp index fef4556..99fa8d4 100644 --- a/testsuite/ps.test/ps_output.exp +++ b/testsuite/ps.test/ps_output.exp @@ -22,8 +22,8 @@ set ps_time "\(\d+-\)?\\\d{1,3}:\\d{2}\\s*" set ps_class "\[A-Z?-\]\\s*" set flag_match { - "%cpu,pcpu,%mem,pmem" "%CPU\\s+%CPU\\s+%MEM\\s+%MEM\\s+\(\\d+\.\\d+\\s*\){4}$" - "blocked,sig_block,sigmask,caught,sigcatch,sig_catch" "\(BLOCKED\\s+\){3}\(CAUGHT\\s+\){2}CATCHED\\s+\(