From 229ea3f86cd97a5abfb9eed69edd92e5e691c4ad Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Tue, 1 Mar 2016 07:26:33 +0000 Subject: [PATCH] Stop --update tests running on remotes which don't do mod time --- fs/operations_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/operations_test.go b/fs/operations_test.go index be102925d..8906379bf 100644 --- a/fs/operations_test.go +++ b/fs/operations_test.go @@ -694,6 +694,9 @@ func TestSyncWithExcludeAndDeleteExcluded(t *testing.T) { // Test with UpdateOlder set func TestSyncWithUpdateOlder(t *testing.T) { + if fs.Config.ModifyWindow == fs.ModTimeNotSupported { + t.Skip("Can't run this test on fs which doesn't support mod time") + } r := NewRun(t) defer r.Finalise() t2plus := t2.Add(time.Second / 2)