Index: subversion/tests/cmdline/svntest/actions.py
===================================================================
--- subversion/tests/cmdline/svntest/actions.py	(revision 37008)
+++ subversion/tests/cmdline/svntest/actions.py	(working copy)
@@ -1553,12 +1553,13 @@ script which always reports errors."""
     'sys.exit(1)')
 
 # set_prop can be used for properties with NULL characters which are not
-# handled correctly when passed to subprocess.Popen().
+# handled correctly when passed to subprocess.Popen() and values like "*"
+# which are not handled correctly on Windows.
 def set_prop(name, value, path, expected_err=None):
   """Set a property with specified value"""
-  if '\x00' in value:
+  if '\x00' in value or sys.platform == 'win32':
     from tempfile import mkstemp
-    value_file_path = mkstemp()[1]
+    value_file_path = mkstemp(dir=os.getcwd())[1]
     value_file = open(value_file_path, 'wb')
     if sys.version_info[0] >= 3:
       # Python >=3.0

