Merge branch 'tmp-coverage-check' into 'master'

Include debugging output into our coverage tests

See merge request openconnect/ocserv!251
This commit is contained in:
Nikos Mavrogiannopoulos
2020-12-19 14:00:59 +00:00
2 changed files with 8 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ resource_rules:
actions: actions:
status: close status: close
comment: | comment: |
{{author}} This issue was marked as needinfo with no update for long time. We are now closing it, but please re-open if it is still relevant. This is an automated message. {{author}} This issue was marked as needinfo with no update for long time. We are now closing it, but please add the necessary information and re-open if it is still relevant. This is an automated message.
merge_requests: merge_requests:
rules: rules:

View File

@@ -35,13 +35,19 @@ if test "${DISABLE_ASAN_BROKEN_TESTS}" = 1;then
ISOLATE_WORKERS=false ISOLATE_WORKERS=false
fi fi
if test -z "$NO_NEED_ROOT";then if test -z "${NO_NEED_ROOT}";then
if test "$(id -u)" != "0";then if test "$(id -u)" != "0";then
echo "You need to run this script as root" echo "You need to run this script as root"
exit 77 exit 77
fi fi
fi fi
# Increase verbosity as this disables the anti-debugging measures
# of the worker processes.
if test "${COVERAGE}" = "1" && test -z "${VERBOSE}";then
VERBOSE=1
fi
# NO_NEED_ROOT implies NEED_SOCKET_WRAPPER # NO_NEED_ROOT implies NEED_SOCKET_WRAPPER
if test "${NEED_SOCKET_WRAPPER}" = 1 || test "${NO_NEED_ROOT}" = 1;then if test "${NEED_SOCKET_WRAPPER}" = 1 || test "${NO_NEED_ROOT}" = 1;then
SOCKDIR="${srcdir}/tmp/sockwrap.$$.tmp" SOCKDIR="${srcdir}/tmp/sockwrap.$$.tmp"