mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
.gitlab-ci.yml: root tests are run on CI systems
Because these tests can only be run in-tree, the CI builds were switched to be in-tree, except for FreeBSD build which now runs out-of-tree. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
@@ -31,8 +31,7 @@ if ! test -x ${OPENCONNECT};then
|
||||
fi
|
||||
|
||||
if test -z "$NO_NEED_ROOT";then
|
||||
id|grep root >/dev/null 2>&1
|
||||
if [ $? != 0 ];then
|
||||
if test "$(id -u)" != "0";then
|
||||
exit 77
|
||||
fi
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user