spec/fake_ssh
author Mahlon E. Smith <mahlon@martini.nu>
Thu, 09 Jul 2020 15:05:21 -0700
changeset 17 5db18679edcf
parent 4 3972315383b3
permissions -rwxr-xr-x
Multiple changes. - Migrate to gem.deps.rb from .gems - Bump dependency versions - Clear environment before connecting to remote server - Allow option for environment modifications - Place commands in args, rather than via the IO pipe. (won't spawn remote shell)

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