r19470: Move common windows test functions into their own script wintest_functions...