postgres.git / summary / log / commit / refs

commit    162c75dc2dff337f7f5ca34ed8ce602e5774791d
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Mon Jul 03 14:46:49 2023 +0000
First released in: 11.21, 12.16, 13.12, 14.9

    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


src/bin/pg_basebackup/t/010_pg_basebackup.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pg_basebackup/t/010_pg_basebackup.pl b/src/bin/pg_basebackup/t/010_pg_basebackup.pl index 09589fa1ee6..4311f6547a7 100644 --- a/src/bin/pg_basebackup/t/010_pg_basebackup.pl +++ b/src/bin/pg_basebackup/t/010_pg_basebackup.pl @@ -202,7 +202,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"; [parent: d7a186c77583]