3 source `dirname $0`/functions
7 SGCONFPATH="$BASEPATH/stg/build/sgconf"
9 printf "Check server info... "
11 RES=`"$SGCONFPATH/sgconf" -s localhost -p 5555 -u admin -w 123456 --server-info`
16 printf "Failed to get admins list. Result:\n$RES\n"
20 printf "Ok\nResult:\n%s" "$RES"
22 #LOGINS=`getFields "login" "$RES"`
24 #NUM=`count "$LOGINS"`
29 # printf "Admin list should have exactly one entry.\n"
30 # printf "Logins:\n$LOGINS\n"
31 # printf -- "--------\n$NUM\n\n"