1
0
mirror of https://github.com/minio/mc.git synced 2025-11-13 12:22:45 +03:00

quiet mode support for copy and sync

This commit is contained in:
Anand Babu (AB) Periasamy
2015-05-16 17:07:58 -07:00
committed by Harshavardhana
parent a2b8f053b0
commit b35ab2f873
4 changed files with 52 additions and 61 deletions

View File

@@ -196,18 +196,6 @@ func (ta *testAddr) String() string {
return "testAddr"
}
func (s *CmdTestSuite) TestStatusBar(c *C) {
/* TODO: Fix after finishing copyBar wrapper around progress bar.
bar := newCopyBar(globalQuietFlag)
c.Assert(bar, Not(IsNil))
c.Assert(bar.Units, Equals, pb.U_BYTES)
c.Assert(bar.RefreshRate, Equals, time.Millisecond*10)
c.Assert(bar.NotPrint, Equals, true)
c.Assert(bar.ShowSpeed, Equals, true)
*/
}
func (s *CmdTestSuite) TestIsValidRetry(c *C) {
opError := &net.OpError{
Op: "read",