From f2bfb3ff25d0313938f56b5366c41bd2be4b0d07 Mon Sep 17 00:00:00 2001 From: Roger Pau Monne Date: Wed, 13 Jun 2018 09:40:13 +0200 Subject: [PATCH] osstest: add executive prefix to resource_shared_mark_ready MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This is a non-functional change in preparation for introducing a resource_shared_mark_ready in TestSupport. Signed-off-by: Roger Pau Monné Acked-by: Ian Jackson --- Changes since v4: - New in this version. --- Osstest/Executive.pm | 5 +++-- Osstest/JobDB/Executive.pm | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Osstest/Executive.pm b/Osstest/Executive.pm index 1d706df..0be27b6 100644 --- a/Osstest/Executive.pm +++ b/Osstest/Executive.pm @@ -53,7 +53,8 @@ BEGIN { tcpconnect_queuedaemon plan_search manual_allocation_base_jobinfo alloc_resources alloc_resources_rollback_begin_work - resource_check_allocated resource_shared_mark_ready + resource_check_allocated + executive_resource_shared_mark_ready duration_estimator db_pg_dsn opendb opendb_state db_schema_updates_applied db_schema_updates_intree @@ -995,7 +996,7 @@ END return $shared; } -sub resource_shared_mark_ready ($$$) { +sub executive_resource_shared_mark_ready ($$$) { my ($restype, $resname, $sharetype) = @_; # must run outside transaction diff --git a/Osstest/JobDB/Executive.pm b/Osstest/JobDB/Executive.pm index fe8e7f6..ea34905 100644 --- a/Osstest/JobDB/Executive.pm +++ b/Osstest/JobDB/Executive.pm @@ -353,7 +353,7 @@ sub gen_ether_offset ($$) { #method sub jobdb_resource_shared_mark_ready { #method my ($mo, $restype, $resname, $sharetype) = @_; - resource_shared_mark_ready($restype, $resname, $sharetype); + executive_resource_shared_mark_ready($restype, $resname, $sharetype); } sub jobdb_check_other_job { #method -- 2.39.5