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.jack...@eu.citrix.com> CC: Wei Liu <wei.l...@citrix.com> --- make-flight-diverse-test | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 make-flight-diverse-test diff --git a/make-flight-diverse-test b/make-flight-diverse-test new file mode 100755 index 0000000..dffd23b --- /dev/null +++ b/make-flight-diverse-test @@ -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 -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel