'If the local user has no shell, the I{exec} command runs its arguments
using I{/bin/sh}.'

def test_execWithoutShell(self):

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