Stop --update tests running on remotes which don't do mod time

This commit is contained in:
Nick Craig-Wood 2016-03-01 07:26:33 +00:00
parent 41eb386063
commit 229ea3f86c

View file

@ -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)