forked from TrueCloudLab/rclone
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.
54 lines
3.1 KiB
Text
54 lines
3.1 KiB
Text
[36m(01) :[0m [34mtest equal[0m
|
|
|
|
|
|
[36m(02) :[0m [34mtest initial bisync[0m
|
|
[36m(03) :[0m [34mbisync resync[0m
|
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
|
INFO : Copying unique Path2 files to Path1
|
|
INFO : - [34mPath2[0m [35mResync is copying UNIQUE files to[0m - [36mPath1[0m
|
|
INFO : - [34mPath1[0m [35mResync is copying UNIQUE OR DIFFERING files to[0m - [36mPath2[0m
|
|
INFO : Resync updating listings
|
|
INFO : [32mBisync successful[0m
|
|
|
|
[36m(04) :[0m [34mtest changed on both paths and NOT identical - file1 (file1R, file1L)[0m
|
|
[36m(05) :[0m [34mtouch-glob 2001-01-02 {datadir/} file1R.txt[0m
|
|
[36m(06) :[0m [34mcopy-as {datadir/}file1R.txt {path2/} file1.txt[0m
|
|
[36m(07) :[0m [34mtouch-glob 2001-03-04 {datadir/} file1L.txt[0m
|
|
[36m(08) :[0m [34mcopy-as {datadir/}file1L.txt {path1/} file1.txt[0m
|
|
|
|
[36m(09) :[0m [34mtest changed on both paths and identical - file2[0m
|
|
[36m(10) :[0m [34mtouch-glob 2001-01-02 {datadir/} file2.txt[0m
|
|
[36m(11) :[0m [34mcopy-as {datadir/}file2.txt {path1/} file2.txt[0m
|
|
[36m(12) :[0m [34mcopy-as {datadir/}file2.txt {path2/} file2.txt[0m
|
|
|
|
[36m(13) :[0m [34mtest bisync run[0m
|
|
[36m(14) :[0m [34mbisync[0m
|
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
|
INFO : Building Path1 and Path2 listings
|
|
INFO : Path1 checking for diffs
|
|
INFO : - [34mPath1[0m [35mFile is newer[0m - [36mfile1.txt[0m
|
|
INFO : - [34mPath1[0m [35mFile is newer[0m - [36mfile2.txt[0m
|
|
INFO : Path1: 2 changes: 0 new, 2 newer, 0 older, 0 deleted
|
|
INFO : Path2 checking for diffs
|
|
INFO : - [34mPath2[0m [35mFile is newer[0m - [36mfile1.txt[0m
|
|
INFO : - [34mPath2[0m [35mFile is newer[0m - [36mfile2.txt[0m
|
|
INFO : Path2: 2 changes: 0 new, 2 newer, 0 older, 0 deleted
|
|
INFO : Applying changes
|
|
INFO : Checking potential conflicts...
|
|
ERROR : file1.txt: md5 differ
|
|
NOTICE: {path2String}: 1 differences found
|
|
NOTICE: {path2String}: 1 errors while checking
|
|
NOTICE: {path2String}: 1 matching files
|
|
INFO : Finished checking the potential conflicts. 1 differences found
|
|
NOTICE: - [34mWARNING[0m [35mNew or changed in both paths[0m - [36mfile1.txt[0m
|
|
NOTICE: - [34mPath1[0m [35mRenaming Path1 copy[0m - [36m{path1/}file1.txt..path1[0m
|
|
NOTICE: - [34mPath1[0m [35mQueue copy to Path2[0m - [36m{path2/}file1.txt..path1[0m
|
|
NOTICE: - [34mPath2[0m [35mRenaming Path2 copy[0m - [36m{path2/}file1.txt..path2[0m
|
|
NOTICE: - [34mPath2[0m [35mQueue copy to Path1[0m - [36m{path1/}file1.txt..path2[0m
|
|
NOTICE: - [34mWARNING[0m [35mNew or changed in both paths[0m - [36mfile2.txt[0m
|
|
INFO : Files are equal! Skipping: file2.txt
|
|
INFO : - [34mPath2[0m [35mDo queued copies to[0m - [36mPath1[0m
|
|
INFO : - [34mPath1[0m [35mDo queued copies to[0m - [36mPath2[0m
|
|
INFO : Updating listings
|
|
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
|
INFO : [32mBisync successful[0m
|