From 4488434c97b4ae3ae8fde501b37f5ef9a588bd09 Mon Sep 17 00:00:00 2001 From: William Dauchy Date: Sun, 10 Jan 2021 21:13:05 +0100 Subject: [PATCH] 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 --- scripts/run-regtests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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