.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:
Nikos Mavrogiannopoulos
2017-09-09 11:09:31 +02:00
parent b5d77da7f4
commit 6bf1341c21
2 changed files with 13 additions and 13 deletions

View File

@@ -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