Remove unused module imports from TAP tests

The Config and Cwd modules were no longer used, but remained imported,
in a number of tests.  Remove to keep the imports to the actually used
modules.

Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://postgr.es/m/A5A074CD-3198-492B-BE5E-7961EFC3733F@yesql.se
This commit is contained in:
Daniel Gustafsson 2022-03-24 20:51:40 +01:00
parent 412ad7a556
commit 7dac61402e
26 changed files with 0 additions and 34 deletions

View File

@ -5,7 +5,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -5,7 +5,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -3,8 +3,6 @@
use strict;
use warnings;
use Cwd;
use Config;
use File::Basename qw(basename dirname);
use File::Path qw(rmtree);
use Fcntl qw(:seek);

View File

@ -6,7 +6,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -4,7 +4,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -4,7 +4,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -4,7 +4,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -4,7 +4,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -5,8 +5,6 @@
use strict;
use warnings;
use Cwd;
use Config;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -5,8 +5,6 @@
use strict;
use warnings;
use Cwd;
use Config;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -5,8 +5,6 @@
use strict;
use warnings;
use Cwd;
use Config;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -6,8 +6,6 @@
use strict;
use warnings;
use Cwd;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -5,8 +5,6 @@
use strict;
use warnings;
use Cwd;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -5,8 +5,6 @@
use strict;
use warnings;
use Cwd;
use Config;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -7,7 +7,6 @@
use strict;
use warnings;
use Config;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -6,8 +6,6 @@
use strict;
use warnings;
use Cwd;
use Config;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -6,7 +6,6 @@
use strict;
use warnings;
use Config;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -7,7 +7,6 @@ use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;
use Config;
# start a pgbench specific server
my $node = PostgreSQL::Test::Cluster->new('main');

View File

@ -4,7 +4,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -4,7 +4,6 @@
use strict;
use warnings;
use Config;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -93,7 +93,6 @@ use warnings;
use Carp;
use Config;
use Cwd;
use Fcntl qw(:mode);
use File::Basename;
use File::Path qw(rmtree);

View File

@ -9,7 +9,6 @@ use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;
use Config;
my $node = PostgreSQL::Test::Cluster->new('primary');
$node->init(allows_streaming => 1);

View File

@ -16,7 +16,6 @@ use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;
use Config;
my $psql_timeout = IPC::Run::timer($PostgreSQL::Test::Utils::timeout_default);

View File

@ -6,7 +6,6 @@
#
use strict;
use warnings;
use Config;
use File::stat qw(stat);
use IPC::Run 'run';
use PostgreSQL::Test::Cluster;

View File

@ -9,7 +9,6 @@ use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;
use Config;
my $primary = PostgreSQL::Test::Cluster->new('primary');
$primary->init(

View File

@ -9,7 +9,6 @@ use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;
use Config;
# Initialize primary node
my $node_primary = PostgreSQL::Test::Cluster->new('primary');