pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Avoid calling TestLib::perl2host on a symlinked directory 2+ messages / 1 participants [nested] [flat]
* pgsql: Avoid calling TestLib::perl2host on a symlinked directory @ 2021-07-29 16:18 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2021-07-29 16:18 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid calling TestLib::perl2host on a symlinked directory Certain versions of msys2/Windows have been observed to resolve symlinks in perl2host rather than just follow them. This defeats using a symlinked shorter path to a longer path, and makes certain tests fail. We therefore call perl2host on the parent directory of the symlink and thereafter just use that result. Apply to release 14 where the problem has been observed. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/b35a67bc04243da609843949c53e6841e748243a Modified Files -------------- src/bin/pg_basebackup/t/010_pg_basebackup.pl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Avoid calling TestLib::perl2host on a symlinked directory @ 2021-07-29 16:18 Andrew Dunstan <andrew@dunslane.net> 0 siblings, 0 replies; 2+ messages in thread From: Andrew Dunstan @ 2021-07-29 16:18 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Avoid calling TestLib::perl2host on a symlinked directory Certain versions of msys2/Windows have been observed to resolve symlinks in perl2host rather than just follow them. This defeats using a symlinked shorter path to a longer path, and makes certain tests fail. We therefore call perl2host on the parent directory of the symlink and thereafter just use that result. Apply to release 14 where the problem has been observed. Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c42d3d04d7d03782ae179bf92ea0eb9f2fa8f409 Modified Files -------------- src/bin/pg_basebackup/t/010_pg_basebackup.pl | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-07-29 16:18 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-07-29 16:18 pgsql: Avoid calling TestLib::perl2host on a symlinked directory Andrew Dunstan <andrew@dunslane.net> 2021-07-29 16:18 pgsql: Avoid calling TestLib::perl2host on a symlinked directory Andrew Dunstan <andrew@dunslane.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox