mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
moved common tests to common.sh
This commit is contained in:
@@ -20,17 +20,6 @@
|
||||
|
||||
SERV="${SERV:-../src/ocserv}"
|
||||
|
||||
#this test can only be run as root
|
||||
id|grep root >/dev/null 2>&1
|
||||
if [ $? != 0 ];then
|
||||
exit 77
|
||||
fi
|
||||
|
||||
if ! test -x /usr/sbin/openconnect;then
|
||||
echo "You need openconnect to run this test"
|
||||
exit 77
|
||||
fi
|
||||
|
||||
. ./common.sh
|
||||
|
||||
echo "Testing local backend with username-password..."
|
||||
|
||||
Reference in New Issue
Block a user