diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-07-09 16:48:56 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2014-07-09 16:48:56 +0000 |
commit | ec1d696f4f7cd62918de61b2cab81a8e3a0d828d (patch) | |
tree | 71c7a0a44e3ef826727dda33c089aa52f1d96c60 /regress/usr.sbin/relayd/args-http-filter-url.pl | |
parent | 95901958f14bc08272193e1b54d8f34b9519229b (diff) |
Update and extend the regress tests to use the new grammar of the
filtering rules. Some of the filenames are based on the old grammar,
we keep them for now and just update the contents to have a
before/after comparison of the features.
Most of the work was done by Andre de Oliveira (andre@)
OK bluhm@ benno@
Diffstat (limited to 'regress/usr.sbin/relayd/args-http-filter-url.pl')
-rw-r--r-- | regress/usr.sbin/relayd/args-http-filter-url.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/relayd/args-http-filter-url.pl b/regress/usr.sbin/relayd/args-http-filter-url.pl index 534be4c7597..c50ec56ed00 100644 --- a/regress/usr.sbin/relayd/args-http-filter-url.pl +++ b/regress/usr.sbin/relayd/args-http-filter-url.pl @@ -15,11 +15,11 @@ our %args = ( relayd => { protocol => [ "http", 'return error', - 'request url filter "foo.bar/a/b/" log', + 'block request url log "foo.bar/a/b/"', ], loggrep => { - qr/rejecting request \(403 Forbidden\)/ => 1, - qr/\[foo.bar\/a\/b\/:/ => 1, + qr/Forbidden \(403 Forbidden\)/ => 1, + qr/\[foo.bar\/a\/b\// => 1, }, }, server => { |