Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
test: fix tap output on windows
Browse files Browse the repository at this point in the history
Test output is always \n and not platform dependent
  • Loading branch information
tjfontaine authored and bnoordhuis committed Feb 28, 2013
1 parent d879042 commit d032ff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/test.py
Expand Up @@ -235,9 +235,9 @@ def HasRun(self, output):
command = basename(output.command[1])
if output.UnexpectedOutput():
print 'not ok %i - %s' % (self._done, command)
for l in output.output.stderr.split(os.linesep):
for l in output.output.stderr.splitlines():
print '#' + l
for l in output.output.stdout.split(os.linesep):
for l in output.output.stdout.splitlines():
print '#' + l
else:
print 'ok %i - %s' % (self._done, command)
Expand Down

0 comments on commit d032ff4

Please sign in to comment.