rclone/cmd/bisync/testdata
nielash 978cbf9360 bisync: generate final listing from sync results, not relisting -- fixes #5676
Before this change, if there were changes to sync, bisync listed each path
twice: once before the sync and once after. The second listing caused quite
a lot of problems, in addition to making each run much slower and more
expensive. A serious side-effect was that file changes could slip through
undetected, if they happened to occur while a sync was running (between the
first and second listing snapshots.)

After this change, the second listing is eliminated by getting the underlying
sync operation to report back a list of what it changed. Not only is this more
efficient, but also much more robust to concurrent modifications. It should no
longer be necessary to avoid make changes while it's running -- bisync will
simply learn about those changes next time and handle them on the next run.
Additionally, this also makes --check-sync usable again.

For further discussion, see:
https://forum.rclone.org/t/bisync-bugs-and-feature-requests/37636#:~:text=5.%20Final%20listings%20should%20be%20created%20from%20initial%20snapshot%20%2B%20deltas%2C%20not%20full%20re%2Dscans%2C%20to%20avoid%20errors%20if%20files%20changed%20during%20sync
2024-01-20 14:50:08 -05:00
..
test_all_changed bisync: test scenarios #5164 2021-11-01 21:00:27 +03:00
test_basic bisync: test scenarios #5164 2021-11-01 21:00:27 +03:00
test_changes bisync: merge copies and deletes, support --track-renames and --backup-dir -- fixes #5690 fixes #5685 2024-01-20 14:50:08 -05:00
test_check_access bisync: test scenarios #5164 2021-11-01 21:00:27 +03:00
test_check_access_filters bisync: fix tests on macOS 2024-01-20 14:50:08 -05:00
test_check_filename bisync: enforce --check-access during --resync 2023-08-12 17:24:21 +01:00
test_check_sync bisync: test scenarios #5164 2021-11-01 21:00:27 +03:00
test_createemptysrcdirs bisync: merge copies and deletes, support --track-renames and --backup-dir -- fixes #5690 fixes #5685 2024-01-20 14:50:08 -05:00
test_dry_run bisync: merge copies and deletes, support --track-renames and --backup-dir -- fixes #5690 fixes #5685 2024-01-20 14:50:08 -05:00
test_equal bisync: equality check before renaming (leave identical files alone) 2023-08-12 17:24:21 +01:00
test_extended_char_paths bisync: test scenarios #5164 2021-11-01 21:00:27 +03:00
test_extended_filenames bisync: merge copies and deletes, support --track-renames and --backup-dir -- fixes #5690 fixes #5685 2024-01-20 14:50:08 -05:00
test_filters bisync: test scenarios #5164 2021-11-01 21:00:27 +03:00
test_filtersfile_checks bisync: dry runs no longer commit filter changes 2023-08-12 17:24:21 +01:00
test_ignorelistingchecksum bisync: generate final listing from sync results, not relisting -- fixes #5676 2024-01-20 14:50:08 -05:00
test_max_delete_path1 bisync: merge copies and deletes, support --track-renames and --backup-dir -- fixes #5690 fixes #5685 2024-01-20 14:50:08 -05:00
test_max_delete_path2_force bisync: merge copies and deletes, support --track-renames and --backup-dir -- fixes #5690 fixes #5685 2024-01-20 14:50:08 -05:00
test_rclone_args bisync: test scenarios #5164 2021-11-01 21:00:27 +03:00
test_resync bisync: test scenarios #5164 2021-11-01 21:00:27 +03:00
test_rmdirs bisync: merge copies and deletes, support --track-renames and --backup-dir -- fixes #5690 fixes #5685 2024-01-20 14:50:08 -05:00