X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fexporter.t;h=494be445e0d07d38ea25a9b74d6498e9fd58ecbb;hb=c2bbadb320bc821ddac04668a1f3dd4f6fcf6c94;hp=6580997ee0692eb4316d3f36199d1f5d3fad0205;hpb=518709edb620494ace324da50ad3494a351d1e02;p=catagits%2FFCGI-ProcManager.git diff --git a/t/exporter.t b/t/exporter.t index 6580997..494be44 100644 --- a/t/exporter.t +++ b/t/exporter.t @@ -5,7 +5,7 @@ # General Public License, Version 2.1, a copy of which can be # found in the "COPYING" file of this distribution. -# $Id: exporter.t,v 1.3 2001/01/31 06:57:09 muaddib Exp $ +# $Id: exporter.t,v 1.5 2001/02/09 16:16:13 muaddie Exp $ use strict; use Test; @@ -25,10 +25,11 @@ ok pm_manage(); #ok $@ =~ /dying from number of processes exception: -3/; #undef $@; -pm_parameter('n_processes',10); - -#pm_manage(); -#sample_request_loop(); +if ($ENV{PM_N_PROCESSES}) { + pm_parameter('n_processes',$ENV{PM_N_PROCESSES}); + pm_manage(); + sample_request_loop(); +} exit 0;