diff --git a/fstest/test_all/test_all.go b/fstest/test_all/test_all.go index 22c3032f4..a6703b504 100644 --- a/fstest/test_all/test_all.go +++ b/fstest/test_all/test_all.go @@ -12,6 +12,7 @@ Make TesTrun have a []string of flags to try - that then makes it generic */ import ( + "context" "flag" "log" "math/rand" @@ -22,6 +23,7 @@ import ( "time" _ "github.com/rclone/rclone/backend/all" // import all fs + "github.com/rclone/rclone/fs/config/configfile" "github.com/rclone/rclone/lib/pacer" ) @@ -70,6 +72,7 @@ func main() { log.Println("test_all should be run from the root of the rclone source code") log.Fatal(err) } + configfile.LoadConfig(context.Background()) // Seed the random number generator rand.Seed(time.Now().UTC().UnixNano())