Skip to content
Permalink
Browse files

Test coverage for a query on a multiline VSL record

Not a multiline VSL query, it's the record containing multiple lines.
  • Loading branch information...
Dridi committed May 27, 2019
1 parent 8fd8366 commit de44cc3c23a1cbf3dc95da7f274461ed8f2223fd
Showing with 10 additions and 0 deletions.
  1. +10 −0 bin/varnishtest/tests/u00014.vtc
@@ -136,3 +136,13 @@ shell -match "^500 503 $" {

./ncsa.sh -Q query1.vslq -q 'RespStatus == 503'
}

# Make v1 log a multiline VSL record and query it

logexpect l1 -v v1 -g raw -q {CLI ~ "\\nvcl1.s1"} {
expect 0 0 CLI "vcl1.s1 +healthy"
} -start

varnish v1 -cliok backend.list

logexpect l1 -wait

0 comments on commit de44cc3

Please sign in to comment.
You can’t perform that action at this time.