1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-26 21:23:15 +00:00

mount: skip failing test TestFileModTimeWithOpenWriters on Windows

This commit is contained in:
Nick Craig-Wood
2018-03-08 18:08:12 +00:00
parent 473a388f6d
commit 7713acf23d
2 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ package mounttest
import (
"os"
"runtime"
"testing"
"time"
@@ -36,6 +37,9 @@ func osCreate(name string) (*os.File, error) {
// TestFileModTimeWithOpenWriters tests mod time on open files
func TestFileModTimeWithOpenWriters(t *testing.T) {
run.skipIfNoFUSE(t)
if runtime.GOOS == "windows" {
t.Skip("Skipping test on Windows")
}
mtime := time.Date(2012, 11, 18, 17, 32, 31, 0, time.UTC)
filepath := run.path("cp-archive-test")