[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH OSSTEST 03/12] osstest migrate support check catch -> variables
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- sg-run-job | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sg-run-job b/sg-run-job index 2cf810a..cc2ab3b 100755 --- a/sg-run-job +++ b/sg-run-job @@ -289,7 +289,9 @@ proc run-job/test-pair {} { } proc test-guest-migr {g} { - if {[catch { run-ts . = ts-migrate-support-check + host $g }]} return + set to_reap [spawn-ts . = ts-migrate-support-check + host $g] + set can_migrate [reap-ts $to_reap] + if {!$can_migrate} return foreach iteration {{} .2} { run-ts . =$iteration ts-guest-saverestore + host $g -- 1.9.1 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |