mirror of
https://github.com/rclone/rclone.git
synced 2024-12-25 21:43:59 +08:00
57624629d6
Before this change, integration tests often could not be run on backends with differing features from the local system that goldenized them. In particular, differences in modtime precision, checksum support, and encoding would cause false positives. After this change, the tests more accurately account for the features of the backend being tested, which allows us to see true positives more clearly, and more meaningfully assess whether a backend is supported.
35 lines
1023 B
Plaintext
35 lines
1023 B
Plaintext
test volatile
|
|
|
|
test initial bisync
|
|
bisync resync
|
|
|
|
test changed on both paths - file5 (file5R, file5L)
|
|
touch-glob 2001-01-02 {datadir/} file5R.txt
|
|
touch-glob 2023-08-26 {datadir/} file7.txt
|
|
copy-as {datadir/}file5R.txt {path2/} file5.txt
|
|
touch-glob 2001-03-04 {datadir/} file5L.txt
|
|
copy-as {datadir/}file5L.txt {path1/} file5.txt
|
|
|
|
test bisync with 50 files created during - should ignore new files
|
|
test-func
|
|
bisync
|
|
|
|
test changed on both paths - file5 (file5R, file5L)
|
|
touch-glob 2001-01-02 {datadir/} file5R.txt
|
|
copy-as {datadir/}file5R.txt {path2/} file5.txt
|
|
touch-glob 2001-03-04 {datadir/} file5L.txt
|
|
copy-as {datadir/}file5L.txt {path1/} file5.txt
|
|
|
|
test next bisync - should now notice new files
|
|
test-func
|
|
bisync
|
|
|
|
test changed on both paths - file5 (file5R, file5L)
|
|
touch-glob 2001-01-02 {datadir/} file5R.txt
|
|
copy-as {datadir/}file5R.txt {path2/} file5.txt
|
|
touch-glob 2001-03-04 {datadir/} file5L.txt
|
|
copy-as {datadir/}file5L.txt {path1/} file5.txt
|
|
|
|
test next bisync - should be no changes except dummy
|
|
test-func
|
|
bisync |