From: Craig Small Date: Tue, 10 Apr 2018 12:09:40 +0000 (+1000) Subject: misc: fix ps etime tests X-Git-Tag: v3.3.15~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca07bcad4df108b458c888b76fa19b16ec6de1c6;p=procps-ng misc: fix ps etime tests The test assumes only one process appears which, depending on the speed of things, may not be true. It now matches one to many process lines. --- diff --git a/testsuite/ps.test/ps_output.exp b/testsuite/ps.test/ps_output.exp index b290e28d..fef45563 100644 --- a/testsuite/ps.test/ps_output.exp +++ b/testsuite/ps.test/ps_output.exp @@ -25,7 +25,7 @@ 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+\(