Commit 8dc7e3ed authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Two first testcases



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2692 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 25f896f8
# Quis custodiet ipsos custodes?
#
# $Id$
server s1 -listen :9080 {
rxreq
txresp
}
server s1 -start
client c1 -connect localhost:9080 {
txreq
rxresp
}
client c1 -run
server s1 -wait
# Quis custodiet ipsos custodes?
#
# $Id$
server s1 -listen :9080 {
rxreq
expect req.request == GET
expect req.proto == HTTP/1.1
expect req.url == "/"
txresp -body "0123456789"
}
server s1 -start
client c1 -connect localhost:9080 {
txreq
rxresp
expect resp.proto == HTTP/1.1
expect resp.status == 200
expect resp.msg == Ok
}
client c1 -run
server s1 -wait
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