From b02b16caabc25b0c781b6bd725e025e1ebeba041 Mon Sep 17 00:00:00 2001 From: amy0701 Date: Tue, 11 Oct 2011 04:53:52 +0000 Subject: [PATCH] update testcase for makedhcp git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10736 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-test/autotest/testcase/makedhcp/cases0 | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/xCAT-test/autotest/testcase/makedhcp/cases0 b/xCAT-test/autotest/testcase/makedhcp/cases0 index 760c505a7..42814a96c 100644 --- a/xCAT-test/autotest/testcase/makedhcp/cases0 +++ b/xCAT-test/autotest/testcase/makedhcp/cases0 @@ -56,7 +56,7 @@ end start:makedhcp_a_linux description:Define all nodes to the DHCP server. (Will only add nodes that can be reached, network-wise, by this DHCP server.) The dhcp daemon does not have to be restarted after this. os:Linux -cmd:mkdef -t node -o testnode1 groups=compute mac=11:22:33:55:66:88 arch=ppc64 +cmd:chdef -t node -o testnode1 groups=compute mac=11:22:33:55:66:88 arch=ppc64 cmd:chdef -t node -o testnode1 netboot=yaboot tftpserver=192.16.10.0 nfsserver=192.16.10.0 monserver=192.16.10.0 xcatmaster=192.16.10.0 installnic="mac" primarynic="mac" cmd:lsdef -l testnode1 -z > /tmp/CN.stanza cmd:chdef -t node -o testnode1 mac=11:22:33:44:55:66 @@ -140,12 +140,3 @@ check:output!~$$CN cmd:makedhcp -a end -start:makedhcp_d -os:Linux -cmd:makedhcp -d $$CN -check:rc==0 -cmd:cat /var/lib/dhcpd/dhcpd.leases | grep $$CN -check:output!~$$CN -cmd:makedhcp -a -end -