From cde4b4fefb8a1131c231f8b69677bded4eea4821 Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 15 Jun 2008 20:57:30 +0000 Subject: [PATCH] Add -start and -wait for clients for async execution git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@2697 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishtest/vtc_client.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/varnish-cache/bin/varnishtest/vtc_client.c b/varnish-cache/bin/varnishtest/vtc_client.c index e916c73c..783c2b63 100644 --- a/varnish-cache/bin/varnishtest/vtc_client.c +++ b/varnish-cache/bin/varnishtest/vtc_client.c @@ -185,6 +185,14 @@ cmd_client(char **av, void *priv) assert(c->naddr > 0); continue; } + if (!strcmp(*av, "-start")) { + client_start(c); + continue; + } + if (!strcmp(*av, "-wait")) { + client_wait(c); + continue; + } if (!strcmp(*av, "-run")) { client_run(c); continue; -- 2.39.5