mirror of
https://github.com/rclone/rclone.git
synced 2024-11-23 02:01:25 +08:00
bisync: test scenarios #5164
Co-authored-by: Chris Nelson <stuff@cjnaz.com>
This commit is contained in:
parent
79b6866b57
commit
940e99a929
8
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.copy1to2.que
vendored
Normal file
8
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.copy1to2.que
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
"RCLONE_TEST"
|
||||||
|
"file1.copy1.txt"
|
||||||
|
"file1.copy2.txt"
|
||||||
|
"file1.copy3.txt"
|
||||||
|
"file1.copy4.txt"
|
||||||
|
"file1.copy5.txt"
|
||||||
|
"file1.txt"
|
||||||
|
"subdir/file20.txt"
|
9
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
9
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2004-01-02T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
9
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
9
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2004-01-02T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
9
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
9
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2004-01-02T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2004-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
9
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
9
cmd/bisync/testdata/test_all_changed/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2005-01-02T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2005-01-02T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2005-01-02T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2005-01-02T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2005-01-02T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2005-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2005-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
90
cmd/bisync/testdata/test_all_changed/golden/test.log
vendored
Normal file
90
cmd/bisync/testdata/test_all_changed/golden/test.log
vendored
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
(01) : test all-changed
|
||||||
|
|
||||||
|
|
||||||
|
(02) : test initial bisync
|
||||||
|
(03) : bisync resync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Copying unique Path2 files to Path1
|
||||||
|
INFO : Resynching Path1 to Path2
|
||||||
|
INFO : Resync updating listings
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(04) : test change timestamp on all files except RCLONE_TEST
|
||||||
|
(05) : touch-glob 2005-01-02 {path1/} file*
|
||||||
|
(06) : touch-glob 2005-01-02 {path1/}subdir file*
|
||||||
|
|
||||||
|
(07) : test sync should pass
|
||||||
|
(08) : bisync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : - Path1 File is newer - file1.copy1.txt
|
||||||
|
INFO : - Path1 File is newer - file1.copy2.txt
|
||||||
|
INFO : - Path1 File is newer - file1.copy3.txt
|
||||||
|
INFO : - Path1 File is newer - file1.copy4.txt
|
||||||
|
INFO : - Path1 File is newer - file1.copy5.txt
|
||||||
|
INFO : - Path1 File is newer - file1.txt
|
||||||
|
INFO : - Path1 File is newer - subdir/file20.txt
|
||||||
|
INFO : Path1: 7 changes: 0 new, 7 newer, 0 older, 0 deleted
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : Applying changes
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy1.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy2.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy3.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy4.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy5.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}subdir/file20.txt
|
||||||
|
INFO : - Path1 Do queued copies to - Path2
|
||||||
|
INFO : Updating listings
|
||||||
|
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(09) : test change timestamp on all files including RCLONE_TEST
|
||||||
|
(10) : touch-glob 2004-01-02 {path1/} *
|
||||||
|
(11) : touch-glob 2004-01-02 {path1/}subdir *
|
||||||
|
|
||||||
|
(12) : test sync should fail
|
||||||
|
(13) : bisync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy1.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy2.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy3.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy4.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy5.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.txt
|
||||||
|
INFO : - Path1 File is OLDER - subdir/file20.txt
|
||||||
|
INFO : - Path1 File is newer - RCLONE_TEST
|
||||||
|
INFO : Path1: 8 changes: 0 new, 1 newer, 7 older, 0 deleted
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
ERROR : Safety abort: all files were changed on Path1 "{path1/}". Run with --force if desired.
|
||||||
|
NOTICE: Bisync aborted. Please try again.
|
||||||
|
Bisync error: all files were changed
|
||||||
|
|
||||||
|
(14) : test sync with force should pass
|
||||||
|
(15) : bisync force
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy1.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy2.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy3.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy4.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.copy5.txt
|
||||||
|
INFO : - Path1 File is OLDER - file1.txt
|
||||||
|
INFO : - Path1 File is OLDER - subdir/file20.txt
|
||||||
|
INFO : - Path1 File is newer - RCLONE_TEST
|
||||||
|
INFO : Path1: 8 changes: 0 new, 1 newer, 7 older, 0 deleted
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : Applying changes
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}RCLONE_TEST
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy1.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy2.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy3.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy4.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.copy5.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file1.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}subdir/file20.txt
|
||||||
|
INFO : - Path1 Do queued copies to - Path2
|
||||||
|
INFO : Updating listings
|
||||||
|
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||||
|
INFO : Bisync successful
|
1
cmd/bisync/testdata/test_all_changed/initial/RCLONE_TEST
vendored
Normal file
1
cmd/bisync/testdata/test_all_changed/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_all_changed/initial/file1.copy1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy5.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.copy5.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/subdir/file20.txt
vendored
Normal file
0
cmd/bisync/testdata/test_all_changed/initial/subdir/file20.txt
vendored
Normal file
29
cmd/bisync/testdata/test_all_changed/scenario.txt
vendored
Normal file
29
cmd/bisync/testdata/test_all_changed/scenario.txt
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
test all-changed
|
||||||
|
# Check trap for all files changed logic
|
||||||
|
#
|
||||||
|
# Setup initial state
|
||||||
|
# Change timestamp on all files except RCLONE_TEST
|
||||||
|
# Sync should pass
|
||||||
|
# Change timestamp on all files including RCLONE_TEST
|
||||||
|
# Sync should fail
|
||||||
|
# Sync with --force should pass
|
||||||
|
|
||||||
|
test initial bisync
|
||||||
|
bisync resync
|
||||||
|
|
||||||
|
test change timestamp on all files except RCLONE_TEST
|
||||||
|
touch-glob 2005-01-02 {path1/} file*
|
||||||
|
touch-glob 2005-01-02 {path1/}subdir file*
|
||||||
|
|
||||||
|
test sync should pass
|
||||||
|
bisync
|
||||||
|
|
||||||
|
test change timestamp on all files including RCLONE_TEST
|
||||||
|
touch-glob 2004-01-02 {path1/} *
|
||||||
|
touch-glob 2004-01-02 {path1/}subdir *
|
||||||
|
|
||||||
|
test sync should fail
|
||||||
|
bisync
|
||||||
|
|
||||||
|
test sync with force should pass
|
||||||
|
bisync force
|
1
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.copy1to2.que
vendored
Normal file
1
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.copy1to2.que
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"subdir/file20.txt"
|
1
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.copy2to1.que
vendored
Normal file
1
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.copy2to1.que
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"file1.txt"
|
9
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
9
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
9
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
9
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
9
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
9
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "subdir/file20.txt"
|
9
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
9
cmd/bisync/testdata/test_basic/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.copy5.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
33
cmd/bisync/testdata/test_basic/golden/test.log
vendored
Normal file
33
cmd/bisync/testdata/test_basic/golden/test.log
vendored
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
(01) : test basic
|
||||||
|
|
||||||
|
|
||||||
|
(02) : test initial bisync
|
||||||
|
(03) : bisync resync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Copying unique Path2 files to Path1
|
||||||
|
INFO : Resynching Path1 to Path2
|
||||||
|
INFO : Resync updating listings
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(04) : test place newer files on both paths
|
||||||
|
|
||||||
|
(05) : touch-copy 2001-01-02 {datadir/}file1.txt {path2/}
|
||||||
|
(06) : copy-as {datadir/}file1.txt {path1/}subdir file20.txt
|
||||||
|
|
||||||
|
(07) : test bisync run
|
||||||
|
(08) : bisync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : - Path1 File is newer - subdir/file20.txt
|
||||||
|
INFO : Path1: 1 changes: 0 new, 1 newer, 0 older, 0 deleted
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : - Path2 File is newer - file1.txt
|
||||||
|
INFO : Path2: 1 changes: 0 new, 1 newer, 0 older, 0 deleted
|
||||||
|
INFO : Applying changes
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}subdir/file20.txt
|
||||||
|
INFO : - Path2 Queue copy to Path1 - {path1/}file1.txt
|
||||||
|
INFO : - Path2 Do queued copies to - Path1
|
||||||
|
INFO : - Path1 Do queued copies to - Path2
|
||||||
|
INFO : Updating listings
|
||||||
|
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||||
|
INFO : Bisync successful
|
1
cmd/bisync/testdata/test_basic/initial/RCLONE_TEST
vendored
Normal file
1
cmd/bisync/testdata/test_basic/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_basic/initial/file1.copy1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy5.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.copy5.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/subdir/file20.txt
vendored
Normal file
0
cmd/bisync/testdata/test_basic/initial/subdir/file20.txt
vendored
Normal file
1
cmd/bisync/testdata/test_basic/modfiles/file1.txt
vendored
Normal file
1
cmd/bisync/testdata/test_basic/modfiles/file1.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file is newer
|
13
cmd/bisync/testdata/test_basic/scenario.txt
vendored
Normal file
13
cmd/bisync/testdata/test_basic/scenario.txt
vendored
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
test basic
|
||||||
|
# Simple test case for development
|
||||||
|
|
||||||
|
test initial bisync
|
||||||
|
bisync resync
|
||||||
|
|
||||||
|
test place newer files on both paths
|
||||||
|
# force specific modification time since file time is lost through git
|
||||||
|
touch-copy 2001-01-02 {datadir/}file1.txt {path2/}
|
||||||
|
copy-as {datadir/}file1.txt {path1/}subdir file20.txt
|
||||||
|
|
||||||
|
test bisync run
|
||||||
|
bisync
|
4
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.copy1to2.que
vendored
Normal file
4
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.copy1to2.que
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
"file11.txt"
|
||||||
|
"file2.txt"
|
||||||
|
"file5.txt..path1"
|
||||||
|
"file7.txt"
|
4
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.copy2to1.que
vendored
Normal file
4
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.copy2to1.que
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
"file1.txt"
|
||||||
|
"file10.txt"
|
||||||
|
"file5.txt..path2"
|
||||||
|
"file6.txt"
|
1
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.delete1.que
vendored
Normal file
1
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.delete1.que
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"file3.txt"
|
1
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.delete2.que
vendored
Normal file
1
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.delete2.que
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
"file4.txt"
|
10
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
10
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file10.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file11.txt"
|
||||||
|
- 13 md5:fb3ecfb2800400fb01b0bfd39903e9fb - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-03-04T00:00:00.000000000+0000 "file5.txt..path1"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file5.txt..path2"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file6.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file7.txt"
|
8
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
8
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file11.txt"
|
||||||
|
- 13 md5:fb3ecfb2800400fb01b0bfd39903e9fb - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-03-04T00:00:00.000000000+0000 "file5.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file7.txt"
|
10
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
10
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file10.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file11.txt"
|
||||||
|
- 13 md5:fb3ecfb2800400fb01b0bfd39903e9fb - 2001-01-02T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-03-04T00:00:00.000000000+0000 "file5.txt..path1"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file5.txt..path2"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file6.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file7.txt"
|
8
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
8
cmd/bisync/testdata/test_changes/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file10.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file5.txt"
|
||||||
|
- 19 md5:7fe98ed88552b828777d8630900346b8 - 2001-01-02T00:00:00.000000000+0000 "file6.txt"
|
90
cmd/bisync/testdata/test_changes/golden/test.log
vendored
Normal file
90
cmd/bisync/testdata/test_changes/golden/test.log
vendored
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
(01) : test changes
|
||||||
|
|
||||||
|
|
||||||
|
(02) : test initial bisync
|
||||||
|
(03) : bisync resync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Copying unique Path2 files to Path1
|
||||||
|
INFO : Resynching Path1 to Path2
|
||||||
|
INFO : Resync updating listings
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(04) : test make modifications on both paths
|
||||||
|
(05) : test new on path2 - file10
|
||||||
|
(06) : touch-copy 2001-01-02 {datadir/}file10.txt {path2/}
|
||||||
|
|
||||||
|
(07) : test newer on path2 - file1
|
||||||
|
(08) : touch-copy 2001-01-02 {datadir/}file1.txt {path2/}
|
||||||
|
|
||||||
|
(09) : test new on path1 - file11
|
||||||
|
(10) : touch-copy 2001-01-02 {datadir/}file11.txt {path1/}
|
||||||
|
|
||||||
|
(11) : test newer on path1 - file2
|
||||||
|
(12) : touch-copy 2001-01-02 {datadir/}file2.txt {path1/}
|
||||||
|
|
||||||
|
(13) : test deleted on path2 - file3
|
||||||
|
(14) : delete-file {path2/}file3.txt
|
||||||
|
|
||||||
|
(15) : test deleted on path1 - file4
|
||||||
|
(16) : delete-file {path1/}file4.txt
|
||||||
|
|
||||||
|
(17) : test deleted on both paths - file8
|
||||||
|
(18) : delete-file {path1/}file8.txt
|
||||||
|
(19) : delete-file {path2/}file8.txt
|
||||||
|
|
||||||
|
(20) : test changed on both paths - file5 (file5R, file5L)
|
||||||
|
(21) : touch-glob 2001-01-02 {datadir/} file5R.txt
|
||||||
|
(22) : copy-as {datadir/}file5R.txt {path2/} file5.txt
|
||||||
|
(23) : touch-glob 2001-03-04 {datadir/} file5L.txt
|
||||||
|
(24) : copy-as {datadir/}file5L.txt {path1/} file5.txt
|
||||||
|
|
||||||
|
(25) : test newer on path2 and deleted on path1 - file6
|
||||||
|
(26) : touch-copy 2001-01-02 {datadir/}file6.txt {path2/}
|
||||||
|
(27) : delete-file {path1/}file6.txt
|
||||||
|
|
||||||
|
(28) : test newer on path1 and deleted on path2 - file7
|
||||||
|
(29) : touch-copy 2001-01-02 {datadir/}file7.txt {path1/}
|
||||||
|
(30) : delete-file {path2/}file7.txt
|
||||||
|
|
||||||
|
(31) : test bisync run
|
||||||
|
(32) : bisync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : - Path1 File is new - file11.txt
|
||||||
|
INFO : - Path1 File is newer - file2.txt
|
||||||
|
INFO : - Path1 File is newer - file5.txt
|
||||||
|
INFO : - Path1 File is newer - file7.txt
|
||||||
|
INFO : - Path1 File was deleted - file4.txt
|
||||||
|
INFO : - Path1 File was deleted - file6.txt
|
||||||
|
INFO : - Path1 File was deleted - file8.txt
|
||||||
|
INFO : Path1: 7 changes: 1 new, 3 newer, 0 older, 3 deleted
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : - Path2 File is new - file10.txt
|
||||||
|
INFO : - Path2 File is newer - file1.txt
|
||||||
|
INFO : - Path2 File is newer - file5.txt
|
||||||
|
INFO : - Path2 File is newer - file6.txt
|
||||||
|
INFO : - Path2 File was deleted - file3.txt
|
||||||
|
INFO : - Path2 File was deleted - file7.txt
|
||||||
|
INFO : - Path2 File was deleted - file8.txt
|
||||||
|
INFO : Path2: 7 changes: 1 new, 3 newer, 0 older, 3 deleted
|
||||||
|
INFO : Applying changes
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file11.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file2.txt
|
||||||
|
INFO : - Path2 Queue delete - {path2/}file4.txt
|
||||||
|
NOTICE: - WARNING New or changed in both paths - file5.txt
|
||||||
|
NOTICE: - Path1 Renaming Path1 copy - {path1/}file5.txt..path1
|
||||||
|
NOTICE: - Path1 Queue copy to Path2 - {path2/}file5.txt..path1
|
||||||
|
NOTICE: - Path2 Renaming Path2 copy - {path2/}file5.txt..path2
|
||||||
|
NOTICE: - Path2 Queue copy to Path1 - {path1/}file5.txt..path2
|
||||||
|
INFO : - Path2 Queue copy to Path1 - {path1/}file6.txt
|
||||||
|
INFO : - Path1 Queue copy to Path2 - {path2/}file7.txt
|
||||||
|
INFO : - Path2 Queue copy to Path1 - {path1/}file1.txt
|
||||||
|
INFO : - Path2 Queue copy to Path1 - {path1/}file10.txt
|
||||||
|
INFO : - Path1 Queue delete - {path1/}file3.txt
|
||||||
|
INFO : - Path2 Do queued copies to - Path1
|
||||||
|
INFO : - Path1 Do queued copies to - Path2
|
||||||
|
INFO : - Do queued deletes on - Path1
|
||||||
|
INFO : - Do queued deletes on - Path2
|
||||||
|
INFO : Updating listings
|
||||||
|
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||||
|
INFO : Bisync successful
|
1
cmd/bisync/testdata/test_changes/initial/RCLONE_TEST
vendored
Normal file
1
cmd/bisync/testdata/test_changes/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_changes/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file5.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file5.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file6.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file6.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file7.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file7.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file8.txt
vendored
Normal file
0
cmd/bisync/testdata/test_changes/initial/file8.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file1.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file1.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file is newer
|
1
cmd/bisync/testdata/test_changes/modfiles/file10.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file10.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file is newer
|
1
cmd/bisync/testdata/test_changes/modfiles/file11.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file11.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file is newer
|
1
cmd/bisync/testdata/test_changes/modfiles/file2.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file2.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Newer version
|
1
cmd/bisync/testdata/test_changes/modfiles/file5L.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file5L.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file is newer
|
1
cmd/bisync/testdata/test_changes/modfiles/file5R.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file5R.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file is newer
|
1
cmd/bisync/testdata/test_changes/modfiles/file6.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file6.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file is newer
|
1
cmd/bisync/testdata/test_changes/modfiles/file7.txt
vendored
Normal file
1
cmd/bisync/testdata/test_changes/modfiles/file7.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file is newer
|
55
cmd/bisync/testdata/test_changes/scenario.txt
vendored
Normal file
55
cmd/bisync/testdata/test_changes/scenario.txt
vendored
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
test changes
|
||||||
|
# Exercise all of the various file change scenarios
|
||||||
|
# - New on Path2 file10
|
||||||
|
# - Newer on Path2 file1
|
||||||
|
# - New on Path1 file11
|
||||||
|
# - Newer on Path1 file2
|
||||||
|
# - Deleted on Path2 file3
|
||||||
|
# - Deleted on Path1 file4
|
||||||
|
# - Changed on Path2 and on Path1 file5 (file5r, file5l)
|
||||||
|
# - Newer on Path2 and deleted on Path1 file6
|
||||||
|
# - Newer on Path1 and deleted on Path2 file7
|
||||||
|
# - Deleted on both paths file8
|
||||||
|
|
||||||
|
test initial bisync
|
||||||
|
bisync resync
|
||||||
|
|
||||||
|
test make modifications on both paths
|
||||||
|
test new on path2 - file10
|
||||||
|
touch-copy 2001-01-02 {datadir/}file10.txt {path2/}
|
||||||
|
|
||||||
|
test newer on path2 - file1
|
||||||
|
touch-copy 2001-01-02 {datadir/}file1.txt {path2/}
|
||||||
|
|
||||||
|
test new on path1 - file11
|
||||||
|
touch-copy 2001-01-02 {datadir/}file11.txt {path1/}
|
||||||
|
|
||||||
|
test newer on path1 - file2
|
||||||
|
touch-copy 2001-01-02 {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)
|
||||||
|
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 newer on path2 and deleted on path1 - file6
|
||||||
|
touch-copy 2001-01-02 {datadir/}file6.txt {path2/}
|
||||||
|
delete-file {path1/}file6.txt
|
||||||
|
|
||||||
|
test newer on path1 and deleted on path2 - file7
|
||||||
|
touch-copy 2001-01-02 {datadir/}file7.txt {path1/}
|
||||||
|
delete-file {path2/}file7.txt
|
||||||
|
|
||||||
|
test bisync run
|
||||||
|
bisync
|
8
cmd/bisync/testdata/test_check_access/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
8
cmd/bisync/testdata/test_check_access/golden/_testdir_path1.._testdir_path2.path1.lst
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
8
cmd/bisync/testdata/test_check_access/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
8
cmd/bisync/testdata/test_check_access/golden/_testdir_path1.._testdir_path2.path1.lst-new
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
8
cmd/bisync/testdata/test_check_access/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
8
cmd/bisync/testdata/test_check_access/golden/_testdir_path1.._testdir_path2.path2.lst
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
8
cmd/bisync/testdata/test_check_access/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
8
cmd/bisync/testdata/test_check_access/golden/_testdir_path1.._testdir_path2.path2.lst-new
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1 @@
|
||||||
|
"RCLONE_TEST"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,7 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,7 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,8 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
|
@ -0,0 +1,7 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
105
cmd/bisync/testdata/test_check_access/golden/test.log
vendored
Normal file
105
cmd/bisync/testdata/test_check_access/golden/test.log
vendored
Normal file
|
@ -0,0 +1,105 @@
|
||||||
|
(01) : test check-access
|
||||||
|
|
||||||
|
|
||||||
|
(02) : test initial bisync
|
||||||
|
(03) : bisync resync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Copying unique Path2 files to Path1
|
||||||
|
INFO : Resynching Path1 to Path2
|
||||||
|
INFO : Resync updating listings
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(04) : test 1. see that check-access passes with the initial setup
|
||||||
|
(05) : bisync check-access
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : Checking access health
|
||||||
|
INFO : Found 2 matching "RCLONE_TEST" files on both paths
|
||||||
|
INFO : No changes found
|
||||||
|
INFO : Updating listings
|
||||||
|
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(06) : test 2. delete the path2 subdir RCLONE_TEST and run sync. should fail critical.
|
||||||
|
(07) : delete-file {path2/}subdir/RCLONE_TEST
|
||||||
|
(08) : bisync check-access
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : - Path2 File was deleted - subdir/RCLONE_TEST
|
||||||
|
INFO : Path2: 1 changes: 0 new, 0 newer, 0 older, 1 deleted
|
||||||
|
INFO : Checking access health
|
||||||
|
ERROR : Access test failed: Path1 count 2, Path2 count 1 - RCLONE_TEST
|
||||||
|
ERROR : - Access test failed: Path1 file not found in Path2 - subdir/RCLONE_TEST
|
||||||
|
ERROR : Bisync critical error: check file check failed
|
||||||
|
ERROR : Bisync aborted. Must run --resync to recover.
|
||||||
|
Bisync error: bisync aborted
|
||||||
|
(09) : copy-listings path2-missing
|
||||||
|
|
||||||
|
(10) : test 3. put the path2 subdir RCLONE_TEST back, resync.
|
||||||
|
(11) : copy-file {path1/}subdir/RCLONE_TEST {path2/}
|
||||||
|
(12) : bisync resync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Copying unique Path2 files to Path1
|
||||||
|
INFO : Resynching Path1 to Path2
|
||||||
|
INFO : Resync updating listings
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(13) : test 4. run sync with check-access. should pass.
|
||||||
|
(14) : bisync check-access
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : Checking access health
|
||||||
|
INFO : Found 2 matching "RCLONE_TEST" files on both paths
|
||||||
|
INFO : No changes found
|
||||||
|
INFO : Updating listings
|
||||||
|
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(15) : test 5. delete path1 top level RCLONE_TEST, run sync. should fail critical.
|
||||||
|
(16) : delete-file {path1/}RCLONE_TEST
|
||||||
|
(17) : bisync check-access
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : - Path1 File was deleted - RCLONE_TEST
|
||||||
|
INFO : Path1: 1 changes: 0 new, 0 newer, 0 older, 1 deleted
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : Checking access health
|
||||||
|
ERROR : Access test failed: Path1 count 1, Path2 count 2 - RCLONE_TEST
|
||||||
|
ERROR : - Access test failed: Path2 file not found in Path1 - RCLONE_TEST
|
||||||
|
ERROR : Bisync critical error: check file check failed
|
||||||
|
ERROR : Bisync aborted. Must run --resync to recover.
|
||||||
|
Bisync error: bisync aborted
|
||||||
|
(18) : copy-listings path1-missing
|
||||||
|
|
||||||
|
(19) : test 6. run again. should fail critical due to missing listings.
|
||||||
|
(20) : bisync check-access
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
ERROR : Bisync critical error: cannot find prior Path1 or Path2 listings, likely due to critical error on prior run
|
||||||
|
ERROR : Bisync aborted. Must run --resync to recover.
|
||||||
|
Bisync error: bisync aborted
|
||||||
|
(21) : move-listings missing-listings
|
||||||
|
|
||||||
|
(22) : test 7. run resync, which will copy the path2 top level back to path1.
|
||||||
|
(23) : bisync resync
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Copying unique Path2 files to Path1
|
||||||
|
INFO : - Path2 Resync will copy to Path1 - RCLONE_TEST
|
||||||
|
INFO : - Path2 Resync is doing queued copies to - Path1
|
||||||
|
INFO : Resynching Path1 to Path2
|
||||||
|
INFO : Resync updating listings
|
||||||
|
INFO : Bisync successful
|
||||||
|
|
||||||
|
(24) : test 8. run sync with --check-access. should pass.
|
||||||
|
(25) : bisync check-access
|
||||||
|
INFO : Synching Path1 "{path1/}" with Path2 "{path2/}"
|
||||||
|
INFO : Path1 checking for diffs
|
||||||
|
INFO : Path2 checking for diffs
|
||||||
|
INFO : Checking access health
|
||||||
|
INFO : Found 2 matching "RCLONE_TEST" files on both paths
|
||||||
|
INFO : No changes found
|
||||||
|
INFO : Updating listings
|
||||||
|
INFO : Validating listings for Path1 "{path1/}" vs Path2 "{path2/}"
|
||||||
|
INFO : Bisync successful
|
1
cmd/bisync/testdata/test_check_access/initial/RCLONE_TEST
vendored
Normal file
1
cmd/bisync/testdata/test_check_access/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_check_access/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_check_access/initial/file1.txt
vendored
Normal file
0
cmd/bisync/testdata/test_check_access/initial/file2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_check_access/initial/file2.txt
vendored
Normal file
0
cmd/bisync/testdata/test_check_access/initial/file3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_check_access/initial/file3.txt
vendored
Normal file
0
cmd/bisync/testdata/test_check_access/initial/file4.txt
vendored
Normal file
0
cmd/bisync/testdata/test_check_access/initial/file4.txt
vendored
Normal file
1
cmd/bisync/testdata/test_check_access/initial/subdir/RCLONE_TEST
vendored
Normal file
1
cmd/bisync/testdata/test_check_access/initial/subdir/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_check_access/initial/subdir/file20.txt
vendored
Normal file
0
cmd/bisync/testdata/test_check_access/initial/subdir/file20.txt
vendored
Normal file
1
cmd/bisync/testdata/test_check_access/modfiles/hold.txt
vendored
Normal file
1
cmd/bisync/testdata/test_check_access/modfiles/hold.txt
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
This file prevents bisync from deleting empty directories.
|
44
cmd/bisync/testdata/test_check_access/scenario.txt
vendored
Normal file
44
cmd/bisync/testdata/test_check_access/scenario.txt
vendored
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
test check-access
|
||||||
|
# RCLONE_TEST files in the top level and subdir
|
||||||
|
#
|
||||||
|
# 1. See that check-access passes with the initial setup.
|
||||||
|
# 2. Delete the Path2 subdir RCLONE_TEST, run sync. Should fail critical.
|
||||||
|
# 3. Put the Path2 subdir RCLONE_TEST back, resync.
|
||||||
|
# 4. Run sync with check-access. Should pass.
|
||||||
|
# 5. Delete Path1 top level RCLONE_TEST, run sync. Should fail critical.
|
||||||
|
# 6. Run again. Should fail critical due to missing listings.
|
||||||
|
# 7. Run resync, which will copy the Path2 top level back to Path1.
|
||||||
|
# 8. Run sync with check-access. Should pass.
|
||||||
|
|
||||||
|
test initial bisync
|
||||||
|
bisync resync
|
||||||
|
|
||||||
|
test 1. see that check-access passes with the initial setup
|
||||||
|
bisync check-access
|
||||||
|
|
||||||
|
test 2. delete the path2 subdir RCLONE_TEST and run sync. should fail critical.
|
||||||
|
delete-file {path2/}subdir{/}RCLONE_TEST
|
||||||
|
bisync check-access
|
||||||
|
copy-listings path2-missing
|
||||||
|
|
||||||
|
test 3. put the path2 subdir RCLONE_TEST back, resync.
|
||||||
|
copy-file {path1/}subdir/RCLONE_TEST {path2/}
|
||||||
|
bisync resync
|
||||||
|
|
||||||
|
test 4. run sync with check-access. should pass.
|
||||||
|
bisync check-access
|
||||||
|
|
||||||
|
test 5. delete path1 top level RCLONE_TEST, run sync. should fail critical.
|
||||||
|
delete-file {path1/}RCLONE_TEST
|
||||||
|
bisync check-access
|
||||||
|
copy-listings path1-missing
|
||||||
|
|
||||||
|
test 6. run again. should fail critical due to missing listings.
|
||||||
|
bisync check-access
|
||||||
|
move-listings missing-listings
|
||||||
|
|
||||||
|
test 7. run resync, which will copy the path2 top level back to path1.
|
||||||
|
bisync resync
|
||||||
|
|
||||||
|
test 8. run sync with --check-access. should pass.
|
||||||
|
bisync check-access
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,9 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
9
cmd/bisync/testdata/test_check_access_filters/golden/exclude-other-filtersfile.txt
vendored
Normal file
9
cmd/bisync/testdata/test_check_access_filters/golden/exclude-other-filtersfile.txt
vendored
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
# EXCLUDE ALL Filters file for Check Access filtering testing
|
||||||
|
# another comment
|
||||||
|
# and another
|
||||||
|
|
||||||
|
- /subdir/subdirA/
|
||||||
|
+ /subdir/**
|
||||||
|
- /subdir-not/
|
||||||
|
+ /*
|
||||||
|
- **
|
1
cmd/bisync/testdata/test_check_access_filters/golden/exclude-other-filtersfile.txt.md5
vendored
Normal file
1
cmd/bisync/testdata/test_check_access_filters/golden/exclude-other-filtersfile.txt.md5
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
868aeb20dc983cd1aaa29f6c4f2537e6
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bisync listing v1 from test
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file1.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file2.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file3.txt"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "file4.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/file20.txt"
|
||||||
|
- 109 md5:294d25b294ff26a5243dba914ac3fbf7 - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/RCLONE_TEST"
|
||||||
|
- 0 md5:d41d8cd98f00b204e9800998ecf8427e - 2000-01-01T00:00:00.000000000+0000 "subdir/subdirB/file30.txt"
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user