]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: reg-tests: fix service dependency script
authorWilliam Dauchy <wdauchy@gmail.com>
Sun, 10 Jan 2021 20:13:05 +0000 (21:13 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 11 Jan 2021 13:16:06 +0000 (14:16 +0100)
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 <wdauchy@gmail.com>
scripts/run-regtests.sh

index e6cb0e6cf3c9f39b5c76b920447a8b2483c65ce9..27bb13cbf75b83b87988d6e60bf147ae6e3e337e 100755 (executable)
@@ -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