run-tests: avoid printing extra newlines from install log
If an installation error occurs, we print the install log. Before,
output had extra newlines because we were using "print" on data that was
already newline terminated.
--- a/tests/run-tests.py Fri Feb 06 11:27:25 2015 -0800
+++ b/tests/run-tests.py Fri Feb 06 16:15:02 2015 -0800
@@ -1870,7 +1870,7 @@
else:
f = open(installerrs, 'rb')
for line in f:
- print line
+ sys.stdout.write(line)
f.close()
sys.exit(1)
os.chdir(self._testdir)