pgsql: pg_validatebackup: Use tempdir_short in TAP tests.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_validatebackup: Use tempdir_short in TAP tests.
Date: 2020-04-03 19:44:50
Message-ID: E1jKSFG-0005Am-VP@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_validatebackup: Use tempdir_short in TAP tests.

The buildfarm is very unhappy right now because TAP test
003_corruption.pl uses TestLib::tempdir to generate the name of
a temporary directory that is used as a tablespace name, and
this results in a 'symbolic link target too long' error message
on many of the buildfarm machines, but not on my machine.

It appears that other people have run into similar problems in
the past and that TestLib::tempdir_short was the solution, so
let's try using that instead.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/21dc48840c24e70b1b1f0f6478f3dba5343182dd

Modified Files
--------------
src/bin/pg_validatebackup/t/003_corruption.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-04-03 21:00:56 pgsql: Cosmetic improvements for code related to partitionwise join.
Previous Message Robert Haas 2020-04-03 19:32:40 pgsql: pg_validatebackup: Adjust TAP tests to placate perlcritic.