[master] f4faa6e Fold r00936.vtc into vcc_action.c tests
Federico G. Schwindt
fgsch at lodoss.net
Fri Mar 10 20:08:06 CET 2017
commit f4faa6e3c431d6ccf581f5683af56008e4d4be10
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Fri Mar 10 18:59:14 2017 +0000
Fold r00936.vtc into vcc_action.c tests
diff --git a/bin/varnishtest/tests/r00936.vtc b/bin/varnishtest/tests/r00936.vtc
deleted file mode 100644
index ddb2f79..0000000
--- a/bin/varnishtest/tests/r00936.vtc
+++ /dev/null
@@ -1,16 +0,0 @@
-varnishtest "synthetic is only allowed in error"
-
-server s1 {
- rxreq
- txresp
-} -start
-
-varnish v1 -errvcl {'synthetic': not a valid action in method 'vcl_recv'} {
- backend foo { .host = "127.0.0.1"; }
-
- sub vcl_recv {
- synthetic("HELLOO");
- return (synth(503));
- }
-}
-
diff --git a/bin/varnishtest/tests/v00018.vtc b/bin/varnishtest/tests/v00018.vtc
index 53d96c9..a0bbf02 100644
--- a/bin/varnishtest/tests/v00018.vtc
+++ b/bin/varnishtest/tests/v00018.vtc
@@ -117,3 +117,12 @@ varnish v1 -errvcl {Expected return action name.} {
backend b { .host = "127.0.0.1"; }
sub vcl_recv { return(foobar); }
}
+
+# issue #936
+varnish v1 -errvcl {'synthetic': not a valid action in method 'vcl_recv'} {
+ backend foo { .host = "127.0.0.1"; }
+ sub vcl_recv {
+ synthetic("XXX");
+ return (synth(503));
+ }
+}
More information about the varnish-commit
mailing list