spec/fake_ssh
author Mahlon E. Smith <mahlon@martini.nu>
Thu, 22 May 2014 11:38:59 -0700
changeset 6 5afabb9d8a2c
parent 4 3972315383b3
permissions -rwxr-xr-x
Be more forceful with ssh children that could be hanging for various reasons.

#!/usr/bin/env ruby
#
# Rather than mocking out all of spawn() and its pipes, test end-to-end.

print <<-EOF
Warning: no access to tty;
Thus no job control in this shell.
Hi there!
EOF

exit 0