From: des Date: Fri, 29 Jun 2007 12:54:24 +0000 (+0000) Subject: Run varnishd with the smallest allowable storage file. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fab182d0156b42abf9fc19acc8da651fe215a575;p=varnish Run varnishd with the smallest allowable storage file. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1599 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-tools/regress/lib/Varnish/Test/Engine.pm b/varnish-tools/regress/lib/Varnish/Test/Engine.pm index 7c5d742b..959e6cb5 100644 --- a/varnish-tools/regress/lib/Varnish/Test/Engine.pm +++ b/varnish-tools/regress/lib/Varnish/Test/Engine.pm @@ -59,6 +59,7 @@ sub new($$;%) { %config = ('server_address' => 'localhost:8081', 'varnish_address' => 'localhost:8080', + 'storage_spec' => 'file,/tmp/regress.bin,512k', %config); my $self = bless({ 'mux' => IO::Multiplex->new, diff --git a/varnish-tools/regress/lib/Varnish/Test/Varnish.pm b/varnish-tools/regress/lib/Varnish/Test/Varnish.pm index 4140815d..72bfa81a 100644 --- a/varnish-tools/regress/lib/Varnish/Test/Varnish.pm +++ b/varnish-tools/regress/lib/Varnish/Test/Varnish.pm @@ -95,6 +95,7 @@ sub new($$;$) { close STDERR_WRITE; my @opts = ('-d', '-d', + '-s', $engine->{'config'}->{'storage_spec'}, '-a', $engine->{'config'}->{'varnish_address'}, '-b', $engine->{'config'}->{'server_address'});