Commit 43b009a8 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Teach varnishtest about VRE_NOTEMPTY_ATSTART and skip c00047

which just hangs if we don't have it
parent 93931543
varnishtest "Test VCL regsuball()" varnishtest "Test VCL regsuball()"
feature VRE_NOTEMPTY_ATSTART
server s1 { server s1 {
rxreq rxreq
txresp \ txresp \
......
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
#include "vtc.h" #include "vtc.h"
#include "vav.h" #include "vav.h"
#include "vre.h"
#include "vtim.h" #include "vtim.h"
...@@ -494,6 +495,9 @@ cmd_feature(CMD_ARGS) ...@@ -494,6 +495,9 @@ cmd_feature(CMD_ARGS)
continue; continue;
#endif #endif
} }
if (!strcmp(av[i], "VRE_NOTEMPTY_ATSTART") &&
VRE_NOTEMPTY_ATSTART)
continue;
vtc_log(vl, 1, "SKIPPING test, missing feature: %s", av[i]); vtc_log(vl, 1, "SKIPPING test, missing feature: %s", av[i]);
vtc_stop = 1; vtc_stop = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment