summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/relayd/args-http-persistent.pl
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2014-07-10 20:53:14 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2014-07-10 20:53:14 +0000
commit86c6c56a237a964726a5b7fd5a72ae43a79e7ebc (patch)
tree6a6f27d0269ac0feb6431daa6ad56dff6dabb1f4 /regress/usr.sbin/relayd/args-http-persistent.pl
parentea0ede4a8f924e15af5c5dd4a8b7572f947d9eeb (diff)
Check for the exact number of done requests in relayd log.
Diffstat (limited to 'regress/usr.sbin/relayd/args-http-persistent.pl')
-rw-r--r--regress/usr.sbin/relayd/args-http-persistent.pl4
1 files changed, 3 insertions, 1 deletions
diff --git a/regress/usr.sbin/relayd/args-http-persistent.pl b/regress/usr.sbin/relayd/args-http-persistent.pl
index cd532c1b30b..bb2279f205b 100644
--- a/regress/usr.sbin/relayd/args-http-persistent.pl
+++ b/regress/usr.sbin/relayd/args-http-persistent.pl
@@ -14,7 +14,9 @@ our %args = (
"match request header log foo",
"match response header log bar",
],
- loggrep => qr/\, done/,
+ loggrep => {
+ qr/, (?:done|last write \(done\))/ => (1 + @lengths),
+ }
},
server => {
func => \&http_server,