diff mbox

[v1,6/7] sg-run-job: Add the test-livepatch.

Message ID 1479346630-122644-7-git-send-email-konrad.wilk@oracle.com (mailing list archive)
State New, archived
Headers show

Commit Message

Konrad Rzeszutek Wilk Nov. 17, 2016, 1:37 a.m. UTC
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
---
 sg-run-job | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Ian Jackson Nov. 17, 2016, 12:23 p.m. UTC | #1
Konrad Rzeszutek Wilk writes ("[PATCH v1 6/7] sg-run-job: Add the test-livepatch."):
> +proc need-hosts/test-livepatch {} { return host }
> +proc run-job/test-livepatch {} {
> +    run-ts . = ts-livepatch host

  +    run-ts . = ts-livepatch + host

Please.  I think that will make a prettier testid.

Otherwise this is fine.

Thanks,
Ian.
diff mbox

Patch

diff --git a/sg-run-job b/sg-run-job
index c5cc3c6..7e326b9 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -421,6 +421,11 @@  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 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]