class Net::SSH::Test::Channel

def sends_exec(command, reply=true, success=true)

channel.sends_exec "ls -l"

be scripted.
is +true+, then the request will be successful, otherwise a failure will
request, otherwise no response to this request will be sent. If +success+
server. If +reply+ is true, then the server is expected to reply to the
Scripts the sending of an "exec" channel request packet to the mock
def sends_exec(command, reply=true, success=true)
  script.sends_channel_request(self, "exec", reply, command, success)
end