'When the process started by a L{SSHChannel.sendRequest} exec request
exits, the exit status is reported to the channel.'

def test_falseChannel(self):

    channel = self._ourServerOurClientTest()
    def cbChannel(channel):
        self.channel = channel
        return channel.conn.sendRequest(channel, 'exec', common.NS('false'), 1)
    channel.addCallback(cbChannel)
    def cbExec(ignored):
        return self.channel.onClose
    channel.addCallback(cbExec)
    def cbClosed(ignored):
        self.assertEqual(self.channel.received, [])
        self.assertNotEqual(self.channel.status, 0)
    channel.addCallback(cbClosed)
    return channel
