forked from TrueCloudLab/rclone
sync: fix --track-renames-strategy modtime test on remotes which don't support modtime
This commit is contained in:
parent
e569977c06
commit
32df634cb6
1 changed files with 1 additions and 1 deletions
|
@ -1171,7 +1171,7 @@ func TestSyncWithTrackRenamesStrategyModtime(t *testing.T) {
|
|||
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)
|
||||
|
||||
f1 := r.WriteFile("potato", "Potato Content", t1)
|
||||
|
|
Loading…
Reference in a new issue