From 839c6d85a38d9449dd8015803b9fa9c66b704f72 Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 8 Aug 2013 16:20:07 +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