From a092441f67f52350dea0b3616cd6e4decf736129 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 8 Aug 2013 16:21:03 +0800 Subject: [PATCH] add testcase lsdef --nics --- xCAT-test/autotest/testcase/lsdef/cases0 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/xCAT-test/autotest/testcase/lsdef/cases0 b/xCAT-test/autotest/testcase/lsdef/cases0 index 2c8f50bbe..0a4af8608 100644 --- a/xCAT-test/autotest/testcase/lsdef/cases0 +++ b/xCAT-test/autotest/testcase/lsdef/cases0 @@ -196,3 +196,14 @@ cmd:lsdef -t node -h -i status check:rc==0 check:output=~status end + +start:lsdef_nics +description:lsdef --nics +cmd:mkdef -t node -o testnode1 groups=all mgt=ipmi nicips.eth0=1.1.1.1 +check:rc==0 +cmd:lsdef testnode1 --nics +check:rc==0 +check:output=~1.1.1.1 +cmd:rmdef testnode1 +check:rc==0 +end