From: Andrew Dunstan Date: Mon, 3 Jul 2023 14:46:49 +0000 (-0400) Subject: Use older package name in pg_basebackup test X-Git-Tag: REL_11_21~31 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e7f9c0974913b3e59925e8280180c4b6d906a959;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/src/bin/pg_basebackup/t/010_pg_basebackup.pl b/src/bin/pg_basebackup/t/010_pg_basebackup.pl index bc1a78cb7a4..dede83f398a 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";