Attached is v3 rebased on master at 8e82d6610e7. It retains the $!
detail you requested in v2 and creates the directory through the short
side of the Windows junction. There are no further test-logic changes.
Full ARM64 and x64 builds passed. The refreshed pg_basebackup suite
passed all 151 subtests on both native ARM64 and x64 under ARM64
emulation. Both runs emitted directory-cleanup warnings but passed all
assertions.
Could you take another look when you have a chance?
A separate GitHub-hosted Windows x64 build and all nine test groups
passed with all three patches applied. The pg_basebackup suite passed
all 152 subtests on the GitHub Windows x64 runner.
Best,
Harrison