'The I{exec} command is run for lines which start with C{"!"}.'

def test_bang(self):

    self.database.addUser(getpass.getuser(), 'secret', os.getuid(), 1234, 'foo', 'bar', '/bin/sh')
    d = self.client._dispatchCommand('!echo    hello')
    d.addCallback(self.assertEqual, 'hello\n')
    return d
