Fix tablespace path TAP test of pg_verify_checksums for msys
authorMichael Paquier <michael@paquier.xyz>
Fri, 30 Nov 2018 22:53:18 +0000 (07:53 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 30 Nov 2018 22:53:18 +0000 (07:53 +0900)
commit7d4524aed3a4720086b2914ec22f1bbbc857ac44
treef0bcda14ce82cb3a058bad75b4f175427fa0cbb7
parent9dc122585551516309c9362e673effdbf3bd79bd
Fix tablespace path TAP test of pg_verify_checksums for msys

TAP tests on msys need to run with the DTK perl, which understands msys
virtualized paths.  Postgres, however, does not understand such paths,
so before a path can be used safely with CREATE TABLESPACE, it needs to
be translated into a path on the underlying file system.

Per report from buildfarm member jacana.  Suggested fix is from Andrew
Dunstan.

Discussion: https://postgr.es/m/20181130053555.GF2267@paquier.xyz
src/bin/pg_verify_checksums/t/002_actions.pl