trunk/src/regtests/chdman/chdtest.py
| r20164 | r20165 | |
| 72 | 72 | if not exitcode == 0: |
| 73 | 73 | print d + " - command failed with " + str(exitcode) + " (" + stderr + ")" |
| 74 | 74 | failure = True |
| 75 | | exitcode, stdout, stderr = runProcess(chdmanBin + " verify -i " + tempFile) |
| 75 | exitcode, stdout, stderr = runProcess([chdmanBin, "verify", "-i", tempFile]) |
| 76 | 76 | if not exitcode == 0: |
| 77 | 77 | print d + " - verify failed with " + str(exitcode) + " (" + stderr + ")" |
| 78 | 78 | failure = True |
| 79 | 79 | # TODO: store exected output of reference file as well and compare |
| 80 | | exitcode, info1, stderr = runProcess(chdmanBin + " info -v -i " + tempFile) |
| 80 | exitcode, info1, stderr = runProcess([chdmanBin, "info", "-v", "-i", tempFile]) |
| 81 | 81 | if not exitcode == 0: |
| 82 | 82 | print d + " - info (temp) failed with " + str(exitcode) + " (" + stderr + ")" |
| 83 | 83 | failure = True |
| 84 | | exitcode, info2, stderr = runProcess(chdmanBin + " info -v -i " + outFile) |
| 84 | exitcode, info2, stderr = runProcess([chdmanBin, "info", "-v", "-i", outFile]) |
| 85 | 85 | if not exitcode == 0: |
| 86 | 86 | print d + " - info (output) failed with " + str(exitcode) + " (" + stderr + ")" |
| 87 | 87 | failure = True |