2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Remove trailing spaces in file xCAT-test/autotest/testcase/snpool/setup_sn_pool_tftp_mount_mode

This commit is contained in:
GONG Jie 2017-12-31 23:59:59 +00:00
parent c8ed5b6578
commit dc38f42222

View File

@ -11,7 +11,7 @@ check:rc==0
cmd:makedns -n
check:rc==0
cmd:makeconservercf $$SN,$$CN
cmd:makeconservercf $$SN,$$CN
check:rc==0
cmd:cat /etc/conserver.cf | grep $$SN
check:output=~$$SN
@ -26,7 +26,7 @@ cmd:makedhcp -n
check:rc==0
cmd:makedhcp -a
check:rc==0
cmd:if cat /etc/*release |grep SUSE >/dev/null;then cat /var/lib/dhcp/db/dhcpd.leases|grep $$SN;elif cat /etc/*release |grep "Red Hat" >/dev/null;then cat /var/lib/dhcpd/dhcpd.leases|grep $$SN;fi
cmd:if cat /etc/*release |grep SUSE >/dev/null;then cat /var/lib/dhcp/db/dhcpd.leases|grep $$SN;elif cat /etc/*release |grep "Red Hat" >/dev/null;then cat /var/lib/dhcpd/dhcpd.leases|grep $$SN;fi
check:output=~$$SN
cmd:if cat /etc/*release |grep SUSE >/dev/null;then cat /var/lib/dhcp/db/dhcpd.leases|grep $$CN;elif cat /etc/*release |grep "Red Hat" >/dev/null;then cat /var/lib/dhcpd/dhcpd.leases|grep $$CN;fi
check:output=~$$CN
@ -48,7 +48,7 @@ check:rc==0
cmd:chdef -t site clustersite installloc=""
check:rc==0
cmd:cd /install/post/otherpkgs/__GETNODEATTR($$SN,os)__/__GETNODEATTR($$SN,arch)__/xcat/xcat-core && createrepo .
cmd:cd /install/post/otherpkgs/__GETNODEATTR($$SN,os)__/__GETNODEATTR($$SN,arch)__/xcat/xcat-core && createrepo .
check:rc==0
cmd:if [[ "__GETNODEATTR($$SN,os)__" =~ "rh" ]]; then path="rh";elif [[ "__GETNODEATTR($$SN,os)__" =~ "sles" ]];then path="sles";fi; ver="__GETNODEATTR($$SN,os)__"; tmp=${ver%.*};ver=`echo "$tmp"|sed 's:[a-zA-Z]::g'`;cd /install/post/otherpkgs/__GETNODEATTR($$SN,os)__/__GETNODEATTR($$SN,arch)__/xcat/xcat-dep/$path$ver/__GETNODEATTR($$SN,arch)__ && createrepo .;
@ -88,7 +88,7 @@ check:rc==0
check:output=~$$SN: $$SN
cmd:xdsh $$SN "tabdump site"
check:rc==0
check:output=~tftpdir
check:output=~tftpdir
cmd:rsync -auv --exclude 'autoinst' /install $$SN:/
check:rc==0
@ -110,7 +110,7 @@ check:rc==0
check:output=~xcatd:
cmd:xdsh $$CN "lsdef"
check:rc==0
check:output=~$$CN: $$CN
check:output=~$$CN: $$CN
cmd:xdsh $$CN "tabdump site"
check:rc==0
check:output=~tftpdir