From: Maxim Mamontov Date: Fri, 10 Oct 2014 19:57:28 +0000 (+0300) Subject: Added changing permissions. X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/768360d78c1b5553974b4d612e30663d561d2994?ds=inline Added changing permissions. --- 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