aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2023-07-03 10:46:49 -0400
committerAndrew Dunstan <andrew@dunslane.net>2023-07-03 10:49:45 -0400
commite94a9afc5f9e488ac001f3d7b20e243c20a37877 (patch)
treecff29ee7aa6eaf0b4fa957cbc1760098a42f31c3
parent088e395c8ae06047784c41b08c54d526d00517c9 (diff)
downloadpostgresql-e94a9afc5f9e488ac001f3d7b20e243c20a37877.tar.gz
postgresql-e94a9afc5f9e488ac001f3d7b20e243c20a37877.zip
Use older package name in pg_basebackup test
Commit 83ed4de20f inadvertently used the new package names. In version 14 or older, use TestLib intead of using PostgreSQL::Test::Utils
-rw-r--r--src/bin/pg_basebackup/t/010_pg_basebackup.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/t/010_pg_basebackup.pl b/src/bin/pg_basebackup/t/010_pg_basebackup.pl
index e70eac4a636..1b2eeaf7429 100644
--- a/src/bin/pg_basebackup/t/010_pg_basebackup.pl
+++ b/src/bin/pg_basebackup/t/010_pg_basebackup.pl
@@ -199,7 +199,7 @@ $node->command_fails(
# Tar format doesn't support filenames longer than 100 bytes.
# Create the test file via a short name directory so it doesn't blow the
# Windows path limit.
-my $lftmp = PostgreSQL::Test::Utils::tempdir_short;
+my $lftmp = TestLib::tempdir_short;
dir_symlink "$pgdata", "$lftmp/pgdata";
my $superlongname = "superlongname_" . ("x" x 100);
my $superlongpath = "$lftmp/pgdata/$superlongname";