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 <wdauchy@gmail.com>
This commit is contained in:
parent
e997010acc
commit
4488434c97
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user