Commit efe7af72 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add a trivial pipe test



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2729 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 36567f6e
# $Id$
test "Check that a pipe transaction works"
server s1 -repeat 1 {
rxreq
txresp \
-hdr "Connection: close" \
-body "012345\n"
}
varnish v1 -vcl+backend {
sub vcl_recv {
pipe;
}
} -start
server s1 -start
client c1 {
txreq -url "/"
rxresp
expect resp.status == 200
}
client c1 -run
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