2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 20:30:56 +00:00

modify testcase

This commit is contained in:
junxiawang
2015-07-27 04:29:44 -04:00
parent ec54e17cc3
commit 2c2c6fb30c

View File

@ -15,8 +15,10 @@ cmd:xdcp $$CN /etc/hosts /tmp/hosts
check:rc==0
cmd:xdsh $$CN cat /tmp/hosts > /tmp/hosts
cmd:perl -pi -e 's/$$CN: //g' /tmp/hosts
cmd:cat /tmp/hosts
cmd:cat /etc/hosts
cmd:diff /tmp/hosts /etc/hosts
check:rc==0
#check:rc==0
cmd:xdsh $$CN rm -f /tmp/hosts
cmd:rm -f /tmp/hosts
end