diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2017-09-27 09:24:14 +0800 |
---|---|---|
committer | xiaodong shang <shang.xiaodong@zte.com.cn> | 2017-09-27 01:37:17 +0000 |
commit | 4525b0dc066d17e4f7818d39801ca6b8f02aca13 (patch) | |
tree | cc6aea25a0255127c590d534ade88c8471c019a2 /tests | |
parent | d0ca34eb13c5bb7f716372f59568d723b7f6bda7 (diff) |
Fix user role list bug
Currently the query misses a option of --user,
the patch will fix it.
JIRA: PARSER-158
Change-Id: I324d843b00271f7fb333b02c5372cb061d09ae70
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/functest_run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functest_run.sh b/tests/functest_run.sh index a582d76..abd0ece 100755 --- a/tests/functest_run.sh +++ b/tests/functest_run.sh @@ -104,7 +104,7 @@ create_parser_user_and_project() { } # 3. grant role for parser user - openstack ${debug} role list ${PARSER_USER} --project ${PARSER_PROJECT} \ + openstack ${debug} role 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." } || { |