From 923c4f1a41f967728d181d97b16ba6a1fd078c03 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sun, 7 Mar 2021 08:10:10 -0800 Subject: [PATCH] the version_cgi test needs a debbugs configuration file --- t/17_version_cgi.t | 5 +++++ 1 file changed, 5 insertions(+) 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; -- 2.39.2