git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b30cc0f)
Remove some unused variables in TAP tests
Mon, 6 Sep 2021 00:25:45 +0000 (09:25 +0900)
Mon, 6 Sep 2021 00:25:45 +0000 (09:25 +0900)
Author: Amul Sul
Discussion: https://postgr.es/m/CAAJ_b96xuFh4JZE6p-zhLyDu7q=NbxJfb1z_yeAu6t-MqaBC+Q@mail.gmail.com


diff --git a/src/bin/pg_ctl/t/002_status.pl b/src/bin/pg_ctl/t/002_status.pl
index 56a06fafa3b1baaf4a566cca52600ac33f089f5d..c6f4fac57b65e857f6641bcaf927db4a9fdbeaf8 100644 (file)
--- 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 d1a7e1db405ba4953dfc1685650fa67b358e4730..d6731855eda3e86152b01f819e4c6d17d6cf7c9a 100644 (file)
--- 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 be1f3a5175da7aa0282dc078cdbd70c853189c09..e1b7e31458ffcfbb1b2f23565c0fdeef4c179e4d 100644 (file)
--- 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 ba994aee823b1ae7ba29b297744a83685f6b2118..a879ae28d8d7bfe7fd3927ebe4ff1367b31972a6 100644 (file)
--- 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 ea7739d72542887e1752e7a7f70955826bb94257..17c404c81f237585750d58da1534a07ebb4a0e8e 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /