summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/test/IceGrid/distribution/test.py2
-rw-r--r--cpp/test/IceGrid/noRestartUpdate/test.py4
-rw-r--r--cpp/test/IceGrid/session/test.py2
-rw-r--r--cpp/test/IceGrid/update/test.py4
-rw-r--r--cpp/test/Slice/unicodePaths/test.py10
5 files changed, 11 insertions, 11 deletions
diff --git a/cpp/test/IceGrid/distribution/test.py b/cpp/test/IceGrid/distribution/test.py
index 1c7d8313781..19fc6988644 100644
--- a/cpp/test/IceGrid/distribution/test.py
+++ b/cpp/test/IceGrid/distribution/test.py
@@ -27,7 +27,7 @@ class IceGridDistributionTestCase(IceGridTestCase):
]
current.write("creating IcePatch2 data directory... ")
- self.mkdirs(datadir)
+ current.mkdirs(datadir)
for [file, content] in files:
file = os.path.join(datadir, file)
diff --git a/cpp/test/IceGrid/noRestartUpdate/test.py b/cpp/test/IceGrid/noRestartUpdate/test.py
index e4b1fdbd0d8..3e2d6ae42b3 100644
--- a/cpp/test/IceGrid/noRestartUpdate/test.py
+++ b/cpp/test/IceGrid/noRestartUpdate/test.py
@@ -12,8 +12,8 @@ class IceGridNoRestartUpdateTestCase(IceGridTestCase):
def setupClientSide(self, current):
IceGridTestCase.setupClientSide(self, current)
- self.mkdirs("db/node1")
- self.mkdirs("db/node2")
+ current.mkdirs("db/node1")
+ current.mkdirs("db/node2")
clientProps = lambda process, current: {
"IceBoxExe" : IceBox().getCommandLine(current),
diff --git a/cpp/test/IceGrid/session/test.py b/cpp/test/IceGrid/session/test.py
index e119aab24eb..53ce45a63cb 100644
--- a/cpp/test/IceGrid/session/test.py
+++ b/cpp/test/IceGrid/session/test.py
@@ -12,7 +12,7 @@ class IceGridSessionTestCase(IceGridTestCase):
def setupClientSide(self, current):
IceGridTestCase.setupClientSide(self, current)
- self.mkdirs("db/node-1")
+ current.mkdirs("db/node-1")
def setupServerSide(self, current):
self.verifier = Server(exe="verifier", waitForShutdown=False, props={
diff --git a/cpp/test/IceGrid/update/test.py b/cpp/test/IceGrid/update/test.py
index 8ac439aefaf..75b1c206b44 100644
--- a/cpp/test/IceGrid/update/test.py
+++ b/cpp/test/IceGrid/update/test.py
@@ -12,8 +12,8 @@ class IceGridUpdateTestCase(IceGridTestCase):
def setupClientSide(self, current):
IceGridTestCase.setupClientSide(self, current)
- self.mkdirs("db/node-1")
- self.mkdirs("db/node-2")
+ current.mkdirs("db/node-1")
+ current.mkdirs("db/node-2")
clientProps = lambda process, current: {
"NodePropertiesOverride" : current.testcase.icegridnode[0].getPropertiesOverride(current),
diff --git a/cpp/test/Slice/unicodePaths/test.py b/cpp/test/Slice/unicodePaths/test.py
index 95923fc10c2..ad07f3b9855 100644
--- a/cpp/test/Slice/unicodePaths/test.py
+++ b/cpp/test/Slice/unicodePaths/test.py
@@ -33,11 +33,11 @@ class SliceUnicodePathsTestCase(ClientTestCase):
if os.path.exists(srcPath): shutil.rmtree(srcPath)
os.mkdir(srcPath)
- self.createFile("%s/Test.ice" % srcPath,
- ["module Test { ",
- "class Point{int x; int y; };",
- "interface Canvas{ void draw(Point p); };",
- "};"], "utf-8")
+ current.createFile("%s/Test.ice" % srcPath,
+ ["module Test { ",
+ "class Point{int x; int y; };",
+ "interface Canvas{ void draw(Point p); };",
+ "};"], "utf-8")
tests = [
("cpp", ["Test.cpp", "Test.h", "TestI.cpp", "TestI.h"], "--impl-c++11"),