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

     1  test volatile
     2  
     3  test initial bisync
     4  bisync resync
     5  
     6  test changed on both paths - file5 (file5R, file5L)
     7  touch-glob 2001-01-02 {datadir/} file5R.txt
     8  touch-glob 2023-08-26 {datadir/} file7.txt
     9  copy-as {datadir/}file5R.txt {path2/} file5.txt
    10  touch-glob 2001-03-04 {datadir/} file5L.txt
    11  copy-as {datadir/}file5L.txt {path1/} file5.txt
    12  
    13  test bisync with 50 files created during - should ignore new files
    14  test-func
    15  bisync
    16  
    17  test changed on both paths - file5 (file5R, file5L)
    18  touch-glob 2001-01-02 {datadir/} file5R.txt
    19  copy-as {datadir/}file5R.txt {path2/} file5.txt
    20  touch-glob 2001-03-04 {datadir/} file5L.txt
    21  copy-as {datadir/}file5L.txt {path1/} file5.txt
    22  
    23  test next bisync - should now notice new files
    24  test-func
    25  bisync
    26  
    27  test changed on both paths - file5 (file5R, file5L)
    28  touch-glob 2001-01-02 {datadir/} file5R.txt
    29  copy-as {datadir/}file5R.txt {path2/} file5.txt
    30  touch-glob 2001-03-04 {datadir/} file5L.txt
    31  copy-as {datadir/}file5L.txt {path1/} file5.txt
    32  
    33  test next bisync - should be no changes except dummy
    34  test-func
    35  bisync