X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/6aadaaf234bfd8129e8b4ff7f64c3aef8df54659..384b6aa9598ee2c9edebcb158549f0ced324ad30:/functest/test_admins.sh 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