From 768360d78c1b5553974b4d612e30663d561d2994 Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Fri, 10 Oct 2014 22:57:28 +0300 Subject: [PATCH] Added changing permissions. --- functest/test_admins.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/functest/test_admins.sh b/functest/test_admins.sh index f82205e2..d82d97bc 100755 --- a/functest/test_admins.sh +++ b/functest/test_admins.sh @@ -33,3 +33,11 @@ printf "Logins:\n$LOGINS\n" NUM=`printf "$LOGINS" | wc -l` printf -- "--------\n$NUM\n\n" + +RES=`"$SGCONFPATH/sgconf" -s localhost -p 5555 -u admin -w 123456 --chg-admin admin --priv 111111111` + +if [ "$?" != "0" ] +then + printf "Failed to update admin's priviledges Result:\n$RES\n" + exit 0 +fi -- 2.44.2