1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-03 09:03:50 +00:00

mount: delay rename if file has open writers instead of failing outright - fixes #2130 (#2249)

This commit is contained in:
Stefan
2018-05-24 20:45:11 +02:00
committed by GitHub
parent d4213c0ac5
commit 67e9ef4547
4 changed files with 154 additions and 41 deletions

View File

@@ -52,6 +52,8 @@ func RunTests(t *testing.T, fn MountFn) {
run.cacheMode(cacheMode)
log.Printf("Starting test run with cache mode %v", cacheMode)
ok := t.Run(fmt.Sprintf("CacheMode=%v", cacheMode), func(t *testing.T) {
t.Run("TestTouchAndDelete", TestTouchAndDelete)
t.Run("TestRenameOpenHandle", TestRenameOpenHandle)
t.Run("TestDirLs", TestDirLs)
t.Run("TestDirCreateAndRemoveDir", TestDirCreateAndRemoveDir)
t.Run("TestDirCreateAndRemoveFile", TestDirCreateAndRemoveFile)