github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/cmd/bisync/testdata/test_compare_all/scenario.txt (about) 1 test changes compare-all 2 # Exercise all of the various file change scenarios 3 # - New on Path2 file10 4 # - Newer on Path2 file1 5 # - New on Path1 file11 6 # - Newer on Path1 file2 7 # - Deleted on Path2 file3 8 # - Deleted on Path1 file4 9 # - Changed on Path2 and on Path1 file5 (file5r, file5l) 10 # - Newer on Path2 and deleted on Path1 file6 11 # - Newer on Path1 and deleted on Path2 file7 12 # - Deleted on both paths file8 13 14 test initial bisync 15 bisync resync compare-all 16 17 test make modifications on both paths 18 test new on path2 - file10 19 touch-copy 2001-01-02 {datadir/}file10.txt {path2/} 20 21 test newer on path2 - file1 22 touch-copy 2001-01-02 {datadir/}file1.txt {path2/} 23 24 test new on path1 - file11 25 touch-copy 2001-01-02 {datadir/}file11.txt {path1/} 26 27 test newer on path1 - file2 28 touch-copy 2001-01-02 {datadir/}file2.txt {path1/} 29 30 test deleted on path2 - file3 31 delete-file {path2/}file3.txt 32 33 test deleted on path1 - file4 34 delete-file {path1/}file4.txt 35 36 test deleted on both paths - file8 37 delete-file {path1/}file8.txt 38 delete-file {path2/}file8.txt 39 40 test changed on both paths - file5 (file5R, file5L) 41 touch-glob 2001-01-02 {datadir/} file5R.txt 42 copy-as {datadir/}file5R.txt {path2/} file5.txt 43 touch-glob 2001-03-04 {datadir/} file5L.txt 44 copy-as {datadir/}file5L.txt {path1/} file5.txt 45 46 test newer on path2 and deleted on path1 - file6 47 touch-copy 2001-01-02 {datadir/}file6.txt {path2/} 48 delete-file {path1/}file6.txt 49 50 test newer on path1 and deleted on path2 - file7 51 touch-copy 2001-01-02 {datadir/}file7.txt {path1/} 52 delete-file {path2/}file7.txt 53 54 test bisync run 55 bisync compare-all