diff options
Diffstat (limited to 'cpp/test/FreezeScript/dbmap/run.py')
-rwxr-xr-x | cpp/test/FreezeScript/dbmap/run.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/FreezeScript/dbmap/run.py b/cpp/test/FreezeScript/dbmap/run.py index 6ed553d5279..7dc447481ab 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) + stdin, stdout, stderr = os.popen3(command, "r", 0) 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) +stdin, stdout, stderr = os.popen3(command, "r", 0) stderr.readlines() print "ok" |