From: William Dauchy Date: Sun, 10 Jan 2021 20:13:05 +0000 (+0100) Subject: BUG/MINOR: reg-tests: fix service dependency script X-Git-Tag: v2.4-dev6~70 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4488434c97b4ae3ae8fde501b37f5ef9a588bd09;p=thirdparty%2Fhaproxy.git BUG/MINOR: reg-tests: fix service dependency script I badly tested my previous patch forgetting to remove the "+" testing present in options, and not in services; the list of services do not have any "+" at the beginning of each service this patch is fixing commit aabde7133242563109b4f36c42e732f083 ("MINOR: reg-tests: add a way to add service dependency") Signed-off-by: William Dauchy --- diff --git a/scripts/run-regtests.sh b/scripts/run-regtests.sh index e6cb0e6cf3..27bb13cbf7 100755 --- a/scripts/run-regtests.sh +++ b/scripts/run-regtests.sh @@ -204,7 +204,7 @@ _findtests() { alternatives=$(echo "$requiredservice" | sed -e 's/|/ /g') found= for alt in $alternatives; do - if echo "$SERVICES" | grep -qw "\+$alt"; then + if echo "$SERVICES" | grep -qw "$alt"; then found=1; fi done