mirror of
https://github.com/rclone/rclone
synced 2024-11-25 02:47:14 +01:00
sync: fix --track-renames-strategy modtime test on remotes which don't support modtime
This commit is contained in:
parent
e569977c06
commit
32df634cb6
@ -1171,7 +1171,7 @@ func TestSyncWithTrackRenamesStrategyModtime(t *testing.T) {
|
|||||||
fs.Config.TrackRenamesStrategy = "hash"
|
fs.Config.TrackRenamesStrategy = "hash"
|
||||||
}()
|
}()
|
||||||
|
|
||||||
canTrackRenames := operations.CanServerSideMove(r.Fremote)
|
canTrackRenames := operations.CanServerSideMove(r.Fremote) && r.Fremote.Precision() != fs.ModTimeNotSupported
|
||||||
t.Logf("Can track renames: %v", canTrackRenames)
|
t.Logf("Can track renames: %v", canTrackRenames)
|
||||||
|
|
||||||
f1 := r.WriteFile("potato", "Potato Content", t1)
|
f1 := r.WriteFile("potato", "Potato Content", t1)
|
||||||
|
Loading…
Reference in New Issue
Block a user