github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/cmd/bisync/testdata/test_nomodtime/scenario.txt (about)

     1  test changes
     2  # Exercise all of the various file change scenarios
     3  # - New on Path2                            file10
     4  # - changed on Path2                          file1
     5  # - New on Path1                            file11
     6  # - changed on Path1                          file2
     7  # - Deleted on Path2                        file3
     8  # - Deleted on Path1                        file4
     9  # - Changed on Path2 and on Path1           file5 (file5r, file5l)
    10  # - changed on Path2 and deleted on Path1     file6
    11  # - changed on Path1 and deleted on Path2     file7
    12  # - Deleted on both paths                   file8
    13  
    14  test initial bisync
    15  bisync resync nomodtime
    16  
    17  test make modifications on both paths
    18  test new on path2 - file10
    19  copy-file {datadir/}file10.txt {path2/}
    20  
    21  test changed on path2 - file1
    22  copy-file {datadir/}file1.txt {path2/}
    23  
    24  test new on path1 - file11
    25  copy-file {datadir/}file11.txt {path1/}
    26  
    27  test changed on path1 - file2
    28  copy-file {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  copy-as {datadir/}file5R.txt {path2/} file5.txt
    42  copy-as {datadir/}file5L.txt {path1/} file5.txt
    43  
    44  test changed on path2 and deleted on path1 - file6
    45  copy-file {datadir/}file6.txt {path2/}
    46  delete-file {path1/}file6.txt
    47  
    48  test changed on path1 and deleted on path2 - file7
    49  copy-file {datadir/}file7.txt {path1/}
    50  delete-file {path2/}file7.txt
    51  
    52  test bisync run
    53  bisync nomodtime