11 echo '################################################################################'
13 echo '################################################################################'
20 header "Cleaning up leftovers from previous runs"
22 for name in tinc tincd; do
23 pkill -TERM -x "$name" || true
24 pkill -KILL -x "$name" || true
29 header "Running test flavor $flavor"
31 # CentOS 7 has OpenSSL 1.1 installed in a non-default location.
32 if test -d /usr/include/openssl11; then
33 set -- "$@" --with-openssl-include=/usr/include/openssl11
36 if test -d /usr/lib64/openssl11; then
37 set -- "$@" --with-openssl-lib=/usr/lib64/openssl11
45 make check -j2 VERBOSE=1 || code=$?
47 tar -c -z -f "/tmp/tests.$flavor.tar.gz" test/
52 # GitHub Checkout action supports git 2.18+.
53 # If we're running in a container with an older version,
54 # create our own local repository to make `git clean` work.
55 if ! [ -e .git ]; then
65 run_tests nolegacy --disable-legacy-protocol
68 bail "unknown test flavor $1"