fuse: tests: create the directory before starting tests
This commit is contained in:
parent
441951a93b
commit
7cfb1bdc70
1 changed files with 5 additions and 0 deletions
|
@ -82,6 +82,11 @@ func newRun() *Run {
|
|||
log.Fatalf("Failed to open remote %q: %v", *RemoteName, err)
|
||||
}
|
||||
|
||||
err = r.fremote.Mkdir()
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to open mkdir %q: %v", *RemoteName, err)
|
||||
}
|
||||
|
||||
r.mountPath, err = ioutil.TempDir("", "rclonefs-mount")
|
||||
if err != nil {
|
||||
log.Fatalf("Failed to create mount dir: %v", err)
|
||||
|
|
Loading…
Reference in a new issue