1
mirror of https://github.com/rclone/rclone synced 2024-12-02 11:53:45 +01:00

mountlib: fix rc tests when mount does not work

This fixed the Docker 1.52 build
This commit is contained in:
Nick Craig-Wood 2020-05-28 13:11:42 +01:00
parent 1cceadaf7c
commit d785942ed5

View File

@ -78,7 +78,9 @@ func TestRc(t *testing.T) {
// mount
_, err = mount.Fn(ctx, in)
require.NoError(t, err)
if err != nil {
t.Skipf("Mount failed - skipping test: %v", err)
}
// check file.txt is there now
fi, err := os.Stat(filePath)