mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 09:04:52 +01:00
fs/logger: make the tests deterministic
Previously this used `rclone test makefiles --seed 0` which sets a random seed and every now and again we get this error Failed to open file "$WORK\\src\\moru": open $WORK\src\moru: is a directory Because a file with the same name was created as a file in the src and a dir in the dst. This fixes it by using determinstic seeds each time.
This commit is contained in:
parent
3fef8016b5
commit
caba22a585
@ -1,10 +1,10 @@
|
||||
# tests whether rclone check and rclone sync output exactly the same file lists.
|
||||
|
||||
# Filling src and dst with makefiles:
|
||||
exec rclone test makefiles $SRC --seed 0
|
||||
exec rclone test makefiles $DST --seed 1
|
||||
exec rclone test makefiles $SRC --seed 2
|
||||
exec rclone test makefiles $SRC --seed 1
|
||||
exec rclone test makefiles $DST --seed 2
|
||||
exec rclone test makefiles $SRC --seed 3
|
||||
exec rclone test makefiles $DST --seed 3
|
||||
|
||||
# running rclone check for baseline test:
|
||||
# error is expected here:
|
||||
|
Loading…
Reference in New Issue
Block a user