From 5f02205f771278cf0be0e32dcdf191e790597f78 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 10 Oct 2008 19:40:30 +0000 Subject: [PATCH] Add a couple of test-case for vcc_parse.c git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@3279 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/tests/v00020.vtc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 varnish-cache/bin/varnishtest/tests/v00020.vtc diff --git a/varnish-cache/bin/varnishtest/tests/v00020.vtc b/varnish-cache/bin/varnishtest/tests/v00020.vtc new file mode 100644 index 00000000..b131699a --- /dev/null +++ b/varnish-cache/bin/varnishtest/tests/v00020.vtc @@ -0,0 +1,14 @@ +# $Id$ + +test "VCL compiler coverage test: vcc_parse.c" + +varnish v1 -vcl { +backend b { .host = "127.0.0.1"; } +C{ +#include +}C +} + +varnish v1 -badvcl { 0; } + +varnish v1 -badvcl " sub vcl_recv { { } { " -- 2.39.5