summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2013-02-28 11:46:59 -0800
committerBen Noordhuis <info@bnoordhuis.nl>2013-02-28 23:13:05 +0100
commitd032ff495483f443a367d194a2699d4cb28f9fd6 (patch)
treefe46a52a51748e0de83be2635e9b8c205a4e5b0d
parentd87904286024f5ceb6a2d0d5f17e919c775830a0 (diff)
downloadnode-new-d032ff495483f443a367d194a2699d4cb28f9fd6.tar.gz
test: fix tap output on windows
Test output is always \n and not platform dependent
-rwxr-xr-xtools/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test.py b/tools/test.py
index e94ad24f83..a8dc89493f 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -235,9 +235,9 @@ class TapProgressIndicator(SimpleProgressIndicator):
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)