Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vtest: Allow to inject varnishd arguments via VTEST_VARNISHD_ADD_ARGS
This is useful to test extensions with otherwise unaltered varnish test cases, for example: VTEST_VARNISHD_ADD_ARGS='-E/tmp/lib/varnish/vmods/libvmod_slash.so -sfellow=fellow,${tmpdir}/fellow.stv,100MB,1MB,64KB -sTransient=fellow,${tmpdir}/transient.stv,100MB,1MB,64KB' ./varnishtest -i ... These arguments are added and this injection method does not achieve its goal in all cases (e.g. for the example it breaks when other stevedore definitions conflict), but it still reduces the cases requiring manual intervention substantially.
- Loading branch information