From ca07bcad4df108b458c888b76fa19b16ec6de1c6 Mon Sep 17 00:00:00 2001 From: Craig Small Date: Tue, 10 Apr 2018 22:09:40 +1000 Subject: [PATCH] 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. --- testsuite/ps.test/ps_output.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+\(