[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH OSSTEST 10/12] Compose the main body of test-nested test job.



 Compose the main body of test-nested test job. 
1. invoke ts-debian-hvm-install with host of 'host', gn of 'nested', 
 nested of 'nested_L1' 
2. then install xen (ts-xen-install) with host of 'host', gn of
 'nested', nested_build defined 
3. then again invoke ts-debian-hvm-install to
 install L2, with a different gn and nested param from L1 
4. finally destory L2 guest

---
 sg-run-job | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/sg-run-job b/sg-run-job
index cdd065f..6021971 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -288,6 +288,14 @@ proc run-job/test-pair {} {
 #    run-ts . remus-failover ts-remus-check         src_host dst_host + debian
 }
 
+proc need-hosts/test-nested {} {return host}
+proc run-job/test-nested {} {
+    run-ts . = ts-debian-hvm-install + host + nested + nested_L1
+    run-ts . = ts-xen-install + host + nested + nested_build
+    run-ts . = ts-debian-hvm-install + host + nested2 + nested_L2
+    run-ts . = ts-guest-destroy + host + nested
+}
+
 proc test-guest-migr {g} {
     if {[catch { run-ts . = ts-migrate-support-check + host $g }]} return
 
-- 
1.8.3.1


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.