mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:07:57 +08:00
build: add script for torturing the VFS
This commit is contained in:
parent
f5439ddc54
commit
177d2f2f79
27
bin/test-repeat-vfs.sh
Executable file
27
bin/test-repeat-vfs.sh
Executable file
|
@ -0,0 +1,27 @@
|
|||
#!/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
|
||||
"
|
||||
|
||||
testdirs="
|
||||
cmd/cmount
|
||||
"
|
||||
|
||||
for testdir in ${testdirs}; do
|
||||
echo "Testing ${testdir}"
|
||||
cd ${base}/${testdir}
|
||||
${run} -c=100 -race -tags=cmount
|
||||
done
|
Loading…
Reference in New Issue
Block a user