diff mbox

[v2,8/9] sg-run-job: Add the test-livepatch.

Message ID 1481611195-105372-9-git-send-email-konrad.wilk@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

Konrad Rzeszutek Wilk Dec. 13, 2016, 6:39 a.m. UTC
This way we have the test-livepatch which can unroll to depend on:
 ts-livepatch-install
 ts-livepatch-run

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
v1: Initial submission
v2: Include the plus host on the recipe.
---
 sg-run-job | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Ian Jackson Dec. 13, 2016, 5:08 p.m. UTC | #1
Konrad Rzeszutek Wilk writes ("[PATCH v2 8/9] sg-run-job: Add the test-livepatch."):
> This way we have the test-livepatch which can unroll to depend on:
>  ts-livepatch-install
>  ts-livepatch-run

Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
diff mbox

Patch

diff --git a/sg-run-job b/sg-run-job
index 104c880..1abfc83 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -421,6 +421,12 @@  proc run-job/test-xtf {} {
     run-ts . = ts-xtf-run
 }
 
+proc need-hosts/test-livepatch {} { return host }
+proc run-job/test-livepatch {} {
+    run-ts . = ts-livepatch-install + host
+    run-ts . = ts-livepatch-run + host
+}
+
 proc test-guest-migr {g} {
     set to_reap [spawn-ts . = ts-migrate-support-check + host $g 1]
     set can_migrate [reap-ts $to_reap]