From: Ian Jackson <ian.jackson@eu.citrix.com>
To: <xen-devel@lists.xenproject.org>
Cc: Ian Jackson <ian.jackson@eu.citrix.com>
Subject: [Xen-devel] [OSSTEST PATCH 2/4] TestSupport: Provide target_getfile_stash
Date: Tue, 24 Sep 2019 15:42:42 +0100 [thread overview]
Message-ID: <20190924144244.7940-2-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <20190924144244.7940-1-ian.jackson@eu.citrix.com>
No callers yet.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
---
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@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
next prev parent reply other threads:[~2019-09-24 14:43 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-24 14:42 [Xen-devel] [OSSTEST PATCH 1/4] TestSupport: Break out target_getfile_something_stash Ian Jackson
2019-09-24 14:42 ` Ian Jackson [this message]
2019-09-24 14:42 ` [Xen-devel] [OSSTEST PATCH 3/4] ts-*-build: Save the .config (as <host>--kconfig) Ian Jackson
2019-09-24 14:42 ` [Xen-devel] [OSSTEST PATCH 4/4] ts-kernel-build: Actually disable CONFIG_ARCH_QCOM Ian Jackson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190924144244.7940-2-ian.jackson@eu.citrix.com \
--to=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.