diff --git a/src/bin/pg_basebackup/t/010_pg_basebackup.pl b/src/bin/pg_basebackup/t/010_pg_basebackup.pl index 6a3b96bca2f..ad7564d8142 100644 --- a/src/bin/pg_basebackup/t/010_pg_basebackup.pl +++ b/src/bin/pg_basebackup/t/010_pg_basebackup.pl @@ -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";