]> xenbits.xensource.com Git - people/iwj/osstest.git/commitdiff
DO NOT APPLY make-flight-diverse-test: test case for diverse-CLASS hostflag wip.diverse-class.v1
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 6 Jul 2016 15:10:11 +0000 (16:10 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 6 Jul 2016 15:22:14 +0000 (16:22 +0100)
This generates a flight with two jobs, test-1 and test-2.  They can be
run, and are supposed to allocate different hosts, and will bomb out
after host allocation.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
make-flight-diverse-test [new file with mode: 0755]

diff --git a/make-flight-diverse-test b/make-flight-diverse-test
new file mode 100755 (executable)
index 0000000..dffd23b
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+flight=`./cs-flight-create play xen-unstable`
+
+for j in test-1 test-2; do
+    ./cs-job-create $flight $j test-debian \
+        all_hostflags="blessed-adhoc,diverse-d"
+done
+
+echo $flight