Skip to content

Commit b64c3bd

Browse files
Remove more unused module imports from TAP tests
This is a follow-up to commit 7dac614 which removed a set of unused modules from the TAP test. The Config references in the pg_ctl and pg_rewind tests were removed in commit 1c6d462. Fcntl ':mode' and File::stat in the pg_ctl test were added in c37b3d0 which was probably a leftover from an earlier version of the patch, as the function using these was added to another module in that commit. The Config reference in the ldap test was added in ee56c3b which in turn use $^O instead of interrogating Config. Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/87lewyqk45.fsf@wibble.ilmari.org
1 parent c2d81ee commit b64c3bd

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

src/bin/pg_ctl/t/001_start_stop.pl

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@
44
use strict;
55
use warnings;
66

7-
use Config;
8-
use Fcntl ':mode';
9-
use File::stat qw{lstat};
107
use PostgreSQL::Test::Cluster;
118
use PostgreSQL::Test::Utils;
129
use Test::More;

src/bin/pg_rewind/t/RewindTest.pm

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ use strict;
3535
use warnings;
3636

3737
use Carp;
38-
use Config;
3938
use Exporter 'import';
4039
use File::Copy;
4140
use File::Path qw(rmtree);

src/test/ldap/t/001_auth.pl

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
use PostgreSQL::Test::Utils;
77
use PostgreSQL::Test::Cluster;
88
use Test::More;
9-
use Config;
109

1110

1211
my ($slapd, $ldap_bin_dir, $ldap_schema_dir);

0 commit comments

Comments
 (0)