Use -jnone for fellow VTCs to avoid permission issues

Fixes #20
parent f3f60c0e
......@@ -21,6 +21,7 @@ server s1 -listen "${tmpdir}/s1.sock" {
} -start
varnish v1 \
-arg "-jnone " \
-arg "-p fetch_maxchunksize=64k" \
-arg "-E${libvmod_slash}" \
-arg "-sfellow=fellow,${tmpdir}/fellow_global.stv,100MB,1MB,64KB" \
......
......@@ -12,6 +12,7 @@ server s1 -listen "${tmpdir}/s1.sock" {
} -start
varnish v1 \
-arg "-jnone " \
-arg "-p fetch_maxchunksize=64k" \
-arg "-E${libvmod_slash}" \
-arg "-sfellow=fellow,${tmpdir}/fellow_global.stv,100MB,1MB,64KB" \
......
varnishtest "test fellow error handling"
shell -err -expect " fellow file can only be used once" \
{varnishd -E${libvmod_slash} \
{varnishd -E${libvmod_slash} -jnone \
-n ${tmpdir} -a ${listen_addr} -F -b None \
-sfellow1=fellow,clashfile,100MB,1MB,64KB \
-sfellow2=fellow,clashfile,100MB,1MB,64KB \
}
varnish v1 \
-arg "-jnone " \
-arg "-E${libvmod_slash}" \
-arg "-sfellow1=fellow,fellowfile,1MB,1MB,64KB" \
-vcl {
......
varnishtest "test globally defined fellow"
varnish v1 \
-arg "-jnone " \
-arg "-E${libvmod_slash}" \
-arg "-sfellow=fellow,${tmpdir}/fellow_global.stv,100MB,1MB,64KB" \
-vcl {
......
varnishtest "test multiple globally defined fellows"
varnish v1 \
-arg "-jnone " \
-arg "-E${libvmod_slash}" \
-arg "-sfellow=fellow,${tmpdir}/fellow_global.stv,100MB,2MB,64KB" \
-arg "-sfellow2=fellow,${tmpdir}/fellow2_global.stv,100MB,2MB=fellow,64KB" \
......
......@@ -16,6 +16,7 @@ server s1 {
} -start
varnish v1 \
-arg "-jnone " \
-arg "-E${libvmod_slash}" \
-arg "-sfellow=fellow,${tmpdir}/fellow.stv,100MB,1MB,64KB" \
-arg "-sTransient=fellow,${tmpdir}/transient.stv,100MB,1MB,64KB" \
......
varnishtest "test vcl-defined fellow"
varnish v1 -arg "-p debug=+vclrel -p vsl_mask=+expkill" -vcl {
varnish v1 -arg "-jnone -p debug=+vclrel -p vsl_mask=+expkill" -vcl {
import slash;
import std;
......
varnishtest "test vcl-defined fellow"
varnish v1 -arg "-p debug=+vclrel -p vsl_mask=+expkill" -vcl {
varnish v1 -arg "-jnone -p debug=+vclrel -p vsl_mask=+expkill" -vcl {
import slash;
import std;
......
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