git.stg.codes
/
stg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f8cc12
)
Added changing permissions.
author
Maxim Mamontov
<faust.madf@gmail.com>
Fri, 10 Oct 2014 19:57:28 +0000
(22:57 +0300)
committer
Maxim Mamontov
<faust.madf@gmail.com>
Fri, 10 Oct 2014 19:57:28 +0000
(22:57 +0300)
functest/test_admins.sh
patch
|
blob
|
history
diff --git
a/functest/test_admins.sh
b/functest/test_admins.sh
index f82205e29cf6114f2e403c4d87b0ed6c91bcd07e..d82d97bcb596c73f768a04c682524131a1d72954 100755
(executable)
--- 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