Migrate to VCDK: Minor polish

- do not change VARNISH_PREREQ
- no need for varnishtest -Dvmod_blobsynth with vmod_path
parent 84195056
......@@ -12,7 +12,7 @@ AM_SILENT_RULES([yes])
AC_ARG_VAR([RST2MAN], [the program to build manuals from reStructuredText])
AC_CHECK_PROGS([RST2MAN], [rst2man rst2man.py])
VARNISH_PREREQ([5.2])
VARNISH_PREREQ([7.5.0])
VARNISH_VMODS([blobsynth])
AM_PROG_AR
......
......@@ -29,8 +29,7 @@ TEST_EXTENSIONS = .vtc
VTC_LOG_COMPILER = varnishtest -v
AM_VTC_LOG_FLAGS = \
-p vcl_path="$(abs_top_srcdir)/vcl:$(VARNISHAPI_VCLDIR)" \
-p vmod_path="$(abs_builddir)/.libs:$(vmoddir):$(VARNISHAPI_VMODDIR)" \
-Dvmod_blobsynth="$(VMOD_BLOBSYNTH)"
-p vmod_path="$(abs_builddir)/.libs:$(vmoddir):$(VARNISHAPI_VMODDIR)"
TESTS = \
vtc/test01.vtc
......
......@@ -7,7 +7,7 @@ server s1 {
varnish v1 -vcl+backend {
import blob;
import ${vmod_blobsynth};
import blobsynth;
sub vcl_init {
new gif = blob.blob(BASE64,
......@@ -35,7 +35,7 @@ client c1 -run
varnish v1 -errvcl {Not available in subroutine 'vcl_recv'} {
import blob;
import ${vmod_blobsynth};
import blobsynth;
sub vcl_init {
new gif = blob.blob(BASE64,
......@@ -47,4 +47,4 @@ varnish v1 -errvcl {Not available in subroutine 'vcl_recv'} {
blobsynth.synthetic(gif.get());
return(synth(200));
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment