update testcases for packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
843cefa565
commit
9cc24421ed
@ -1,19 +1,35 @@
|
||||
start:packimage_o_p_a_m
|
||||
os:Linux
|
||||
description:
|
||||
cmd:copycds $$ISO
|
||||
cmd:$$NETBOOTDIR/genimage -i __GETNODEATTR($$CN,installnic)__ -n $$NETDRIVER -o __GETNODEATTR($$CN,os)__ -p compute
|
||||
cmd:genimage -i __GETNODEATTR($$CN,installnic)__ -n $$NETDRIVER -o __GETNODEATTR($$CN,os)__ -p compute
|
||||
check:rc==0
|
||||
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
||||
check:rc==0
|
||||
cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -m $$PACKMETHOD
|
||||
cmd:packimage -o __GETNODEATTR($$CN,os)__ -p compute -a __GETNODEATTR($$CN,arch)__ -m cpio
|
||||
check:rc==0
|
||||
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
start:packimage_p_a_o
|
||||
os:Linux
|
||||
cmd:genimage -i __GETNODEATTR($$CN,installnic)__ -n $$NETDRIVER -o __GETNODEATTR($$CN,os)__ -p compute
|
||||
check:rc==0
|
||||
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
||||
check:rc==0
|
||||
cmd:packimage -p compute -a __GETNODEATTR($$CN,arch)__ -o __GETNODEATTR($$CN,os)__
|
||||
check:rc==0
|
||||
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg.gz
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
|
||||
|
||||
start:packimage_imagename
|
||||
os:Linux
|
||||
description:
|
||||
cmd:$$NETBOOTDIR/genimage -i __GETNODEATTR($$CN,installnic)__ -n $$NETDRIVER -o __GETNODEATTR($$CN,os)__ -p compute
|
||||
cmd:genimage -i __GETNODEATTR($$CN,installnic)__ -n $$NETDRIVER -o __GETNODEATTR($$CN,os)__ -p compute
|
||||
check:rc==0
|
||||
cmd:ls -l /install/netboot/__GETNODEATTR($$CN,os)__/__GETNODEATTR($$CN,arch)__/compute/rootimg
|
||||
check:rc==0
|
||||
@ -26,16 +42,17 @@ end
|
||||
|
||||
|
||||
start:packimage_h
|
||||
description:packimage -h
|
||||
os:Linux
|
||||
description:packimage -h
|
||||
cmd:packimage -h
|
||||
check:output=~Usage
|
||||
check:rc==0
|
||||
end
|
||||
|
||||
|
||||
start:packimage_v
|
||||
description:packimage -v
|
||||
os:Linux
|
||||
description:packimage -v
|
||||
cmd:packimage -v
|
||||
check:output=~version|Version
|
||||
end
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user