]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REGTEST: script: Evaluate the varnishtest command to allow quoted parameters
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 18 Dec 2018 21:47:23 +0000 (22:47 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Thu, 20 Dec 2018 09:33:18 +0000 (10:33 +0100)
commit1ecf0ea70ab721991a0da48efaa752bc4fe0deb0
tree044fcecea75d7dc53c93d58b67171c655090aa82
parent8d67cf8187505049c044797aa2b854bca4459bf9
REGTEST: script: Evaluate the varnishtest command to allow quoted parameters

Instead of directly executing varnishtest command, we use a variable to build
the command line and we execute it with the 'eval' builtin. This way it is
possible to have quoted parameters. For instance:

  > ./scripts/run-regtests.sh --varnishtestparams "-Dmacro='some value' -n 10"

And the variable 'varnishtestparams' is also move at the end of the command
line, just before the list of test files. So it is possible to override all
default varnish options set by the script.
scripts/run-regtests.sh