2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-12 17:30:19 +00:00

Merge pull request #5690 from xuweibj/case_fix

fix issue 5596, recover env for case rinv_wrongbmcpasswd
This commit is contained in:
Weihua Hu
2018-10-11 13:39:03 +08:00
committed by GitHub

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