@@ -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, @_);
No callers yet. Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> --- Osstest/TestSupport.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)