/
githubmirror
/
rclone
Обзор
Документация
Войти
/
githubmirror
/
rclone
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
bin/test-repeat-vfs.sh
26 строк
491 B
Florian Klink
tree-wide: replace /bin/bash with /usr/bin/env bash
11 июн 2024, 14:47
11 июн 2024, 14:47
aed77a8
Код
Авторство
О чём код?
#!/usr/bin/env bash # Thrash the VFS tests set -e # Optionally set the iterations with the first parameter iterations=${1:-100} 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} with ${iterations} iterations" cd ${base}/${testdir} ${run} -i=${iterations} -race -tags=cmount done