aboutsummaryrefslogtreecommitdiff
path: root/regress/tests/args-log-user-agent.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/tests/args-log-user-agent.pl')
-rw-r--r--regress/tests/args-log-user-agent.pl17
1 files changed, 17 insertions, 0 deletions
diff --git a/regress/tests/args-log-user-agent.pl b/regress/tests/args-log-user-agent.pl
new file mode 100644
index 0000000..a8dec17
--- /dev/null
+++ b/regress/tests/args-log-user-agent.pl
@@ -0,0 +1,17 @@
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ header => {
+ "User-Agent" => "regress\t\n\nGET / HTTP/1.0\r\n"
+ }
+ },
+ httpd => {
+ loggrep => {
+ qr/\"regress\\t\\n\\nGET \/ HTTP\/1\.0\"/ => 1,
+ },
+ },
+);
+
+1;