]> xenbits.xensource.com Git - people/liuw/osstest.git/commit
Executive: Permit OSSTEST_TASK=<refkey> (for static tasks)
authorIan Jackson <ian.jackson@eu.citrix.com>
Tue, 8 Dec 2015 14:11:47 +0000 (14:11 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 8 Dec 2015 14:51:24 +0000 (14:51 +0000)
commitd1c61c34b9c21393fcd6ed5e58a0cab9aceea184
treee87b93c8bce938798b7f2420ff934aeca8b3bbcb
parent20abe6bbd12f5d3e63ddbcff9c1e0f550f4993e2
Executive: Permit OSSTEST_TASK=<refkey> (for static tasks)

If OSSTEST_TASK is not set, we construct a <refkey> from the username
and the nodename, and look for a such a static task.  If OSSTEST_TASK
/is/ set would require it to contain `<taskid> <type> <refkey>'.

In this patch, permit OSSTEST_TASK to be set simply to the <refkey>.
This is much more convenient and doesn't involve manually looking up
taskids.  The risk of error seems negligible.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Osstest/Executive.pm