]> err.no Git - varnish/commitdiff
Run varnishd with the smallest allowable storage file.
authordes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 29 Jun 2007 12:54:24 +0000 (12:54 +0000)
committerdes <des@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 29 Jun 2007 12:54:24 +0000 (12:54 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1599 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-tools/regress/lib/Varnish/Test/Engine.pm
varnish-tools/regress/lib/Varnish/Test/Varnish.pm

index 7c5d742bec87a3d6f8c6a7abc2dac890fa01e2a4..959e6cb561f71b99686de4a4e4206ef7f9fee3f7 100644 (file)
@@ -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,
index 4140815d69f04dabad089f33383c66480dc25502..72bfa81a2d943ebb533782411279a34cbb2c410a 100644 (file)
@@ -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'});