summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-09-06 09:25:45 +0900
committerMichael Paquier <michael@paquier.xyz>2021-09-06 09:25:45 +0900
commit5fcb23c18fe408bfc6669aa5bca2d21896f9fe90 (patch)
tree57858d46d9dab4a0beead7287aaa5ae4a2126010
parentb30cc0fd6d5d96c63037824c286cec561e092b6f (diff)
downloadpostgresql-5fcb23c18fe408bfc6669aa5bca2d21896f9fe90.tar.gz
Remove some unused variables in TAP tests
Author: Amul Sul Discussion: https://postgr.es/m/CAAJ_b96xuFh4JZE6p-zhLyDu7q=NbxJfb1z_yeAu6t-MqaBC+Q@mail.gmail.com
-rw-r--r--src/bin/pg_ctl/t/002_status.pl1
-rw-r--r--src/bin/pg_dump/t/001_basic.pl1
-rw-r--r--src/bin/pg_dump/t/002_pg_dump.pl1
-rw-r--r--src/bin/pg_dump/t/003_pg_dump_with_server.pl1
-rw-r--r--src/test/modules/test_pg_dump/t/001_base.pl1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/bin/pg_ctl/t/002_status.pl b/src/bin/pg_ctl/t/002_status.pl
index 56a06fafa3..c6f4fac57b 100644
--- a/src/bin/pg_ctl/t/002_status.pl
+++ b/src/bin/pg_ctl/t/002_status.pl
@@ -9,7 +9,6 @@ use TestLib;
use Test::More tests => 3;
my $tempdir = TestLib::tempdir;
-my $tempdir_short = TestLib::tempdir_short;
command_exit_is([ 'pg_ctl', 'status', '-D', "$tempdir/nonexistent" ],
4, 'pg_ctl status with nonexistent directory');
diff --git a/src/bin/pg_dump/t/001_basic.pl b/src/bin/pg_dump/t/001_basic.pl
index d1a7e1db40..d6731855ed 100644
--- a/src/bin/pg_dump/t/001_basic.pl
+++ b/src/bin/pg_dump/t/001_basic.pl
@@ -10,7 +10,6 @@ use TestLib;
use Test::More tests => 82;
my $tempdir = TestLib::tempdir;
-my $tempdir_short = TestLib::tempdir_short;
#########################################
# Basic checks
diff --git a/src/bin/pg_dump/t/002_pg_dump.pl b/src/bin/pg_dump/t/002_pg_dump.pl
index be1f3a5175..e1b7e31458 100644
--- a/src/bin/pg_dump/t/002_pg_dump.pl
+++ b/src/bin/pg_dump/t/002_pg_dump.pl
@@ -10,7 +10,6 @@ use TestLib;
use Test::More;
my $tempdir = TestLib::tempdir;
-my $tempdir_short = TestLib::tempdir_short;
###############################################################
# Definition of the pg_dump runs to make.
diff --git a/src/bin/pg_dump/t/003_pg_dump_with_server.pl b/src/bin/pg_dump/t/003_pg_dump_with_server.pl
index ba994aee82..a879ae28d8 100644
--- a/src/bin/pg_dump/t/003_pg_dump_with_server.pl
+++ b/src/bin/pg_dump/t/003_pg_dump_with_server.pl
@@ -9,7 +9,6 @@ use TestLib;
use Test::More tests => 3;
my $tempdir = TestLib::tempdir;
-my $tempdir_short = TestLib::tempdir_short;
my $node = PostgresNode->new('main');
my $port = $node->port;
diff --git a/src/test/modules/test_pg_dump/t/001_base.pl b/src/test/modules/test_pg_dump/t/001_base.pl
index ea7739d725..17c404c81f 100644
--- a/src/test/modules/test_pg_dump/t/001_base.pl
+++ b/src/test/modules/test_pg_dump/t/001_base.pl
@@ -10,7 +10,6 @@ use TestLib;
use Test::More;
my $tempdir = TestLib::tempdir;
-my $tempdir_short = TestLib::tempdir_short;
###############################################################
# This structure is based off of the src/bin/pg_dump/t test