'What happens if you issue a \'put\' command and include a wildcard (i.e.
\'*\') in parameter? Check that all files matching the wildcard are
uploaded to the correct directory.'

def testWildcardPut(self):

    def check(results):
        self.assertEqual(results[0], '')
        self.assertEqual(results[2], '')
        self.assertFilesEqual(self.testDir.child('testRemoveFile'), self.testDir.parent().child('testRemoveFile'), 'testRemoveFile    get    failed')
        self.assertFilesEqual(self.testDir.child('testRenameFile'), self.testDir.parent().child('testRenameFile'), 'testRenameFile    get    failed')
    d = self.runScript('cd    ..', ('put    %s/testR*' % (self.testDir.path,)), ('cd    %s' % self.testDir.basename()))
    d.addCallback(check)
    return d
