tlsfuzzer can not be executed with out-of-tree builds
Description of problem:
Running tls-fuzzer tests with out-of-tree builds results in skipped test:
$ srcdir=../../../gnutls/tests/suite bash -x ../../../gnutls/tests/suite/tls-fuzzer/tls-fuzzer-cert.sh
+ srcdir=../../../gnutls/tests/suite
+ SERV=../../../../src/gnutls-serv
+ CLI=../../../../src/gnutls-cli
+ OUTFILE=tls-fuzzer-cert.debug.log
+ TMPFILE=tls-fuzzer-cert.24584.tmp
+ . ../../../gnutls/tests/suite/../scripts/common.sh
++ export TZ=UTC
++ TZ=UTC
++ GETPORT='rc=0; myrandom=$(date +%N | sed s/^0*//)
while test $rc = 0;do
PORT="$(((($$<<15)|$myrandom) % 63001 + 2000))"
check_if_port_in_use $PORT;rc=$?
done
'
++ test -x /usr/bin/lockfile-create
++ LOCKFILE='lockfile-create global'
++ UNLOCKFILE='lockfile-remove global'
+ PORT=4433
+ lockfile-create global
+ pushd tls-fuzzer
~/Projects/GOST/build-gnutls-sysnettle/tests/suite/tls-fuzzer ~/Projects/GOST/build-gnutls-sysnettle/tests/suite
+ test -d tlsfuzzer
+ exit 77
Version of gnutls used:
master
Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Debian buster