diff options
author | Johann Klähn <kljohann@gmail.com> | 2013-01-17 12:07:21 +0100 |
---|---|---|
committer | Johann Klähn <kljohann@gmail.com> | 2013-01-17 12:08:20 +0100 |
commit | ea249423d4ba00236c456080fade92f49d0622af (patch) | |
tree | 5d122b7e1a1fad5822940b916206450a25205c65 /test/RegressTests.py | |
parent | 74a1f63efbb5703e417e05466aca2ae51268862e (diff) | |
download | fork-ledger-ea249423d4ba00236c456080fade92f49d0622af.tar.gz fork-ledger-ea249423d4ba00236c456080fade92f49d0622af.tar.bz2 fork-ledger-ea249423d4ba00236c456080fade92f49d0622af.zip |
allow -f /dev/stdin in test runner
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-x | test/RegressTests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py index 1094d0d5..01e14191 100755 --- a/test/RegressTests.py +++ b/test/RegressTests.py @@ -100,7 +100,7 @@ class RegressFile(object): use_stdin = False if test['command'].find("-f ") != -1: test['command'] = '$ledger ' + test['command'] - if test['command'].find("-f - ") != -1: + if re.search("-f (-|/dev/stdin)(\s|$)", test['command']): use_stdin = True else: test['command'] = (('$ledger -f "%s" ' % |