summaryrefslogtreecommitdiff
path: root/test/regress.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-20 18:15:43 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-20 18:15:43 -0400
commitb94512e4cce884ad2df4f86e0947f610468e89c2 (patch)
tree8486f97263b3d5f642fbcd5c5db9f2ac102de730 /test/regress.py
parenta13cafa2f7c105199c23cef185b5bbe2e03ec95b (diff)
downloadfork-ledger-b94512e4cce884ad2df4f86e0947f610468e89c2.tar.gz
fork-ledger-b94512e4cce884ad2df4f86e0947f610468e89c2.tar.bz2
fork-ledger-b94512e4cce884ad2df4f86e0947f610468e89c2.zip
Added several more option baseline tests
Diffstat (limited to 'test/regress.py')
-rwxr-xr-xtest/regress.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/regress.py b/test/regress.py
index 43cdef32..7035c42b 100755
--- a/test/regress.py
+++ b/test/regress.py
@@ -40,14 +40,15 @@ def test_regression(test_file):
if command.startswith("-f - "):
use_stdin = True
- command = ("%s" % ledger) + command
+ command = ("%s" % ledger) + " --args-only --columns=80 " + command
else:
tempdata = tempfile.mkstemp()
os.write(tempdata[0], string.join(data, ''))
os.close(tempdata[0])
- command = ("%s -f \"%s\" " % (ledger, tempdata[1])) + command
+ command = (("%s -f \"%s\" " % (ledger, tempdata[1])) +
+ " --args-only --columns=80 " + command)
output = []
while line != ">>>2\n":