Changeset b6a645a in trunk
- Timestamp:
- 2015-01-30T00:50:25Z (10 years ago)
- Branches:
- master
- Children:
- 8147f3c
- Parents:
- c1d5c4f0
- git-author:
- Daira Hopwood <daira@…> (2014-10-11 22:43:23)
- git-committer:
- Daira Hopwood <daira@…> (2015-01-30 00:50:25)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/test/test_cli.py ¶
rc1d5c4f0 rb6a645a 2510 2510 return d 2511 2511 2512 def test_ticket_2027(self): 2513 # This test ensures that tahoe will copy a file from the grid to 2514 # a local directory without a specified file name. 2515 # https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2027 2516 self.basedir = "cli/Cp/cp_verbose" 2517 self.set_up_grid() 2518 2519 # Write a test file, which we'll copy to the grid. 2520 test1_path = os.path.join(self.basedir, "test1") 2521 fileutil.write(test1_path, "test1") 2522 2523 d = self.do_cli("create-alias", "tahoe") 2524 d.addCallback(lambda ign: 2525 self.do_cli("cp", test1_path, "tahoe:")) 2526 d.addCallback(lambda ign: 2527 self.do_cli("cp", "tahoe:test1", self.basedir)) 2528 def _check(res): 2529 (rc, out, err) = res 2530 self.failUnlessIn("Success: file copied", out, str(res)) 2531 return d 2532 2533 2512 2534 class Backup(GridTestMixin, CLITestMixin, StallMixin, unittest.TestCase): 2513 2535
Note: See TracChangeset
for help on using the changeset viewer.