summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
Diffstat (limited to 'java')
-rwxr-xr-xjava/test/src/main/java/test/Ice/properties/run.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/java/test/src/main/java/test/Ice/properties/run.py b/java/test/src/main/java/test/Ice/properties/run.py
index 6be33f5c7ef..4656eeae3e7 100755
--- a/java/test/src/main/java/test/Ice/properties/run.py
+++ b/java/test/src/main/java/test/Ice/properties/run.py
@@ -30,7 +30,7 @@ if sys.version_info[0] == 2:
else:
configPath = "./config/\u4e2d\u56fd_client.config"
-TestUtil.createConfig(configPath,
+TestUtil.createConfig(configPath.decode("utf-8"),
["# Automatically generated by Ice test driver.",
"Ice.Trace.Protocol=1",
"Ice.Trace.Network=1",
@@ -45,5 +45,5 @@ print("ok")
clientProc.startReader()
clientProc.waitTestSuccess()
-if os.path.exists(configPath):
- os.remove(configPath)
+if os.path.exists(configPath.decode("utf-8")):
+ os.remove(configPath.decode("utf-8"))