Use older package name in pg_basebackup test
authorAndrew Dunstan <[email protected]>
Mon, 3 Jul 2023 14:46:49 +0000 (10:46 -0400)
committerAndrew Dunstan <[email protected]>
Mon, 3 Jul 2023 14:46:49 +0000 (10:46 -0400)
Commit 83ed4de20f inadvertently used the new package names. In version
14 or older, use TestLib intead of using PostgreSQL::Test::Utils

src/bin/pg_basebackup/t/010_pg_basebackup.pl

index 6a3b96bca2fa1ea8aefb3cc087c0e197597f3d8f..ad7564d81420c511d289d0d06979083ee7e28844 100644 (file)
@@ -205,7 +205,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";