]> xenbits.xensource.com Git - people/aperard/osstest.git/commitdiff
osstest: add executive prefix to resource_shared_mark_ready
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 8 Nov 2017 14:49:54 +0000 (14:49 +0000)
committerAnthony PERARD <anthony.perard@citrix.com>
Mon, 18 Dec 2017 16:32:26 +0000 (16:32 +0000)
This is a non-functional change in preparation for introducing a
resource_shared_mark_ready in TestSupport.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
Changes since v4:
 - New in this version.

Osstest/Executive.pm
Osstest/JobDB/Executive.pm

index 1d706dfd83b1341db25fc1078b1afea9dcb89185..0be27b641089a17b0bc8f2eb83883e56c8cf6b57 100644 (file)
@@ -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
 
index a7a6696fcf4379d41cef5818ae4a15068d4bd4ff..ed087b78402b064e82eb20fa9903508f5f4aed0b 100644 (file)
@@ -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