spec/fake_ssh
changeset 4 3972315383b3
equal deleted inserted replaced
3:62196065e9ea 4:3972315383b3
       
     1 #!/usr/bin/env ruby
       
     2 #
       
     3 # Rather than mocking out all of spawn() and its pipes, test end-to-end.
       
     4 
       
     5 print <<-EOF
       
     6 Warning: no access to tty;
       
     7 Thus no job control in this shell.
       
     8 Hi there!
       
     9 EOF
       
    10 
       
    11 exit 0
       
    12