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

Remove trailing spaces in file ./xCAT-test/autotest/testcase/xcatconfig/case0

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent 39e41d5837
commit 486ed3f698

View File

@ -160,7 +160,7 @@ check:rc==0
cmd:cp -rf /install/postscripts/hostkeys /install/postscripts/hostkeysbak
check:rc==0
#step2:run command and check messages
cmd:xcatconfig -s -c 2>&1 |tee /tmp/xcatconfig.test
cmd:xcatconfig -s -c 2>&1 |tee /tmp/xcatconfig.test
check:rc==0
cmd:grep -iE "fail|error" /tmp/xcatconfig.test
check:rc!=0
@ -168,9 +168,9 @@ cmd:grep "Created xCAT certificate" /tmp/xcatconfig.test
check:rc==0
cmd:grep "Generating new node hostkeys" /tmp/xcatconfig.test
check:rc==0
cmd:grep "Signature ok" /tmp/xcatconfig.test
cmd:grep "Signature ok" /tmp/xcatconfig.test
check:rc==0
cmd:grep "Generating SSH2 RSA Key" /tmp/xcatconfig.test
cmd:grep "Generating SSH2 RSA Key" /tmp/xcatconfig.test
check:rc==0
#step3:Make sure /etc/xcat/hostkeys/ssh_host_rsa_key.pub is regenerated
cmd:diff /etc/xcat/hostkeys/ssh_host_rsa_key.pub /etc/xcat/hostkeysbak/ssh_host_rsa_key.pub