Msys2 tweaks for pg_validatebackup corruption test
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 8 Apr 2020 21:50:55 +0000 (17:50 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 8 Apr 2020 21:50:55 +0000 (17:50 -0400)
commitc3e4cbaab936a17b579d85c5ff28bcb2251736d0
tree74215136ba66d70145231faea2b263f34830cabc
parentf45b8e51b6838ab820df13983c194f737be48778
Msys2 tweaks for pg_validatebackup corruption test

1. Tell Msys2 not to mangle the tablespace map parameter
2. If rmdir doesn't work, fall back to trying unlink on the entry in
   pg_tblspc.

Discussion: https://postgr.es/m/7330a7c7-ce5f-9769-39a1-bdb0b32bb4a6@2ndQuadrant.com
src/bin/pg_validatebackup/t/003_corruption.pl