diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test01.at | 9 | ||||
-rw-r--r-- | tests/test02.at | 9 |
2 files changed, 12 insertions, 6 deletions
diff --git a/tests/test01.at b/tests/test01.at index 116c8f1..62eb4fb 100644 --- a/tests/test01.at +++ b/tests/test01.at | |||
@@ -17,3 +17,3 @@ | |||
17 | AT_SETUP([appends]) | 17 | AT_SETUP([appends]) |
18 | AT_KEYWORDS([append]) | 18 | AT_KEYWORDS([test01 append]) |
19 | 19 | ||
@@ -34,3 +34,3 @@ varnish v1 -vcl+backend { | |||
34 | sub vcl_init { | 34 | sub vcl_init { |
35 | binlog.init("dir=$cwd/log;size=1M;pattern=logfile"); | 35 | binlog.init("$cwd/log", "LL", "size=1M;pattern=logfile"); |
36 | } | 36 | } |
@@ -40,3 +40,6 @@ varnish v1 -vcl+backend { | |||
40 | sub vcl_recv { | 40 | sub vcl_recv { |
41 | binlog.sappend(req.http.X-nid, req.http.X-aid); | 41 | binlog.start(); |
42 | binlog.pack(req.http.X-nid); | ||
43 | binlog.pack(req.http.X-aid); | ||
44 | binlog.commit(); | ||
42 | return (lookup); | 45 | return (lookup); |
diff --git a/tests/test02.at b/tests/test02.at index df639a5..459a3cc 100644 --- a/tests/test02.at +++ b/tests/test02.at | |||
@@ -17,3 +17,3 @@ | |||
17 | AT_SETUP([log rotation]) | 17 | AT_SETUP([log rotation]) |
18 | AT_KEYWORDS([rotation]) | 18 | AT_KEYWORDS([test02 rotation]) |
19 | 19 | ||
@@ -34,3 +34,3 @@ varnish v1 -vcl+backend { | |||
34 | sub vcl_init { | 34 | sub vcl_init { |
35 | binlog.init("dir=$cwd/log;size=1M;interval=10;roundts=1;pattern=%S.log"); | 35 | binlog.init("$cwd/log","LL","size=1M;interval=10;roundts=1;pattern=%S.log"); |
36 | } | 36 | } |
@@ -40,3 +40,6 @@ varnish v1 -vcl+backend { | |||
40 | sub vcl_recv { | 40 | sub vcl_recv { |
41 | binlog.sappend(req.http.X-nid, req.http.X-aid); | 41 | binlog.start(); |
42 | binlog.pack(req.http.X-nid); | ||
43 | binlog.pack(req.http.X-aid); | ||
44 | binlog.commit(); | ||
42 | return (lookup); | 45 | return (lookup); |