diff mbox series

[OSSTEST,73/82] host reuse: sg-run-job: Reanme post-test-ok parameter

Message ID 20201007180024.7932-74-iwj@xenproject.org (mailing list archive)
State New, archived
Headers show
Series Reuse test hosts | expand

Commit Message

Ian Jackson Oct. 7, 2020, 6 p.m. UTC
From: Ian Jackson <ian.jackson@eu.citrix.com>

This is more accurate.

No overall functional change.

Signed-off-by: Ian Jackson <iwj@xenproject.org>
---
 sg-run-job    | 2 +-
 ts-host-reuse | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/sg-run-job b/sg-run-job
index 1e2fcfee..2feb67d9 100755
--- a/sg-run-job
+++ b/sg-run-job
@@ -124,7 +124,7 @@  proc run-job {job} {
        set ok 0
     }
 
-    if {$ok} { per-host-ts .  =            { ts-host-reuse post-test }    }
+    if {$ok} { per-host-ts .  =            { ts-host-reuse post-test-ok } }
     if {$ok} { setstatus pass                                             }
 
     if {[llength $need_build_host] && $ok} { jobdb::preserve-task 90 }
diff --git a/ts-host-reuse b/ts-host-reuse
index 85beb51e..aad45bdd 100755
--- a/ts-host-reuse
+++ b/ts-host-reuse
@@ -152,7 +152,7 @@  sub act_start_test () {
     host_shared_mark_ready($ho, $sharetype, \%oldstate, 'mid-test');
 }
 
-sub act_post_test () {
+sub act_post_test_ok () {
     compute_test_sharetype();
     $ho = selecthost($whhost);
     return unless $ho->{Shared};