From dd7f66404556ace18e95f8b5ec285c1b19e52d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20St=C3=B6neberg?= Date: Wed, 9 Jan 2013 21:01:00 +0000 Subject: chdtest.py: corrected remaining runProcess() calls (nw) --- src/regtests/chdman/chdtest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/regtests/chdman') diff --git a/src/regtests/chdman/chdtest.py b/src/regtests/chdman/chdtest.py index 5b659015405..a5d01aae9bc 100644 --- a/src/regtests/chdman/chdtest.py +++ b/src/regtests/chdman/chdtest.py @@ -72,16 +72,16 @@ for root, dirs, files in os.walk(inputPath): if not exitcode == 0: print d + " - command failed with " + str(exitcode) + " (" + stderr + ")" failure = True - exitcode, stdout, stderr = runProcess(chdmanBin + " verify -i " + tempFile) + exitcode, stdout, stderr = runProcess([chdmanBin, "verify", "-i", tempFile]) if not exitcode == 0: print d + " - verify failed with " + str(exitcode) + " (" + stderr + ")" failure = True # TODO: store exected output of reference file as well and compare - exitcode, info1, stderr = runProcess(chdmanBin + " info -v -i " + tempFile) + exitcode, info1, stderr = runProcess([chdmanBin, "info", "-v", "-i", tempFile]) if not exitcode == 0: print d + " - info (temp) failed with " + str(exitcode) + " (" + stderr + ")" failure = True - exitcode, info2, stderr = runProcess(chdmanBin + " info -v -i " + outFile) + exitcode, info2, stderr = runProcess([chdmanBin, "info", "-v", "-i", outFile]) if not exitcode == 0: print d + " - info (output) failed with " + str(exitcode) + " (" + stderr + ")" failure = True -- cgit v1.2.3