mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 20:59:10 +08:00
d2ad293fae
Before this change the background writing of the file was racing with the test of the object on the remote. This meant that the tests passed locally but failed on a lot of the remotes.
24 lines
364 B
Bash
Executable File
24 lines
364 B
Bash
Executable File
#!/bin/bash
|
|
# Thrash the VFS tests
|
|
|
|
set -e
|
|
|
|
base=$(dirname $(dirname $(realpath "$0")))
|
|
echo ${base}
|
|
run=${base}/bin/test-repeat.sh
|
|
echo ${run}
|
|
|
|
testdirs="
|
|
vfs
|
|
vfs/vfscache
|
|
vfs/vfscache/writeback
|
|
vfs/vfscache/downloaders
|
|
cmd/cmount
|
|
"
|
|
|
|
for testdir in ${testdirs}; do
|
|
echo "Testing ${testdir}"
|
|
cd ${base}/${testdir}
|
|
${run} -c=100 -race -tags=cmount
|
|
done
|