rclone/cmd/bisync/testdata/test_rclone_args/scenario.txt
Ivan Andreev 940e99a929 bisync: test scenarios #5164
Co-authored-by: Chris Nelson <stuff@cjnaz.com>
2021-11-01 21:00:27 +03:00

24 lines
757 B
Plaintext

test rclone-args
# Pass generic flags to rclone under test using as an example
# the --size-only flag, which changes the meaning of operations.
# Note that --size-only is honored by the rclone proper, but not bisync.
# Bisync copies the newer {path2/}file21.txt to {path1/}, but `rlcone sync`
# does not copy the newer {path1/}file20.txt to {path2/}.
test initial bisync
bisync resync
test place newer files on both paths
# force specific modification time since file time is lost through git
touch-glob 2001-01-02 {datadir/} *
copy-file {datadir/}file1.txt {path1/}
copy-file {datadir/}file2.txt {path2/}
copy-file {datadir/}file20.txt {path1/}subdir
copy-file {datadir/}file21.txt {path2/}subdir
test run bisync with custom options
bisync size-only