summaryrefslogtreecommitdiff
path: root/cpp/test/FreezeScript/dbmap/run.py
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-07-06 04:10:07 +0000
committerMichi Henning <michi@zeroc.com>2004-07-06 04:10:07 +0000
commit65d19258f37bec2de10cb85ce850868eea18251b (patch)
tree846c4d9b304888005055412fde76cbca9beb10c3 /cpp/test/FreezeScript/dbmap/run.py
parentChanged test scripts to use unbuffered I/O so when we run the scripts from (diff)
downloadice-65d19258f37bec2de10cb85ce850868eea18251b.tar.bz2
ice-65d19258f37bec2de10cb85ce850868eea18251b.tar.xz
ice-65d19258f37bec2de10cb85ce850868eea18251b.zip
Got carried away when changing the tests to unbuffered I/O and changed more
than necessary. Changed back now :-)
Diffstat (limited to 'cpp/test/FreezeScript/dbmap/run.py')
-rwxr-xr-xcpp/test/FreezeScript/dbmap/run.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/FreezeScript/dbmap/run.py b/cpp/test/FreezeScript/dbmap/run.py
index 7dc447481ab..6ed553d5279 100755
--- a/cpp/test/FreezeScript/dbmap/run.py
+++ b/cpp/test/FreezeScript/dbmap/run.py
@@ -64,7 +64,7 @@ for oldfile in files:
command = transformdb + " --old " + os.path.join(directory, "fail", oldfile) + " --new " + os.path.join(directory, "fail", newfile) + " -o tmp.xml --key string --value " + value
- stdin, stdout, stderr = os.popen3(command, "r", 0)
+ stdin, stdout, stderr = os.popen3(command)
lines1 = stderr.readlines()
lines2 = open(os.path.join(directory, "fail", oldfile.replace("_old.ice", ".err")), "r").readlines()
if len(lines1) != len(lines2):
@@ -111,7 +111,7 @@ print "executing default transformations... ",
sys.stdout.flush()
command = transformdb + " --old " + testold + " --new " + testnew + " --key int --value ::S " + init_dbdir + " default.db " + check_dbdir
-stdin, stdout, stderr = os.popen3(command, "r", 0)
+stdin, stdout, stderr = os.popen3(command)
stderr.readlines()
print "ok"