mirror of
https://github.com/rclone/rclone.git
synced 2025-12-16 00:04:40 +00:00
bisync: add to integration tests - fixes #7665
This change officially adds bisync to the nightly integration tests for all backends. This will be part of giving us the confidence to take bisync out of beta. A number of fixes have been added to account for features which can differ on different backends -- for example, hash types / modtime support, empty directories, unicode normalization, and unimportant differences in log output. We will likely find that more of these are needed once we start running these with the full set of remotes. Additionally, bisync's extremely sensitive tests revealed a few bugs in other backends that weren't previously covered by other tests. Fixes for those issues have been submitted on the following separate PRs (and bisync test failures will be expected until they are merged): - #7670 memory: fix deadlock in operations.Purge - #7688 memory: fix incorrect list entries when rooted at subdirectory - #7690 memory: fix dst mutating src after server-side copy - #7692 dropbox: fix chunked uploads when size <= chunkSize Relatedly, workarounds have been put in place for the following backend limitations that are unsolvable for the time being: - #3262 drive is sometimes aware of trashed files/folders when it shouldn't be - #6199 dropbox can't handle emojis and certain other characters - #4590 onedrive API has longstanding bug for conflictBehavior=replace in server-side copy/move
This commit is contained in:
58542
cmd/bisync/testdata/bisync_vscode_debuggers_launch.json
vendored
Normal file
58542
cmd/bisync/testdata/bisync_vscode_debuggers_launch.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -94,7 +94,7 @@ INFO : Path2: 7 changes: [32m 1 new[0m, [33m 3 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 3 newer[0m, [34m 0 older[0m, [36m 3 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file5.txt: md5 differ
|
||||
ERROR : file5.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
|
||||
@@ -94,7 +94,7 @@ INFO : Path2: 7 changes: [32m 1 new[0m, [33m 3 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 3 newer[0m, [34m 0 older[0m, [36m 3 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file5.txt: md5 differ
|
||||
ERROR : file5.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
[36m(02) :[0m [34mtest EXCLUDE - OTHER TESTS[0m
|
||||
[36m(03) :[0m [34mcopy-file {datadir/}exclude-other-filtersfile.txt {workdir/}[0m
|
||||
|
||||
[36m(04) :[0m [34mtest resync to get the filters file md5 built.[0m
|
||||
[36m(04) :[0m [34mtest resync to get the filters file {hashtype} built.[0m
|
||||
[36m(05) :[0m [34mbisync resync filters-file={workdir/}exclude-other-filtersfile.txt[0m
|
||||
INFO : [2mSetting --ignore-listing-checksum as neither --checksum nor --compare checksum are set.[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
@@ -18,7 +18,7 @@ INFO : Bisyncing with Comparison Settings:
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Using filters file {workdir/}exclude-other-filtersfile.txt
|
||||
INFO : Storing filters file hash to {workdir/}exclude-other-filtersfile.txt.md5
|
||||
INFO : Storing filters file hash to {workdir/}exclude-other-filtersfile.txt.{hashtype}
|
||||
INFO : Copying Path2 files to Path1
|
||||
INFO : - [34mPath2[0m [35mResync is copying files to[0m - [36mPath1[0m
|
||||
INFO : - [36mPath1[0m [35mResync is copying files to[0m - [36mPath2[0m
|
||||
@@ -133,7 +133,7 @@ INFO : Bisyncing with Comparison Settings:
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Using filters file {workdir/}include-other-filtersfile.txt
|
||||
INFO : Storing filters file hash to {workdir/}include-other-filtersfile.txt.md5
|
||||
INFO : Storing filters file hash to {workdir/}include-other-filtersfile.txt.{hashtype}
|
||||
INFO : Copying Path2 files to Path1
|
||||
INFO : - [34mPath2[0m [35mResync is copying files to[0m - [36mPath1[0m
|
||||
INFO : - [36mPath1[0m [35mResync is copying files to[0m - [36mPath2[0m
|
||||
|
||||
@@ -116,7 +116,7 @@ INFO : Path2: 6 changes: [32m 1 new[0m, [33m 3 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 3 newer[0m, [34m 0 older[0m, [36m 3 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file5.txt: md5 differ
|
||||
ERROR : file5.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
@@ -181,7 +181,7 @@ INFO : Path2: 6 changes: [32m 1 new[0m, [33m 3 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 3 newer[0m, [34m 0 older[0m, [36m 3 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file5.txt: md5 differ
|
||||
ERROR : file5.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
|
||||
@@ -58,7 +58,7 @@ INFO : Path2: 2 changes: [32m 0 new[0m, [33m 2 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 2 newer[0m, [34m 0 older[0m, [36m 2 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file1.txt: md5 differ
|
||||
ERROR : file1.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
NOTICE: {path2String}: 1 matching files
|
||||
|
||||
@@ -171,7 +171,7 @@ INFO : Bisyncing with Comparison Settings:
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Using filters file {workdir/}測試_filtersfile.txt
|
||||
INFO : Storing filters file hash to {workdir/}測試_filtersfile.txt.md5
|
||||
INFO : Storing filters file hash to {workdir/}測試_filtersfile.txt.{hashtype}
|
||||
INFO : Copying Path2 files to Path1
|
||||
INFO : - [34mPath2[0m [35mResync is copying files to[0m - [36mPath1[0m
|
||||
INFO : - [36mPath1[0m [35mResync is copying files to[0m - [36mPath2[0m
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
[36m(02) :[0m [34mcopy-file {datadir/}filtersfile.flt {workdir/}[0m
|
||||
|
||||
[36m(03) :[0m [34mtest resync to force building of the filters md5 hash[0m
|
||||
[36m(03) :[0m [34mtest resync to force building of the filters {hashtype} hash[0m
|
||||
[36m(04) :[0m [34mbisync filters-file={workdir/}filtersfile.flt resync[0m
|
||||
INFO : [2mSetting --ignore-listing-checksum as neither --checksum nor --compare checksum are set.[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
@@ -17,7 +17,7 @@ INFO : Bisyncing with Comparison Settings:
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Using filters file {workdir/}filtersfile.flt
|
||||
INFO : Storing filters file hash to {workdir/}filtersfile.flt.md5
|
||||
INFO : Storing filters file hash to {workdir/}filtersfile.flt.{hashtype}
|
||||
INFO : Copying Path2 files to Path1
|
||||
INFO : - [34mPath2[0m [35mResync is copying files to[0m - [36mPath1[0m
|
||||
INFO : - [36mPath1[0m [35mResync is copying files to[0m - [36mPath2[0m
|
||||
|
||||
@@ -24,7 +24,7 @@ INFO : [32mBisync successful[0m
|
||||
[36m(04) :[0m [34mtest 1. inject filters file in workdir.[0m
|
||||
[36m(05) :[0m [34mcopy-file {datadir/}filtersfile.txt {workdir/}[0m
|
||||
|
||||
[36m(06) :[0m [34mtest 2. run with filters-file but without md5. should abort.[0m
|
||||
[36m(06) :[0m [34mtest 2. run with filters-file but without {hashtype}. should abort.[0m
|
||||
[36m(07) :[0m [34mbisync filters-file={workdir/}filtersfile.txt[0m
|
||||
INFO : [2mSetting --ignore-listing-checksum as neither --checksum nor --compare checksum are set.[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
@@ -38,7 +38,7 @@ INFO : Bisyncing with Comparison Settings:
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Using filters file {workdir/}filtersfile.txt
|
||||
ERROR : [31mBisync critical error: filters file md5 hash not found (must run --resync): {workdir/}filtersfile.txt[0m
|
||||
ERROR : [31mBisync critical error: filters file {hashtype} hash not found (must run --resync): {workdir/}filtersfile.txt[0m
|
||||
ERROR : [31mBisync aborted. Must run --resync to recover.[0m
|
||||
Bisync error: bisync aborted
|
||||
|
||||
@@ -78,7 +78,7 @@ INFO : Bisyncing with Comparison Settings:
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Using filters file {workdir/}filtersfile.txt
|
||||
INFO : Storing filters file hash to {workdir/}filtersfile.txt.md5
|
||||
INFO : Storing filters file hash to {workdir/}filtersfile.txt.{hashtype}
|
||||
INFO : Copying Path2 files to Path1
|
||||
INFO : - [34mPath2[0m [35mResync is copying files to[0m - [36mPath1[0m
|
||||
INFO : - [36mPath1[0m [35mResync is copying files to[0m - [36mPath2[0m
|
||||
@@ -143,7 +143,7 @@ INFO : Bisyncing with Comparison Settings:
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Using filters file {workdir/}filtersfile.txt
|
||||
INFO : Skipped storing filters file hash to {workdir/}filtersfile.txt.md5 as --dry-run is set
|
||||
INFO : Skipped storing filters file hash to {workdir/}filtersfile.txt.{hashtype} as --dry-run is set
|
||||
INFO : Copying Path2 files to Path1
|
||||
NOTICE: - [34mPath2[0m [35mResync is copying files to[0m - [36mPath1[0m
|
||||
NOTICE: - [36mPath1[0m [35mResync is copying files to[0m - [36mPath2[0m
|
||||
|
||||
5
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.copy1to2.que
vendored
Normal file
5
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.copy1to2.que
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"file11.txt"
|
||||
"file2.txt"
|
||||
"file4.txt"
|
||||
"file5.txt.conflict1"
|
||||
"file7.txt"
|
||||
5
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.copy2to1.que
vendored
Normal file
5
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.copy2to1.que
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
"file1.txt"
|
||||
"file10.txt"
|
||||
"file3.txt"
|
||||
"file5.txt.conflict2"
|
||||
"file6.txt"
|
||||
1
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.delete1.que
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.delete1.que
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"file3.txt"
|
||||
1
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.delete2.que
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.delete2.que
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"file4.txt"
|
||||
10
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
10
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# bisync listing v1 from test
|
||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 0001-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file10.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file11.txt"
|
||||
- 13 md5:fb3ecfb2800400fb01b0bfd39903e9fb - 0001-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||
- 39 md5:0860a03592626642f8fd6c8bfb447d2a - 0001-01-01T00:00:00.000000000+0000 "file5.txt.conflict1"
|
||||
- 39 md5:979a803b15d27df0c31ad7d29006d10b - 0001-01-01T00:00:00.000000000+0000 "file5.txt.conflict2"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file6.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file7.txt"
|
||||
8
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
8
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# bisync listing v1 from test
|
||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 0001-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file11.txt"
|
||||
- 13 md5:fb3ecfb2800400fb01b0bfd39903e9fb - 0001-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||
- 39 md5:0860a03592626642f8fd6c8bfb447d2a - 0001-01-01T00:00:00.000000000+0000 "file5.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file7.txt"
|
||||
10
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path1.lst-old
vendored
Normal file
10
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path1.lst-old
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# bisync listing v1 from test
|
||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 0001-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file5.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file6.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file7.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file8.txt"
|
||||
10
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
10
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# bisync listing v1 from test
|
||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 0001-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file10.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file11.txt"
|
||||
- 13 md5:fb3ecfb2800400fb01b0bfd39903e9fb - 0001-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||
- 39 md5:0860a03592626642f8fd6c8bfb447d2a - 0001-01-01T00:00:00.000000000+0000 "file5.txt.conflict1"
|
||||
- 39 md5:979a803b15d27df0c31ad7d29006d10b - 0001-01-01T00:00:00.000000000+0000 "file5.txt.conflict2"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file6.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file7.txt"
|
||||
8
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
8
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# bisync listing v1 from test
|
||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 0001-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file10.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||
- 39 md5:979a803b15d27df0c31ad7d29006d10b - 0001-01-01T00:00:00.000000000+0000 "file5.txt"
|
||||
- 19 md5:7fe98ed88552b828777d8630900346b8 - 0001-01-01T00:00:00.000000000+0000 "file6.txt"
|
||||
10
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path2.lst-old
vendored
Normal file
10
cmd/bisync/testdata/test_nomodtime/golden/_testdir_path1.._testdir_path2.path2.lst-old
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
# bisync listing v1 from test
|
||||
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 0001-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file5.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file6.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file7.txt"
|
||||
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 0001-01-01T00:00:00.000000000+0000 "file8.txt"
|
||||
109
cmd/bisync/testdata/test_nomodtime/golden/test.log
vendored
Normal file
109
cmd/bisync/testdata/test_nomodtime/golden/test.log
vendored
Normal file
@@ -0,0 +1,109 @@
|
||||
[36m(01) :[0m [34mtest changes[0m
|
||||
|
||||
|
||||
[36m(02) :[0m [34mtest initial bisync[0m
|
||||
[36m(03) :[0m [34mbisync resync nomodtime[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
"Modtime": false,
|
||||
"Size": true,
|
||||
"Checksum": true,
|
||||
"NoSlowHash": false,
|
||||
"SlowHashSyncOnly": false,
|
||||
"DownloadHash": true
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Copying Path2 files to Path1
|
||||
INFO : - [34mPath2[0m [35mResync is copying files to[0m - [36mPath1[0m
|
||||
INFO : - [36mPath1[0m [35mResync is copying files to[0m - [36mPath2[0m
|
||||
INFO : Resync updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
INFO : [32mBisync successful[0m
|
||||
|
||||
[36m(04) :[0m [34mtest make modifications on both paths[0m
|
||||
[36m(05) :[0m [34mtest new on path2 - file10[0m
|
||||
[36m(06) :[0m [34mcopy-file {datadir/}file10.txt {path2/}[0m
|
||||
|
||||
[36m(07) :[0m [34mtest changed on path2 - file1[0m
|
||||
[36m(08) :[0m [34mcopy-file {datadir/}file1.txt {path2/}[0m
|
||||
|
||||
[36m(09) :[0m [34mtest new on path1 - file11[0m
|
||||
[36m(10) :[0m [34mcopy-file {datadir/}file11.txt {path1/}[0m
|
||||
|
||||
[36m(11) :[0m [34mtest changed on path1 - file2[0m
|
||||
[36m(12) :[0m [34mcopy-file {datadir/}file2.txt {path1/}[0m
|
||||
|
||||
[36m(13) :[0m [34mtest deleted on path2 - file3[0m
|
||||
[36m(14) :[0m [34mdelete-file {path2/}file3.txt[0m
|
||||
|
||||
[36m(15) :[0m [34mtest deleted on path1 - file4[0m
|
||||
[36m(16) :[0m [34mdelete-file {path1/}file4.txt[0m
|
||||
|
||||
[36m(17) :[0m [34mtest deleted on both paths - file8[0m
|
||||
[36m(18) :[0m [34mdelete-file {path1/}file8.txt[0m
|
||||
[36m(19) :[0m [34mdelete-file {path2/}file8.txt[0m
|
||||
|
||||
[36m(20) :[0m [34mtest changed on both paths - file5 (file5R, file5L)[0m
|
||||
[36m(21) :[0m [34mcopy-as {datadir/}file5R.txt {path2/} file5.txt[0m
|
||||
[36m(22) :[0m [34mcopy-as {datadir/}file5L.txt {path1/} file5.txt[0m
|
||||
|
||||
[36m(23) :[0m [34mtest changed on path2 and deleted on path1 - file6[0m
|
||||
[36m(24) :[0m [34mcopy-file {datadir/}file6.txt {path2/}[0m
|
||||
[36m(25) :[0m [34mdelete-file {path1/}file6.txt[0m
|
||||
|
||||
[36m(26) :[0m [34mtest changed on path1 and deleted on path2 - file7[0m
|
||||
[36m(27) :[0m [34mcopy-file {datadir/}file7.txt {path1/}[0m
|
||||
[36m(28) :[0m [34mdelete-file {path2/}file7.txt[0m
|
||||
|
||||
[36m(29) :[0m [34mtest bisync run[0m
|
||||
[36m(30) :[0m [34mbisync nomodtime[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
"Modtime": false,
|
||||
"Size": true,
|
||||
"Checksum": true,
|
||||
"NoSlowHash": false,
|
||||
"SlowHashSyncOnly": false,
|
||||
"DownloadHash": true
|
||||
}
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Building Path1 and Path2 listings
|
||||
INFO : Path1 checking for diffs
|
||||
INFO : - [36mPath1[0m [35m[33mFile changed: [35msize (larger)[0m, [35mhash[0m[0m[0m - [36mfile2.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[31mFile was deleted[0m[0m - [36mfile4.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[33mFile changed: [35msize (larger)[0m, [35mhash[0m[0m[0m - [36mfile5.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[31mFile was deleted[0m[0m - [36mfile6.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[33mFile changed: [35msize (larger)[0m, [35mhash[0m[0m[0m - [36mfile7.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[31mFile was deleted[0m[0m - [36mfile8.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mFile is new[0m[0m - [36mfile11.txt[0m
|
||||
INFO : Path1: 7 changes: [32m 1 new[0m, [33m 3 modified[0m, [31m 3 deleted[0m
|
||||
INFO : ([33mModified[0m: [36m 3 larger[0m, [34m 0 smaller[0m, [36m 3 hash differs[0m)
|
||||
INFO : Path2 checking for diffs
|
||||
INFO : - [34mPath2[0m [35m[33mFile changed: [35msize (larger)[0m, [35mhash[0m[0m[0m - [36mfile1.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[31mFile was deleted[0m[0m - [36mfile3.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[33mFile changed: [35msize (larger)[0m, [35mhash[0m[0m[0m - [36mfile5.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[33mFile changed: [35msize (larger)[0m, [35mhash[0m[0m[0m - [36mfile6.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[31mFile was deleted[0m[0m - [36mfile7.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[31mFile was deleted[0m[0m - [36mfile8.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mfile10.txt[0m
|
||||
INFO : Path2: 7 changes: [32m 1 new[0m, [33m 3 modified[0m, [31m 3 deleted[0m
|
||||
INFO : ([33mModified[0m: [36m 3 larger[0m, [34m 0 smaller[0m, [36m 3 hash differs[0m)
|
||||
INFO : Applying changes
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}file11.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}file2.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[31mQueue delete[0m[0m - [36m{path2/}file4.txt[0m
|
||||
NOTICE: - [34mWARNING[0m [35mNew or changed in both paths[0m - [36mfile5.txt[0m
|
||||
NOTICE: - [36mPath1[0m [35mRenaming Path1 copy[0m - [36m{path1/}file5.txt.conflict1[0m
|
||||
NOTICE: - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}file5.txt.conflict1[0m
|
||||
NOTICE: - [34mPath2[0m [35mRenaming Path2 copy[0m - [36m{path2/}file5.txt.conflict2[0m
|
||||
NOTICE: - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}file5.txt.conflict2[0m
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}file6.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}file7.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}file1.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}file10.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[31mQueue delete[0m[0m - [36m{path1/}file3.txt[0m
|
||||
INFO : - [34mPath2[0m [35mDo queued copies to[0m - [36mPath1[0m
|
||||
INFO : - [36mPath1[0m [35mDo queued copies to[0m - [36mPath2[0m
|
||||
INFO : Updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
INFO : [32mBisync successful[0m
|
||||
1
cmd/bisync/testdata/test_nomodtime/initial/RCLONE_TEST
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/initial/RCLONE_TEST
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This file is used for testing the health of rclone accesses to the local/remote file system. Do not delete.
|
||||
0
cmd/bisync/testdata/test_nomodtime/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file5.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file5.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file6.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file6.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file7.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file7.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file8.txt
vendored
Normal file
0
cmd/bisync/testdata/test_nomodtime/initial/file8.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file1.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file1.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This file is newer
|
||||
1
cmd/bisync/testdata/test_nomodtime/modfiles/file10.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file10.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This file is newer
|
||||
1
cmd/bisync/testdata/test_nomodtime/modfiles/file11.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file11.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This file is newer
|
||||
1
cmd/bisync/testdata/test_nomodtime/modfiles/file2.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file2.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Newer version
|
||||
1
cmd/bisync/testdata/test_nomodtime/modfiles/file5L.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file5L.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This file is newer and not equal to 5R
|
||||
1
cmd/bisync/testdata/test_nomodtime/modfiles/file5R.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file5R.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This file is newer and not equal to 5L
|
||||
1
cmd/bisync/testdata/test_nomodtime/modfiles/file6.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file6.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This file is newer
|
||||
1
cmd/bisync/testdata/test_nomodtime/modfiles/file7.txt
vendored
Normal file
1
cmd/bisync/testdata/test_nomodtime/modfiles/file7.txt
vendored
Normal file
@@ -0,0 +1 @@
|
||||
This file is newer
|
||||
53
cmd/bisync/testdata/test_nomodtime/scenario.txt
vendored
Normal file
53
cmd/bisync/testdata/test_nomodtime/scenario.txt
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
test changes
|
||||
# Exercise all of the various file change scenarios
|
||||
# - New on Path2 file10
|
||||
# - changed on Path2 file1
|
||||
# - New on Path1 file11
|
||||
# - changed on Path1 file2
|
||||
# - Deleted on Path2 file3
|
||||
# - Deleted on Path1 file4
|
||||
# - Changed on Path2 and on Path1 file5 (file5r, file5l)
|
||||
# - changed on Path2 and deleted on Path1 file6
|
||||
# - changed on Path1 and deleted on Path2 file7
|
||||
# - Deleted on both paths file8
|
||||
|
||||
test initial bisync
|
||||
bisync resync nomodtime
|
||||
|
||||
test make modifications on both paths
|
||||
test new on path2 - file10
|
||||
copy-file {datadir/}file10.txt {path2/}
|
||||
|
||||
test changed on path2 - file1
|
||||
copy-file {datadir/}file1.txt {path2/}
|
||||
|
||||
test new on path1 - file11
|
||||
copy-file {datadir/}file11.txt {path1/}
|
||||
|
||||
test changed on path1 - file2
|
||||
copy-file {datadir/}file2.txt {path1/}
|
||||
|
||||
test deleted on path2 - file3
|
||||
delete-file {path2/}file3.txt
|
||||
|
||||
test deleted on path1 - file4
|
||||
delete-file {path1/}file4.txt
|
||||
|
||||
test deleted on both paths - file8
|
||||
delete-file {path1/}file8.txt
|
||||
delete-file {path2/}file8.txt
|
||||
|
||||
test changed on both paths - file5 (file5R, file5L)
|
||||
copy-as {datadir/}file5R.txt {path2/} file5.txt
|
||||
copy-as {datadir/}file5L.txt {path1/} file5.txt
|
||||
|
||||
test changed on path2 and deleted on path1 - file6
|
||||
copy-file {datadir/}file6.txt {path2/}
|
||||
delete-file {path1/}file6.txt
|
||||
|
||||
test changed on path1 and deleted on path2 - file7
|
||||
copy-file {datadir/}file7.txt {path1/}
|
||||
delete-file {path2/}file7.txt
|
||||
|
||||
test bisync run
|
||||
bisync nomodtime
|
||||
@@ -1,3 +1,3 @@
|
||||
"folder/HeLlO,wOrLd!.txt"
|
||||
"folder/éééö.txt"
|
||||
"newfolder/HeLlO,wOrLd!.txt"
|
||||
"newfolder/éééö.txt"
|
||||
"測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file3.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/HeLlO,wOrLd!.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "newfolder/HeLlO,wOrLd!.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "newfolder/éééö.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file3.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/HeLlO,wOrLd!.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "newfolder/HeLlO,wOrLd!.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "newfolder/éééö.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file3.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/HeLlO,wOrLd!.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "newfolder/HeLlO,wOrLd!.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "newfolder/éééö.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file3.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/hello,WORLD!.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "newfolder/hello,WORLD!.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "newfolder/éééö.txt"
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
- 19 - - 2001-01-05T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file3.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/hello,WORLD!.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "newfolder/hello,WORLD!.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "newfolder/éééö.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"
|
||||
|
||||
@@ -2,6 +2,6 @@
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "file1.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "file3.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/hello,WORLD!.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "folder/éééö.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "newfolder/hello,WORLD!.txt"
|
||||
- 19 - - 2001-01-03T00:00:00.000000000+0000 "newfolder/éééö.txt"
|
||||
- 19 - - 2001-01-02T00:00:00.000000000+0000 "測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"
|
||||
|
||||
@@ -103,13 +103,13 @@ INFO : [32mBisync successful[0m
|
||||
|
||||
|
||||
[36m(19) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö 測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö.txt[0m
|
||||
[36m(20) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}folder éééö.txt[0m
|
||||
[36m(21) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}folder HeLlO,wOrLd!.txt[0m
|
||||
[36m(20) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}newfolder éééö.txt[0m
|
||||
[36m(21) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}newfolder HeLlO,wOrLd!.txt[0m
|
||||
|
||||
|
||||
[36m(22) :[0m [34mtouch-copy 2001-01-03 {datadir/}file1.txt {path2/}[0m
|
||||
[36m(23) :[0m [34mcopy-as-NFD {datadir/}file1.txt {path2/}folder éééö.txt[0m
|
||||
[36m(24) :[0m [34mcopy-as-NFD {datadir/}file1.txt {path2/}folder hello,WORLD!.txt[0m
|
||||
[36m(23) :[0m [34mcopy-as-NFD {datadir/}file1.txt {path2/}newfolder éééö.txt[0m
|
||||
[36m(24) :[0m [34mcopy-as-NFD {datadir/}file1.txt {path2/}newfolder hello,WORLD!.txt[0m
|
||||
|
||||
[36m(25) :[0m [34mtest bisync run with normalization[0m
|
||||
[36m(26) :[0m [34mbisync norm force[0m
|
||||
@@ -126,14 +126,14 @@ INFO : Bisyncing with Comparison Settings:
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Building Path1 and Path2 listings
|
||||
INFO : Path1 checking for diffs
|
||||
INFO : - [36mPath1[0m [35m[32mFile is new[0m[0m - [36mfolder/HeLlO,wOrLd!.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mFile is new[0m[0m - [36mfolder/éééö.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mFile is new[0m[0m - [36mnewfolder/HeLlO,wOrLd!.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mFile is new[0m[0m - [36mnewfolder/éééö.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mFile is new[0m[0m - [36m"測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"[0m
|
||||
INFO : Path1: 3 changes: [32m 3 new[0m, [33m 0 modified[0m, [31m 0 deleted[0m
|
||||
INFO : Path2 checking for diffs
|
||||
INFO : - [34mPath2[0m [35m[33mFile changed: [35mtime (newer)[0m[0m[0m - [36mfile1.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mfolder/éééö.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mfolder/hello,WORLD!.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mnewfolder/éééö.txt[0m
|
||||
INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mnewfolder/hello,WORLD!.txt[0m
|
||||
INFO : Path2: 3 changes: [32m 2 new[0m, [33m 1 modified[0m, [31m 0 deleted[0m
|
||||
INFO : ([33mModified[0m: [36m 1 newer[0m, [34m 0 older[0m)
|
||||
INFO : Applying changes
|
||||
@@ -141,12 +141,12 @@ INFO : Checking potential conflicts...
|
||||
NOTICE: {path2String}: 0 differences found
|
||||
NOTICE: {path2String}: 2 matching files
|
||||
INFO : Finished checking the potential conflicts. %!s(<nil>)
|
||||
NOTICE: - [34mWARNING[0m [35mNew or changed in both paths[0m - [36mfolder/HeLlO,wOrLd!.txt[0m
|
||||
INFO : folder/HeLlO,wOrLd!.txt: Files are equal but will copy anyway to update modtime (will not rename)
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}folder/HeLlO,wOrLd!.txt[0m
|
||||
NOTICE: - [34mWARNING[0m [35mNew or changed in both paths[0m - [36mfolder/éééö.txt[0m
|
||||
INFO : folder/éééö.txt: Files are equal but will copy anyway to update modtime (will not rename)
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}folder/éééö.txt[0m
|
||||
NOTICE: - [34mWARNING[0m [35mNew or changed in both paths[0m - [36mnewfolder/HeLlO,wOrLd!.txt[0m
|
||||
INFO : newfolder/HeLlO,wOrLd!.txt: Files are equal but will copy anyway to update modtime (will not rename)
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}newfolder/HeLlO,wOrLd!.txt[0m
|
||||
NOTICE: - [34mWARNING[0m [35mNew or changed in both paths[0m - [36mnewfolder/éééö.txt[0m
|
||||
INFO : newfolder/éééö.txt: Files are equal but will copy anyway to update modtime (will not rename)
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}newfolder/éééö.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m"{path2/}測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"[0m
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}file1.txt[0m
|
||||
INFO : - [34mPath2[0m [35mDo queued copies to[0m - [36mPath1[0m
|
||||
@@ -178,8 +178,8 @@ INFO : [32mBisync successful[0m
|
||||
[36m(29) :[0m [34mtest changed on one path[0m
|
||||
[36m(30) :[0m [34mtouch-copy 2001-01-05 {datadir/}file1.txt {path2/}[0m
|
||||
[36m(31) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö 測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö.txt[0m
|
||||
[36m(32) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}folder éééö.txt[0m
|
||||
[36m(33) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}folder HeLlO,wOrLd!.txt[0m
|
||||
[36m(32) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}newfolder éééö.txt[0m
|
||||
[36m(33) :[0m [34mcopy-as-NFC {datadir/}file1.txt {path1/}newfolder HeLlO,wOrLd!.txt[0m
|
||||
[36m(34) :[0m [34mbisync norm[0m
|
||||
INFO : [2mSetting --ignore-listing-checksum as neither --checksum nor --compare checksum are set.[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
@@ -194,8 +194,8 @@ INFO : Bisyncing with Comparison Settings:
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Building Path1 and Path2 listings
|
||||
INFO : Path1 checking for diffs
|
||||
INFO : - [36mPath1[0m [35m[33mFile changed: [35mtime (newer)[0m[0m[0m - [36mfolder/HeLlO,wOrLd!.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[33mFile changed: [35mtime (newer)[0m[0m[0m - [36mfolder/éééö.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[33mFile changed: [35mtime (newer)[0m[0m[0m - [36mnewfolder/HeLlO,wOrLd!.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[33mFile changed: [35mtime (newer)[0m[0m[0m - [36mnewfolder/éééö.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[33mFile changed: [35mtime (newer)[0m[0m[0m - [36m"測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"[0m
|
||||
INFO : Path1: 3 changes: [32m 0 new[0m, [33m 3 modified[0m, [31m 0 deleted[0m
|
||||
INFO : ([33mModified[0m: [36m 3 newer[0m, [34m 0 older[0m)
|
||||
@@ -204,8 +204,8 @@ INFO : - [34mPath2[0m [35m[33mFile changed: [35mtime (newer)[0m[0m[0
|
||||
INFO : Path2: 1 changes: [32m 0 new[0m, [33m 1 modified[0m, [31m 0 deleted[0m
|
||||
INFO : ([33mModified[0m: [36m 1 newer[0m, [34m 0 older[0m)
|
||||
INFO : Applying changes
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}folder/hello,WORLD!.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}folder/éééö.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}newfolder/hello,WORLD!.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m{path2/}newfolder/éééö.txt[0m
|
||||
INFO : - [36mPath1[0m [35m[32mQueue copy to[0m Path2[0m - [36m"{path2/}測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö/測試_Руский___ě_áñ👸🏼🧝🏾\u200d♀️💆🏿\u200d♂️🐨🤙🏼🤮🧑🏻\u200d🔧🧑\u200d🔬éö.txt"[0m
|
||||
INFO : - [34mPath2[0m [35m[32mQueue copy to[0m Path1[0m - [36m{path1/}file1.txt[0m
|
||||
INFO : - [34mPath2[0m [35mDo queued copies to[0m - [36mPath1[0m
|
||||
|
||||
@@ -32,13 +32,13 @@ bisync resync
|
||||
# copy NFC version to Path1
|
||||
# note: need to slightly change the name to avoid Drive known issue #3262 which could try to copy the old name from the trash
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö 測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö.txt
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}folder éééö.txt
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}folder HeLlO,wOrLd!.txt
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}newfolder éééö.txt
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}newfolder HeLlO,wOrLd!.txt
|
||||
|
||||
# place newer NFD version on Path2
|
||||
touch-copy 2001-01-03 {datadir/}file1.txt {path2/}
|
||||
copy-as-NFD {datadir/}file1.txt {path2/}folder éééö.txt
|
||||
copy-as-NFD {datadir/}file1.txt {path2/}folder hello,WORLD!.txt
|
||||
copy-as-NFD {datadir/}file1.txt {path2/}newfolder éééö.txt
|
||||
copy-as-NFD {datadir/}file1.txt {path2/}newfolder hello,WORLD!.txt
|
||||
|
||||
test bisync run with normalization
|
||||
bisync norm force
|
||||
@@ -49,6 +49,6 @@ bisync resync norm
|
||||
test changed on one path
|
||||
touch-copy 2001-01-05 {datadir/}file1.txt {path2/}
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö 測試_Руский___ě_áñ👸🏼🧝🏾♀️💆🏿♂️🐨🤙🏼🤮🧑🏻🔧🧑🔬éö.txt
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}folder éééö.txt
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}folder HeLlO,wOrLd!.txt
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}newfolder éééö.txt
|
||||
copy-as-NFC {datadir/}file1.txt {path1/}newfolder HeLlO,wOrLd!.txt
|
||||
bisync norm
|
||||
@@ -1,8 +1,10 @@
|
||||
[36m(01) :[0m [34mtest rclone-args[0m
|
||||
|
||||
|
||||
[36m(02) :[0m [34mtest initial bisync[0m
|
||||
[36m(03) :[0m [34mbisync resync checksum[0m
|
||||
[36m(02) :[0m [34mtouch-glob 2001-01-02 {datadir/} *[0m
|
||||
|
||||
[36m(03) :[0m [34mtest initial bisync[0m
|
||||
[36m(04) :[0m [34mbisync resync checksum[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
"Modtime": false,
|
||||
@@ -20,19 +22,20 @@ INFO : Resync updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
INFO : [32mBisync successful[0m
|
||||
|
||||
[36m(04) :[0m [34mtest place newer files on both paths[0m
|
||||
|
||||
|
||||
[36m(05) :[0m [34mtouch-glob 2001-01-02 {datadir/} *[0m
|
||||
|
||||
[36m(05) :[0m [34mtest place newer files on both paths[0m
|
||||
[36m(06) :[0m [34mcopy-file {datadir/}file1.txt {path1/}[0m
|
||||
[36m(07) :[0m [34mcopy-file {datadir/}file2.txt {path2/}[0m
|
||||
|
||||
[36m(08) :[0m [34mcopy-file {datadir/}file20.txt {path1/}subdir[0m
|
||||
[36m(09) :[0m [34mcopy-file {datadir/}file21.txt {path2/}subdir[0m
|
||||
|
||||
[36m(10) :[0m [34mtest run bisync with custom options[0m
|
||||
[36m(11) :[0m [34mbisync checksum[0m
|
||||
|
||||
[36m(10) :[0m [34mtouch-glob 2001-01-02 {path1/} file1.txt[0m
|
||||
[36m(11) :[0m [34mtouch-glob 2001-01-02 {path2/} file2.txt[0m
|
||||
[36m(12) :[0m [34mtouch-glob 2001-01-02 {path1/}subdir/ file20.txt[0m
|
||||
[36m(13) :[0m [34mtouch-glob 2001-01-02 {path2/}subdir/ file21.txt[0m
|
||||
|
||||
[36m(14) :[0m [34mtest run bisync with custom options[0m
|
||||
[36m(15) :[0m [34mbisync checksum[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
"Modtime": false,
|
||||
@@ -61,15 +64,20 @@ INFO : Updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
INFO : [32mBisync successful[0m
|
||||
|
||||
[36m(12) :[0m [34mtouch-glob 2007-07-23 {datadir/} *[0m
|
||||
[36m(16) :[0m [34mtouch-glob 2007-07-23 {datadir/} *[0m
|
||||
|
||||
[36m(13) :[0m [34mcopy-file {datadir/}file1.txt {path1/}[0m
|
||||
[36m(14) :[0m [34mcopy-file {datadir/}file2.txt {path2/}[0m
|
||||
[36m(17) :[0m [34mcopy-file {datadir/}file1.txt {path1/}[0m
|
||||
[36m(18) :[0m [34mcopy-file {datadir/}file2.txt {path2/}[0m
|
||||
[36m(19) :[0m [34mcopy-file {datadir/}file20.txt {path1/}subdir[0m
|
||||
[36m(20) :[0m [34mcopy-as {datadir/}file21.txt {path2/} file1.txt[0m
|
||||
|
||||
[36m(15) :[0m [34mcopy-file {datadir/}file20.txt {path1/}subdir[0m
|
||||
[36m(16) :[0m [34mcopy-as {datadir/}file21.txt {path2/} file1.txt[0m
|
||||
|
||||
[36m(17) :[0m [34mbisync size-only[0m
|
||||
[36m(21) :[0m [34mtouch-glob 2007-07-23 {path1/} file1.txt[0m
|
||||
[36m(22) :[0m [34mtouch-glob 2007-07-23 {path2/} file2.txt[0m
|
||||
[36m(23) :[0m [34mtouch-glob 2007-07-23 {path1/}subdir/ file20.txt[0m
|
||||
[36m(24) :[0m [34mtouch-glob 2007-07-23 {path2/}subdir/ file21.txt[0m
|
||||
|
||||
[36m(25) :[0m [34mbisync size-only[0m
|
||||
INFO : [2mSetting --ignore-listing-checksum as neither --checksum nor --compare checksum are set.[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
@@ -93,7 +101,7 @@ INFO : - [34mPath2[0m [35mDo queued copies to[0m - [36mP
|
||||
INFO : Updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
INFO : [32mBisync successful[0m
|
||||
[36m(18) :[0m [34mbisync resync[0m
|
||||
[36m(26) :[0m [34mbisync resync[0m
|
||||
INFO : [2mSetting --ignore-listing-checksum as neither --checksum nor --compare checksum are set.[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
@@ -112,13 +120,18 @@ INFO : Resync updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
INFO : [32mBisync successful[0m
|
||||
|
||||
[36m(19) :[0m [34mcopy-file {datadir/}file1.txt {path1/}[0m
|
||||
[36m(20) :[0m [34mcopy-file {datadir/}file2.txt {path2/}[0m
|
||||
[36m(27) :[0m [34mcopy-file {datadir/}file1.txt {path1/}[0m
|
||||
[36m(28) :[0m [34mcopy-file {datadir/}file2.txt {path2/}[0m
|
||||
[36m(29) :[0m [34mcopy-file {datadir/}file20.txt {path1/}subdir[0m
|
||||
[36m(30) :[0m [34mcopy-file {datadir/}file21.txt {path2/}subdir[0m
|
||||
|
||||
[36m(21) :[0m [34mcopy-file {datadir/}file20.txt {path1/}subdir[0m
|
||||
[36m(22) :[0m [34mcopy-file {datadir/}file21.txt {path2/}subdir[0m
|
||||
|
||||
[36m(23) :[0m [34mbisync ignore-size[0m
|
||||
[36m(31) :[0m [34mtouch-glob 2007-07-23 {path1/} file1.txt[0m
|
||||
[36m(32) :[0m [34mtouch-glob 2007-07-23 {path2/} file2.txt[0m
|
||||
[36m(33) :[0m [34mtouch-glob 2007-07-23 {path1/}subdir/ file20.txt[0m
|
||||
[36m(34) :[0m [34mtouch-glob 2007-07-23 {path2/}subdir/ file21.txt[0m
|
||||
|
||||
[36m(35) :[0m [34mbisync ignore-size[0m
|
||||
INFO : [2mSetting --ignore-listing-checksum as neither --checksum nor --compare checksum are set.[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
@@ -145,7 +158,7 @@ INFO : Updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
INFO : [32mBisync successful[0m
|
||||
|
||||
[36m(24) :[0m [34mbisync resync compare-all[0m
|
||||
[36m(36) :[0m [34mbisync resync compare-all[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
"Modtime": true,
|
||||
@@ -163,16 +176,22 @@ INFO : Resync updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
INFO : [32mBisync successful[0m
|
||||
|
||||
[36m(25) :[0m [34mcopy-as {datadir/}file21.txt {path2/} file2.txt[0m
|
||||
[36m(37) :[0m [34mcopy-as {datadir/}file21.txt {path2/} file2.txt[0m
|
||||
|
||||
[36m(26) :[0m [34mtouch-glob 2023-08-26 {datadir/} *[0m
|
||||
[36m(38) :[0m [34mtouch-glob 2023-08-26 {datadir/} *[0m
|
||||
|
||||
[36m(27) :[0m [34mcopy-file {datadir/}file1.txt {path1/}[0m
|
||||
[36m(39) :[0m [34mcopy-file {datadir/}file1.txt {path1/}[0m
|
||||
|
||||
[36m(28) :[0m [34mcopy-file {datadir/}file20.txt {path1/}subdir[0m
|
||||
[36m(29) :[0m [34mcopy-file {datadir/}file21.txt {path2/}subdir[0m
|
||||
[36m(40) :[0m [34mcopy-file {datadir/}file20.txt {path1/}subdir[0m
|
||||
[36m(41) :[0m [34mcopy-file {datadir/}file21.txt {path2/}subdir[0m
|
||||
|
||||
[36m(30) :[0m [34mbisync compare-all[0m
|
||||
|
||||
[36m(42) :[0m [34mtouch-glob 2007-07-23 {path2/} file2.txt[0m
|
||||
[36m(43) :[0m [34mtouch-glob 2023-08-26 {path1/} file1.txt[0m
|
||||
[36m(44) :[0m [34mtouch-glob 2023-08-26 {path1/}subdir/ file20.txt[0m
|
||||
[36m(45) :[0m [34mtouch-glob 2023-08-26 {path2/}subdir/ file21.txt[0m
|
||||
|
||||
[36m(46) :[0m [34mbisync compare-all[0m
|
||||
INFO : Bisyncing with Comparison Settings:
|
||||
{
|
||||
"Modtime": true,
|
||||
|
||||
@@ -2,21 +2,24 @@ test rclone-args
|
||||
# Pass generic flags to rclone under test using as an example
|
||||
# the --size-only flag, which changes the meaning of operations.
|
||||
|
||||
# force specific modification time since file time is lost through git
|
||||
touch-glob 2001-01-02 {datadir/} *
|
||||
|
||||
test initial bisync
|
||||
bisync resync checksum
|
||||
|
||||
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
|
||||
|
||||
# re-touch dest to avoid race conditions with parallel tests
|
||||
touch-glob 2001-01-02 {path1/} file1.txt
|
||||
touch-glob 2001-01-02 {path2/} file2.txt
|
||||
touch-glob 2001-01-02 {path1/}subdir/ file20.txt
|
||||
touch-glob 2001-01-02 {path2/}subdir/ file21.txt
|
||||
|
||||
test run bisync with custom options
|
||||
bisync checksum
|
||||
|
||||
@@ -24,19 +27,29 @@ touch-glob 2007-07-23 {datadir/} *
|
||||
|
||||
copy-file {datadir/}file1.txt {path1/}
|
||||
copy-file {datadir/}file2.txt {path2/}
|
||||
|
||||
copy-file {datadir/}file20.txt {path1/}subdir
|
||||
copy-as {datadir/}file21.txt {path2/} file1.txt
|
||||
|
||||
# re-touch dest to avoid race conditions with parallel tests
|
||||
touch-glob 2007-07-23 {path1/} file1.txt
|
||||
touch-glob 2007-07-23 {path2/} file2.txt
|
||||
touch-glob 2007-07-23 {path1/}subdir/ file20.txt
|
||||
touch-glob 2007-07-23 {path2/}subdir/ file21.txt
|
||||
|
||||
bisync size-only
|
||||
bisync resync
|
||||
|
||||
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
|
||||
|
||||
# re-touch dest to avoid race conditions with parallel tests
|
||||
touch-glob 2007-07-23 {path1/} file1.txt
|
||||
touch-glob 2007-07-23 {path2/} file2.txt
|
||||
touch-glob 2007-07-23 {path1/}subdir/ file20.txt
|
||||
touch-glob 2007-07-23 {path2/}subdir/ file21.txt
|
||||
|
||||
bisync ignore-size
|
||||
|
||||
bisync resync compare-all
|
||||
@@ -50,4 +63,10 @@ copy-file {datadir/}file1.txt {path1/}
|
||||
copy-file {datadir/}file20.txt {path1/}subdir
|
||||
copy-file {datadir/}file21.txt {path2/}subdir
|
||||
|
||||
# re-touch dest to avoid race conditions with parallel tests
|
||||
touch-glob 2007-07-23 {path2/} file2.txt
|
||||
touch-glob 2023-08-26 {path1/} file1.txt
|
||||
touch-glob 2023-08-26 {path1/}subdir/ file20.txt
|
||||
touch-glob 2023-08-26 {path2/}subdir/ file21.txt
|
||||
|
||||
bisync compare-all
|
||||
14
cmd/bisync/testdata/test_resolve/golden/test.log
vendored
14
cmd/bisync/testdata/test_resolve/golden/test.log
vendored
@@ -52,7 +52,7 @@ INFO : Path2: 1 changes: [32m 0 new[0m, [33m 1 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 1 newer[0m, [34m 0 older[0m, [36m 1 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file1.txt: md5 differ
|
||||
ERROR : file1.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
@@ -97,7 +97,7 @@ INFO : Path2: 1 changes: [32m 0 new[0m, [33m 1 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 1 newer[0m, [34m 0 older[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file1.txt: md5 differ
|
||||
ERROR : file1.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
@@ -142,7 +142,7 @@ INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mf
|
||||
INFO : Path2: 1 changes: [32m 1 new[0m, [33m 0 modified[0m, [31m 0 deleted[0m
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file1.txt: md5 differ
|
||||
ERROR : file1.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
@@ -188,7 +188,7 @@ INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mf
|
||||
INFO : Path2: 1 changes: [32m 1 new[0m, [33m 0 modified[0m, [31m 0 deleted[0m
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file1.txt: md5 differ
|
||||
ERROR : file1.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
@@ -234,7 +234,7 @@ INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mf
|
||||
INFO : Path2: 1 changes: [32m 1 new[0m, [33m 0 modified[0m, [31m 0 deleted[0m
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file1.txt: md5 differ
|
||||
ERROR : file1.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
@@ -283,8 +283,8 @@ INFO : Path2: 2 changes: [32m 1 new[0m, [33m 1 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 1 newer[0m, [34m 0 older[0m, [36m 1 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file1.txt: md5 differ
|
||||
ERROR : file2.txt: md5 differ
|
||||
ERROR : file1.txt: {hashtype} differ
|
||||
ERROR : file2.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 2 differences found
|
||||
NOTICE: {path2String}: 2 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 2 differences found
|
||||
|
||||
@@ -101,7 +101,7 @@ INFO : Bisyncing with Comparison Settings:
|
||||
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||
INFO : Copying Path2 files to Path1
|
||||
INFO : - [34mPath2[0m [35mResync is copying files to[0m - [36mPath1[0m
|
||||
INFO : file1.txt: Path2 is older. Path1: 2003-09-03 20:00:00 -0400 EDT, Path2: 2003-07-22 20:00:00 -0400 EDT, Difference: 1032h0m0s
|
||||
INFO : file1.txt: Path2 is older. Path1: 2003-09-04 00:00:00 +0000 UTC, Path2: 2003-07-23 00:00:00 +0000 UTC, Difference: 1032h0m0s
|
||||
INFO : - [36mPath1[0m [35mResync is copying files to[0m - [36mPath2[0m
|
||||
INFO : Resync updating listings
|
||||
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||
|
||||
@@ -52,7 +52,7 @@ INFO : Path2: 1 changes: [32m 0 new[0m, [33m 1 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 1 newer[0m, [34m 0 older[0m, [36m 1 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file5.txt: md5 differ
|
||||
ERROR : file5.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
@@ -196,7 +196,7 @@ INFO : Path2: 50 changes: [32m 43 new[0m, [33m 7 modified[0m, [31m
|
||||
INFO : ([33mModified[0m: [36m 7 newer[0m, [34m 0 older[0m, [36m 7 larger[0m, [34m 0 smaller[0m)
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file5.txt: md5 differ
|
||||
ERROR : file5.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
@@ -339,7 +339,7 @@ INFO : - [34mPath2[0m [35m[32mFile is new[0m[0m - [36mf
|
||||
INFO : Path2: 1 changes: [32m 1 new[0m, [33m 0 modified[0m, [31m 0 deleted[0m
|
||||
INFO : Applying changes
|
||||
INFO : Checking potential conflicts...
|
||||
ERROR : file5.txt: md5 differ
|
||||
ERROR : file5.txt: {hashtype} differ
|
||||
NOTICE: {path2String}: 1 differences found
|
||||
NOTICE: {path2String}: 1 errors while checking
|
||||
INFO : Finished checking the potential conflicts. 1 differences found
|
||||
|
||||
Reference in New Issue
Block a user