From: des Date: Mon, 13 Aug 2007 16:33:46 +0000 (+0000) Subject: Add set_param() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04314b2dc065b1c6d58453288d38ad0a151b762e;p=varnish Add set_param() git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1834 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-tools/regress/lib/Varnish/Test/Varnish.pm b/varnish-tools/regress/lib/Varnish/Test/Varnish.pm index c32fcfe3..2d8436c8 100644 --- a/varnish-tools/regress/lib/Varnish/Test/Varnish.pm +++ b/varnish-tools/regress/lib/Varnish/Test/Varnish.pm @@ -202,6 +202,12 @@ sub stop_child($) { $self->send_command("stop"); } +sub set_param($$$) { + my ($self, $param, $value) = @_; + + $self->send_command('param.set', $param, $value); +} + sub shutdown($) { my ($self) = @_;