2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 03:32:04 +00:00

fix issue 5596, recover env for case rinv_wrongbmcpasswd

This commit is contained in:
xuweibj 2018-10-10 04:16:26 -04:00
parent aca853b05b
commit cc03b50b15

View File

@ -154,6 +154,7 @@ check:rc==0
cmd:rinv $$CN all
check:rc==1
check:output=~$$CN: (\[.*?\]: )?Error:.+Invalid username or password|Error: (\[.*?\]: )?ERROR: Incorrect password provided
cmd:chdef $$CN bmcpassword=
cmd:cat /tmp/testnode.stanza | chdef -z;rm -rf /tmp/testnode.stanza
check:rc==0
end