[perl #45173] port the test to MSWin32