'Test that we can create and remove directories with the cftp client.'

def testRemoteDirectory(self):

    def _check(results):
        self.assertEqual(results[0], '')
        self.assertTrue(results[1].startswith('d'))
        return self.runCommand('rmdir    testMakeDirectory')
    d = self.runScript('mkdir    testMakeDirectory', 'ls    -l    testMakeDirector?')
    d.addCallback(_check)
    d.addCallback(self.assertEqual, '')
    return d
