Changeset fd28160 in trunk
- Timestamp:
- 2024-11-04T16:31:45Z (5 months ago)
- Children:
- 0c76148
- Parents:
- d55b8f1
- Location:
- src/allmydata
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/allmydata/scripts/cli.py ¶
rd55b8f1 rfd28160 446 446 ("repair", None, "Automatically repair any problems found."), 447 447 ("add-lease", None, "Add/renew lease on all shares."), 448 ("verbose", None, "Provide verbose output (unimplemented)."), 448 449 ] 449 450 def parseArgs(self, *locations): -
TabularUnified src/allmydata/test/cli/test_check.py ¶
rd55b8f1 rfd28160 152 152 d.addCallback(_check5) 153 153 154 # Testing verbose option 155 d.addCallback(lambda ign: self.do_cli("check", "--verbose", self.uri)) 156 def _check6(args): 157 (rc, out, err) = args 158 self.assertEqual(len(err), 0, err) 159 self.failUnlessReallyEqual(rc, 0) 160 lines = out.splitlines() 161 self.failUnless("Summary: Healthy" in lines, out) 162 self.failUnless(" good-shares: 10 (encoding is 3-of-10)" in lines, out) 163 d.addCallback(_check1) 164 165 154 166 return d 155 167
Note: See TracChangeset
for help on using the changeset viewer.