Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 2 mistakes about help document #209

Merged
merged 2 commits into from Feb 28, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/ocft/README.in
Expand Up @@ -139,8 +139,8 @@ HOW TO WRITE CONFIGURATION FILE
If it happens, you ought to use BashAtExit which can restore the system environment
before you quit.

** 'RunAgent' (sub-option)
- Grammar: RunAgent cmd [ret_value]
** 'AgentRun' (sub-option)
- Grammar: AgentRun cmd [ret_value]
- This option is to run resource agent. "cmd" is the parameter of the resource agent,
such as "start, status, stop ...". The second parameter is optional. It will compare the
actual returned value with the expected value when the script has run recourse agent.
Expand Down
4 changes: 2 additions & 2 deletions tools/ocft/README.zh_CN.in
Expand Up @@ -116,8 +116,8 @@ test case生存期内,后台运行一个远程shell,他始终在后台运行
恢复,但是如果脚本在执行过程中产生某些错误,那么脚本会直接退出,而不会去执行你的恢复代码,
那么你就要用到BashAtExit,他能在你退出前去恢复系统环境。

2.5.6 'RunAgent' 选项
语法:RunAgent cmd [ret_value]
2.5.6 'AgentRun' 选项
语法:AgentRun cmd [ret_value]
此option会去运行resouce agent,'cmd' 就是resouce agent的参数,如 start,status,stop ...
第二个参数是可选的,它是你对系统环境作出特殊设定以后,你预计resouce agent会返回的值,
如果给出此参数,那么脚本会在运行resouce agent后,会比较此时的返回值和你预期的返回值,
Expand Down
2 changes: 2 additions & 0 deletions tools/ocft/ocft.in
Expand Up @@ -788,6 +788,8 @@ HOW TO USE THIS TOOL
the running status of each test case, which will compares the predicated result
with the actual one. If they differ, you will be able to find the bugs of the
resource agent.
- All of the output with test will be recorded into the log files, you can find them
in $CASES_DIR/logs.
EOF
}

Expand Down