[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 2/4] TestSupport: Provide target_getfile_stash


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Date: Tue, 24 Sep 2019 15:42:42 +0100
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=ian.jackson@xxxxxxxxxxxxx; spf=Pass smtp.mailfrom=Ian.Jackson@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
  • Delivery-date: Tue, 24 Sep 2019 14:42:58 +0000
  • Ironport-sdr: t7Hpmahe/49sUkWJdt7OLSRVZ4zQrREB+GmqYah8/B9878gCEdrB8SQXNEhJOgU2nv+jpYOLYP Ki1VkWbgfCQvgSakFPWxoNgHY/1hV3o68pK/Y2WoyPnHeT6GVjnnXr9fF3Lww08uVa7xeFdOJn lxiIYkK86qNLeetiWElQU9/OaVSsC8frTVRSTmmg9D1yQP5Lrp8+UesCLhpFpNcXrm6uoGuFh1 fFQAfnBm2XuR50F2UvT4qmknag+28dJehk9DpnFgr2ftH2br2KIwf6GTOX1HZC7wPfRVSNZP0H 9Iw=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

No callers yet.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 Osstest/TestSupport.pm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index 896e275e..6937b65d 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -61,7 +61,7 @@ BEGIN {
                       target_cmd_inputfh_root sshuho
                       target_getfile target_getfile_root
                       target_putfile target_putfile_root
-                     target_getfile_root_stash
+                     target_getfile_stash target_getfile_root_stash
                       target_putfilecontents_stash
                      target_putfilecontents_root_stash
                       target_put_guest_image target_editfile
@@ -573,6 +573,10 @@ sub target_getfile_something_stash ($$$$;$) {
     $tgf->($ho,$timeout,$rsrc,$lfile);
     return $lfile;
 }    
+sub target_getfile_stash ($$$;$) {
+    my ($ho,$timeout,$rsrc, $lleaf) = @_; # => full path of local file
+    &target_getfile_something_stash(\&target_getfile, @_);
+}
 sub target_getfile_root_stash ($$$;$) {
     my ($ho,$timeout,$rsrc, $lleaf) = @_; # => full path of local file
     &target_getfile_something_stash(\&target_getfile_root, @_);
-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.