mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Fixup integration test script
This commit is contained in:
parent
fbd5ddea72
commit
5c75869e85
@ -87,6 +87,7 @@ alterFiles() {
|
|||||||
todelete=$(( $nfiles - 2000 ))
|
todelete=$(( $nfiles - 2000 ))
|
||||||
echo "Deleting $todelete files..."
|
echo "Deleting $todelete files..."
|
||||||
find . -type f \
|
find . -type f \
|
||||||
|
| grep -v large \
|
||||||
| sort -k 1.16 \
|
| sort -k 1.16 \
|
||||||
| head -n "$todelete" \
|
| head -n "$todelete" \
|
||||||
| xargs rm -f
|
| xargs rm -f
|
||||||
@ -136,3 +137,4 @@ for ((t = 1; t <= $iterations; t++)) ; do
|
|||||||
testConvergence
|
testConvergence
|
||||||
done
|
done
|
||||||
|
|
||||||
|
pkill syncthing
|
||||||
|
Loading…
Reference in New Issue
Block a user