1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
#!/bin/sh
# Copyright (C) 2018 Aravind Prasad S
#
# License: BSD
srcdir="${srcdir:-.}"
echo "***********************************************"
echo "This test will use a radius server on localhost"
echo "and which can be executed with run-server.sh "
echo "***********************************************"
if test -z "${SERVER_IP}";then
echo "the variable SERVER_IP is not defined"
exit 77
fi
../src/radembedded ${SERVER_IP}
if test $? != 0;then
echo "Error in Radembedded handling"
exit 1
fi
exit 0
|