summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandre <andre@openbsd.org>2014-05-08 15:55:32 +0000
committerandre <andre@openbsd.org>2014-05-08 15:55:32 +0000
commitc81ff3a353650989fe8a8eff1a1a263d13d72658 (patch)
tree31b05c46bb64b729c433269b0e22816bb8ea063e
parentprotip: "It's largely bad style to do (int)sizeof" (diff)
downloadwireguard-openbsd-c81ff3a353650989fe8a8eff1a1a263d13d72658.tar.xz
wireguard-openbsd-c81ff3a353650989fe8a8eff1a1a263d13d72658.zip
Adjust this test contents from path keytype to url keytype to match the name of
the test file. ok reyk
-rw-r--r--regress/usr.sbin/relayd/args-http-filter-url-file.in4
-rw-r--r--regress/usr.sbin/relayd/args-http-filter-url-file.pl4
2 files changed, 4 insertions, 4 deletions
diff --git a/regress/usr.sbin/relayd/args-http-filter-url-file.in b/regress/usr.sbin/relayd/args-http-filter-url-file.in
index 20fd8269428..11aae001868 100644
--- a/regress/usr.sbin/relayd/args-http-filter-url-file.in
+++ b/regress/usr.sbin/relayd/args-http-filter-url-file.in
@@ -1,2 +1,2 @@
-/3
-/0
+foo.bar/3
+foo.bar/0
diff --git a/regress/usr.sbin/relayd/args-http-filter-url-file.pl b/regress/usr.sbin/relayd/args-http-filter-url-file.pl
index a048563a1ad..15266811138 100644
--- a/regress/usr.sbin/relayd/args-http-filter-url-file.pl
+++ b/regress/usr.sbin/relayd/args-http-filter-url-file.pl
@@ -12,12 +12,12 @@ our %args = (
protocol => [ "http",
'return error',
'label test_reject_label',
- 'path filter file args-http-filter-url-file.in log',
+ 'url filter file args-http-filter-url-file.in log',
'no label',
],
loggrep => {
qr/rejecting request/ => 1,
- qr/\[test_reject_label\, \/0\:/ => 1
+ qr/\[test_reject_label\, foo\.bar\/0\:/ => 1
},
},
server => {