diff tests/test-ssh @ 6266:9f76df0edb7d

hook.py: fix redirections introduced by 323b9c55b328 The only non-obvious part is the use of sys.{__stderr__,__stdout__}, which is needed because sshserver overrides sys.stdout. This makes a test that I added back in revision 7939c71f3132 ineffective.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 14 Mar 2008 21:57:46 -0300
parents 7939c71f3132
children 4c94b6d0fb1c
line wrap: on
line diff
--- a/tests/test-ssh	Mon Feb 25 09:55:57 2008 -0500
+++ b/tests/test-ssh	Fri Mar 14 21:57:46 2008 -0300
@@ -29,7 +29,7 @@
 
 cat <<EOF > badhook
 import sys
-sys.stdout.write("KABOOM")
+sys.stdout.write("KABOOM\n")
 EOF
 
 echo "# creating 'remote'"