Commit 89e8af70 authored by Iustin Pop's avatar Iustin Pop
Browse files

QA: check that doubly modifying an OS state is OK



This would have prevented the bug fixed in the previous patch :(
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent e2334900
......@@ -86,6 +86,9 @@ def _TestOsStates():
new_cmd = cmd + ["--%s" % param, val, _TEMP_OS_NAME]
AssertEqual(StartSSH(master["primary"],
utils.ShellQuoteArgs(new_cmd)).wait(), 0)
# check that double-running the command is OK
AssertEqual(StartSSH(master["primary"],
utils.ShellQuoteArgs(new_cmd)).wait(), 0)
def _SetupTempOs(node, dir, valid):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment