From e37be80d0a6efc0ab601db6f50a7d6198f9efba8 Mon Sep 17 00:00:00 2001 From: Jean-Christophe Engel Date: Fri, 23 Aug 2024 19:24:27 +0200 Subject: [PATCH] runtest.sh : filtrage messages erreur inutiles --- runtest.sh | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/runtest.sh b/runtest.sh index 3d6f359..45f3abe 100755 --- a/runtest.sh +++ b/runtest.sh @@ -39,17 +39,23 @@ traiter_test() motif="^Ran all test suites.*" while read line do - echo "$line" if - echo $line | grep -q -E -e "$motif" + echo "$line" | grep -q -e "Playback._executionLoop" then - echo "** Fini ***" - pids=$(pgrep --full selenium-side-runner) - if [[ -n "$pids" ]] + continue + else + echo "$line" + if + echo $line | grep -q -E -e "$motif" then - kill $pids + echo "** Fini ***" + pids=$(pgrep --full selenium-side-runner) + if [[ -n "$pids" ]] + then + kill $pids + fi + ps faux | grep selenium-side-runner | grep -v grep fi - ps faux | grep selenium-side-runner | grep -v grep fi done }