#!/bin/sh

cd $(dirname $0)

# backup.test intermittently fails on qemux86-64
# (observed ~5 failures in 20 runs).
# Upstream: https://github.com/RsyncProject/rsync/issues/941
TESTS=$(cd testsuite && \
    ls *.test | \
    sed 's/\.test$//' | \
    grep -v '^backup$')

python3 runtests.py \
    --rsync-bin=/usr/bin/rsync \
    --tooldir=$(pwd) \
    --srcdir=$(pwd) \
    $TESTS
