Skip to content

Commit 7dac614

Browse files
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
1 parent 412ad7a commit 7dac614

File tree

26 files changed

+0
-34
lines changed

26 files changed

+0
-34
lines changed

contrib/amcheck/t/002_cic.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use strict;
66
use warnings;
77

8-
use Config;
98
use PostgreSQL::Test::Cluster;
109
use PostgreSQL::Test::Utils;
1110

contrib/amcheck/t/003_cic_2pc.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use strict;
66
use warnings;
77

8-
use Config;
98
use PostgreSQL::Test::Cluster;
109
use PostgreSQL::Test::Utils;
1110

src/bin/pg_basebackup/t/010_pg_basebackup.pl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
use strict;
55
use warnings;
6-
use Cwd;
7-
use Config;
86
use File::Basename qw(basename dirname);
97
use File::Path qw(rmtree);
108
use Fcntl qw(:seek);

src/bin/pg_checksums/t/002_actions.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
use strict;
88
use warnings;
9-
use Config;
109
use PostgreSQL::Test::Cluster;
1110
use PostgreSQL::Test::Utils;
1211

src/bin/pg_dump/t/001_basic.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use strict;
55
use warnings;
66

7-
use Config;
87
use PostgreSQL::Test::Cluster;
98
use PostgreSQL::Test::Utils;
109
use Test::More;

src/bin/pg_dump/t/002_pg_dump.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use strict;
55
use warnings;
66

7-
use Config;
87
use PostgreSQL::Test::Cluster;
98
use PostgreSQL::Test::Utils;
109
use Test::More;

src/bin/pg_test_fsync/t/001_basic.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use strict;
55
use warnings;
66

7-
use Config;
87
use PostgreSQL::Test::Utils;
98
use Test::More;
109

src/bin/pg_test_timing/t/001_basic.pl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
use strict;
55
use warnings;
66

7-
use Config;
87
use PostgreSQL::Test::Utils;
98
use Test::More;
109

src/bin/pg_verifybackup/t/002_algorithm.pl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
use strict;
77
use warnings;
8-
use Cwd;
9-
use Config;
108
use File::Path qw(rmtree);
119
use PostgreSQL::Test::Cluster;
1210
use PostgreSQL::Test::Utils;

src/bin/pg_verifybackup/t/003_corruption.pl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55

66
use strict;
77
use warnings;
8-
use Cwd;
9-
use Config;
108
use File::Path qw(rmtree);
119
use PostgreSQL::Test::Cluster;
1210
use PostgreSQL::Test::Utils;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy