diff options
Diffstat (limited to 'test/RegressTests.py')
-rwxr-xr-x | test/RegressTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/RegressTests.py b/test/RegressTests.py index b20c0aa6..2aefd80a 100755 --- a/test/RegressTests.py +++ b/test/RegressTests.py @@ -45,7 +45,7 @@ class RegressFile(object): def transform_line(self, line): line = line.replace('$sourcepath', harness.sourcepath) - line = line.replace('$FILE', os.path.abspath(self.filename)) + line = line.replace('$FILE', os.path.realpath(self.filename)) return line def read_test(self): @@ -117,7 +117,7 @@ class RegressFile(object): use_stdin = True else: test['command'] = (('$ledger -f "%s" ' % - os.path.abspath(self.filename)) + + os.path.realpath(self.filename)) + test['command']) p = harness.run(test['command'], |