1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

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
This commit is contained in:
Andrew Dunstan
2023-07-03 10:46:49 -04:00
parent 088e395c8a
commit e94a9afc5f

View File

@ -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";