summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/properties/run.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/properties/run.py')
-rwxr-xr-xcpp/test/Ice/properties/run.py23
1 files changed, 9 insertions, 14 deletions
diff --git a/cpp/test/Ice/properties/run.py b/cpp/test/Ice/properties/run.py
index 656027bafbd..831801ae440 100755
--- a/cpp/test/Ice/properties/run.py
+++ b/cpp/test/Ice/properties/run.py
@@ -27,22 +27,17 @@ client = os.path.join(os.getcwd(), "client")
# Write config
#
if sys.version_info[0] == 2:
- configPath = "./config/\xe4\xb8\xad\xe5\x9b\xbd_client.config".decode("utf-8")
- TestUtil.createConfig(configPath,
- ["# Automatically generated by Ice test driver.",
- "Ice.Trace.Protocol=1",
- "Ice.Trace.Network=1",
- "Ice.ProgramName=PropertiesClient",
- "Config.Path=./config/中国_client.config"])
+ configPath = "./config/\xe4\xb8\xad\xe5\x9b\xbd_client.config"
else:
configPath = "./config/\u4e2d\u56fd_client.config"
- TestUtil.createConfig(configPath,
- ["# Automatically generated by Ice test driver.",
- "Ice.Trace.Protocol=1",
- "Ice.Trace.Network=1",
- "Ice.ProgramName=PropertiesClient",
- "Config.Path=" + configPath],
- "utf-8")
+
+TestUtil.createConfig(configPath,
+ ["# Automatically generated by Ice test driver.",
+ "Ice.Trace.Protocol=1",
+ "Ice.Trace.Network=1",
+ "Ice.ProgramName=PropertiesClient",
+ "Config.Path=" + configPath],
+ "utf-8")
TestUtil.simpleTest(client)