diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2014-07-13 00:32:09 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2014-07-13 00:32:09 +0000 |
commit | cf20f329ba70c6a7dd4b1d1ef99c34404d232225 (patch) | |
tree | c83c4f489376615b0282cac908d40d66ef68b9c5 /regress/usr.sbin | |
parent | 6870eb997071b5bf7e1b16803173707ef767ea66 (diff) |
improve log output for relays. adjust regress tests
ok reyk
Diffstat (limited to 'regress/usr.sbin')
-rw-r--r-- | regress/usr.sbin/relayd/args-http-log.pl | 2 | ||||
-rw-r--r-- | regress/usr.sbin/relayd/args-http-remove.pl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/relayd/args-http-log.pl b/regress/usr.sbin/relayd/args-http-log.pl index 887c6c7651d..1e2602b1a6a 100644 --- a/regress/usr.sbin/relayd/args-http-log.pl +++ b/regress/usr.sbin/relayd/args-http-log.pl @@ -14,7 +14,7 @@ our %args = ( ], loggrep => { qr/\[Host: foo.bar\]/ => 1, - qr/\[Server: Perl\/[^\s]+\s*\]/ => 1, + qr/\{Server: Perl\/[^\s]+\s*\};/ => 1, }, }, server => { diff --git a/regress/usr.sbin/relayd/args-http-remove.pl b/regress/usr.sbin/relayd/args-http-remove.pl index 45800210b6c..762de653312 100644 --- a/regress/usr.sbin/relayd/args-http-remove.pl +++ b/regress/usr.sbin/relayd/args-http-remove.pl @@ -18,7 +18,7 @@ our %args = ( 'match response header remove X-Header-Foo', 'match response header log "*Foo"', ], - loggrep => { qr/ (?:done|last write \(done\)), \[X-Header-Foo: foo \(removed\)\s*\]/ => 1 }, + loggrep => { qr/ (?:done|last write \(done\)), \{X-Header-Foo: foo \(removed\)\s*\};/ => 1 }, }, server => { func => \&http_server, |