Merge branch 'fix-pr9578' into maint * fix-pr9578: tests: avoid spurious failure of 'uninstall-fail.test' on Cygwin