summaryrefslogtreecommitdiffstats
path: root/tests/functest_run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functest_run.sh')
-rwxr-xr-xtests/functest_run.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/functest_run.sh b/tests/functest_run.sh
index abd0ece..3afbd56 100755
--- a/tests/functest_run.sh
+++ b/tests/functest_run.sh
@@ -104,17 +104,17 @@ create_parser_user_and_project() {
}
# 3. grant role for parser user
- openstack ${debug} role list --user ${PARSER_USER} --project ${PARSER_PROJECT} \
+ openstack ${debug} role assignment list --user ${PARSER_USER} --project ${PARSER_PROJECT} \
| grep -qow ${PARSER_ROLE} && {
echo " User ${PARSER_USER} has role ${PARSER_ROLE} in project ${PARSER_PROJECT}, doesn't create."
} || {
openstack ${debug} role add ${PARSER_ROLE} --user ${PARSER_USER} \
--project ${PARSER_PROJECT}
- echo " Grant user ${PARSER_USER} the role ${PARSER_ROLE} in project ${PARSER_PROJECT} successful."
+ echo " Grant user ${PARSER_USER} the role of ${PARSER_ROLE} in project ${PARSER_PROJECT} successful."
openstack ${debug} role list | grep -qow heat_stack_owner && {
openstack ${debug} role add heat_stack_owner --user ${PARSER_USER} \
--project ${PARSER_PROJECT}
- echo " Grant user ${PARSER_USER} the role heat_stack_owner in project ${PARSER_PROJECT} successful."
+ echo " Grant user ${PARSER_USER} the role of heat_stack_owner in project ${PARSER_PROJECT} successful."
}
}