2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +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
commit ea11ec4101
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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