Test empty file

parent ab2383fc
......@@ -7,6 +7,8 @@ server s1 {
txresp -bodylen 1024
rxreq
txresp -bodylen 1024
rxreq
txresp
} -start
varnish v1 -vcl+backend {
......@@ -33,6 +35,7 @@ varnish v1 -vcl+backend {
# create two subrequests to put into the zip
zipflow.subreq("/file1");
zipflow.subreq("/file2");
zipflow.subreq("/empty");
return (deliver);
}
......@@ -50,4 +53,4 @@ client c1 {
expect resp.bodylen > 100
} -run
shell "curl -so t.zip -H 'Host: ${v1_addr}' http://${v1_addr}:${v1_port}/zip && unzip -Z t.zip"
\ No newline at end of file
shell "curl -so t.zip -H 'Host: ${v1_addr}' http://${v1_addr}:${v1_port}/zip && unzip -Z t.zip"
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