e.g. If the file to be edited is only accessible to the root user, target_getfile() would not work.
Signed-off-by: Anthony PERARD <anthony.per...@citrix.com> --- Osstest/TestSupport.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm index c9dada3..65324fb 100644 --- a/Osstest/TestSupport.pm +++ b/Osstest/TestSupport.pm @@ -638,7 +638,7 @@ sub teditfileex { logm("editing $rfile to $rdest as $lfile".'{,.new}'); } - target_getfile($ho, 60, $rfile, $lfile); + tgetfileex($user, $ho, 60, $rfile, $lfile); open '::EI', "$lfile" or die "$lfile: $!"; open '::EO', "> $lfile.new" or die "$lfile.new: $!"; -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel