From 3e3a59768e1c56fde4c602bba18f0aa8b184448e Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 3 Aug 2017 19:54:08 +0100 Subject: [PATCH] fs/test_all: fix after fstest factorisation --- fs/test_all.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/test_all.go b/fs/test_all.go index ffcb6fadf..b4f1d8349 100644 --- a/fs/test_all.go +++ b/fs/test_all.go @@ -108,7 +108,6 @@ var ( // Flags maxTries = flag.Int("maxtries", 5, "Number of times to try each test") runTests = flag.String("remotes", "", "Comma separated list of remotes to test, eg 'TestSwift:,TestS3'") - verbose = flag.Bool("verbose", false, "Run the tests with -v") clean = flag.Bool("clean", false, "Instead of testing, clean all left over test directories") runOnly = flag.String("run-only", "", "Run only those tests matching the regexp supplied") ) @@ -134,7 +133,7 @@ func newTest(remote string, subdir bool, fastlist bool) *test { cmdLine: []string{"./" + binary, "-remote", remote}, try: 1, } - if *verbose { + if *fstest.Verbose { t.cmdLine = append(t.cmdLine, "-test.v") fs.Config.LogLevel = fs.LogLevelDebug }