spec/fake_ssh
author Mahlon E. Smith <mahlon@martini.nu>
Wed, 28 May 2014 11:39:58 -0700
changeset 7 4321943b8db5
parent 4 3972315383b3
permissions -rwxr-xr-x
Be safer before TERMing pids, actually use the override options passed from the payload, if any.

#!/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