SCRIPT: run-regtests: avoid several calls to grep to test for features
authorWilly Tarreau <w@1wt.eu>
Thu, 18 Nov 2021 14:05:45 +0000 (15:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Nov 2021 16:54:49 +0000 (17:54 +0100)
commit0b3eb81c6b67ebca09a8ec01c8125b17d3745ede
tree5dbd85916f3397fe42ea3e948260c8596080e841
parent969e7afa0dd5241d4cf369698d121ffcddf60d3a
SCRIPT: run-regtests: avoid several calls to grep to test for features

grep is used in the arguments loops to check for features such as OPENSSL
or LUA or services like prometheus-exporter. Let's just look for the words
inside the list, which requires to prepend a delimitor at the beginning of
the list and add one at the end.
scripts/run-regtests.sh