move: delete source directory after successful move - fixes #1642

This commit is contained in:
ishuah
2017-11-06 19:18:13 +03:00
committed by Nick Craig-Wood
parent 8c8abfd6dc
commit c65734ee69
3 changed files with 37 additions and 2 deletions

View File

@ -824,7 +824,7 @@ func testServerSideMove(t *testing.T, r *fstest.Run, withFilter bool) {
if withFilter {
fstest.CheckItems(t, r.Fremote, file2)
} else {
fstest.CheckItems(t, r.Fremote)
fstest.CheckRootDir(t, r.Fremote, false)
}
fstest.CheckItems(t, FremoteMove, file2, file1, file3u)
@ -843,7 +843,7 @@ func testServerSideMove(t *testing.T, r *fstest.Run, withFilter bool) {
fstest.CheckItems(t, FremoteMove, file2)
} else {
fstest.CheckItems(t, FremoteMove2, file2, file1, file3u)
fstest.CheckItems(t, FremoteMove)
fstest.CheckRootDir(t, FremoteMove, false)
}
}