add testcases for rmnimimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
faf9935347
commit
82a8901672
59
xCAT-test/autotest/testcase/rmnimimage/cases0
Normal file
59
xCAT-test/autotest/testcase/rmnimimage/cases0
Normal file
@ -0,0 +1,59 @@
|
||||
start:rmnimimage_imagename
|
||||
description:rmnimimage testimage
|
||||
os:AIX
|
||||
cmd:mknimimage -s $$SOURCE testimage
|
||||
check:rc==0
|
||||
check:output=~lpp_source=testimage_lpp_source
|
||||
check:output=~bosinst_data=testimage_bosinst_data
|
||||
check:output=~testimage
|
||||
cmd:rmnimimage testimage
|
||||
check:rc==0
|
||||
cmd:lsnim
|
||||
check:output!~testimage_bosinst_data
|
||||
check:output=~testimage_lpp_source
|
||||
cmd:rmdef -t osimage -o testimage
|
||||
end
|
||||
|
||||
start:rmnimimage_d_imagename
|
||||
description:rmnimimage -d imagename
|
||||
os:AIX
|
||||
cmd:mknimimage -s $$SOURCE testimage
|
||||
check:rc==0
|
||||
check:output=~lpp_source=testimage_lpp_source
|
||||
check:output=~bosinst_data=testimage_bosinst_data
|
||||
check:output=~testimage
|
||||
cmd:rmnimimage -d testimage
|
||||
check:rc==0
|
||||
cmd:lsnim
|
||||
check:output!~testimage
|
||||
cmd:tabdump osimage
|
||||
check:output=~testimage
|
||||
cmd:rmdef -t osimage -o testimage
|
||||
end
|
||||
|
||||
start:rmnimimage_x_imagename
|
||||
os:AIX
|
||||
cmd:mknimimage -s $$SOURCE testimage
|
||||
check:rc==0
|
||||
check:output=~lpp_source=testimage_lpp_source
|
||||
check:output=~bosinst_data=testimage_bosinst_data
|
||||
check:output=~testimage
|
||||
cmd:rmnimimage testimage
|
||||
check:rc==0
|
||||
cmd:tabdump osimage
|
||||
check:output=~testimage
|
||||
cmd:rmnimimage -x testimage
|
||||
ckeck:rc==0
|
||||
cmd:tabdump osimage
|
||||
ckeck:output!~testimage
|
||||
end
|
||||
|
||||
start:rmnimimage_h
|
||||
description:rmnimimage -h and --help
|
||||
os:AIX
|
||||
cmd:rmnimimage -h
|
||||
check:output=~usage|Usage
|
||||
cmd:rmnimimage --help
|
||||
check:output=~usage|Usage
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user