summaryrefslogtreecommitdiff
path: root/test/LedgerHarness.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/LedgerHarness.py')
-rwxr-xr-xtest/LedgerHarness.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/LedgerHarness.py b/test/LedgerHarness.py
index 2373ea32..0b4f174d 100755
--- a/test/LedgerHarness.py
+++ b/test/LedgerHarness.py
@@ -82,8 +82,8 @@ class LedgerHarness:
if columns:
insert += ' --columns=80'
- command = re.sub('\$ledger', '%s%s %s' % \
- (self.ledger, insert, '--args-only'), command)
+ command = command.replace('$ledger', '"%s"%s %s' % \
+ (self.ledger, insert, '--args-only'))
valgrind = '/usr/bin/valgrind'
if not os.path.isfile(valgrind):