Skip to content
Permalink
Browse files

test vmod_path for -C

  • Loading branch information
nigoroll committed Jan 13, 2020
1 parent e527020 commit 21d3e8e8556b0e29fb803d1b4b37089b38a279fc
Showing with 9 additions and 0 deletions.
  1. +9 −0 bin/varnishtest/tests/m00003.vtc
@@ -7,6 +7,15 @@ server s1 {
txresp
} -start

shell {
echo "vcl 4.1; import std; backend dummy None;" >${tmpdir}/test.vcl
varnishd -pvmod_path=${topbuild}/lib/libvmod_std/.libs -C -f ${tmpdir}/test.vcl 2>/dev/null
}

shell -err -expect {Could not find VMOD std} {
varnishd -C -f ${tmpdir}/test.vcl 2>&1
}

varnish v1 -arg "-pvmod_path=${topbuild}/lib/libvmod_std/.libs/" \
-vcl+backend {
import std;

0 comments on commit 21d3e8e

Please sign in to comment.
You can’t perform that action at this time.