From: Don Armstrong Date: Sun, 7 Mar 2021 16:10:10 +0000 (-0800) Subject: the version_cgi test needs a debbugs configuration file X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=923c4f1a41f967728d181d97b16ba6a1fd078c03 the version_cgi test needs a debbugs configuration file --- diff --git a/t/17_version_cgi.t b/t/17_version_cgi.t index cfdc980..0ecb6ae 100644 --- a/t/17_version_cgi.t +++ b/t/17_version_cgi.t @@ -10,10 +10,15 @@ use DebbugsTest qw(:all); plan tests => 3; +create_debbugs_configuration(); + +my $debbugs_config_file = $ENV{DEBBUGS_CONFIG_FILE}; + my $port = 11344; my $version_cgi_handler = sub { my $fh; + $ENV{DEBBUGS_CONFIG_FILE} = $debbugs_config_file; open($fh,'-|',-e './cgi/version.cgi'? './cgi/version.cgi' : '../cgi/version.cgi'); my $headers; my $status = 200;