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

     1  test all-changed
     2  # Check trap for all files changed logic
     3  #
     4  # Setup initial state
     5  # Change timestamp on all files except RCLONE_TEST
     6  # Sync should pass
     7  # Change timestamp on all files including RCLONE_TEST
     8  # Sync should fail
     9  # Sync with --force should pass
    10  
    11  test initial bisync
    12  bisync resync
    13  
    14  test change timestamp on all files except RCLONE_TEST
    15  touch-glob 2005-01-02 {path1/} file*
    16  touch-glob 2005-01-02 {path1/}subdir file*
    17  
    18  test sync should pass
    19  bisync
    20  
    21  test change timestamp on all files including RCLONE_TEST
    22  touch-glob 2004-01-02 {path1/} *
    23  touch-glob 2004-01-02 {path1/}subdir *
    24  
    25  test sync should fail
    26  bisync
    27  
    28  test sync with force should pass
    29  bisync force