From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [OSSTEST PATCH 4/7] TestSupport: Provide target_cmd_inputfh_root Date: Tue, 29 Sep 2015 15:09:48 +0100 Message-ID: <1443535788.16718.93.camel@citrix.com> References: <1443533847-16987-1-git-send-email-ian.jackson@eu.citrix.com> <1443533847-16987-5-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZgvbM-0001WY-TO for xen-devel@lists.xenproject.org; Tue, 29 Sep 2015 14:09:53 +0000 In-Reply-To: <1443533847-16987-5-git-send-email-ian.jackson@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson , xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On Tue, 2015-09-29 at 14:37 +0100, Ian Jackson wrote: > No caller yet. > > Signed-off-by: Ian Jackson Acked-by: Ian Campbell > --- > Osstest/TestSupport.pm | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm > index 91829a0..3fc8e15 100644 > --- a/Osstest/TestSupport.pm > +++ b/Osstest/TestSupport.pm > @@ -50,6 +50,7 @@ BEGIN { > > target_cmd_root target_cmd target_cmd_build > target_cmd_output_root target_cmd_output > + target_cmd_inputfh_root > target_getfile target_getfile_root > target_putfile target_putfile_root > target_putfilecontents_stash > @@ -655,6 +656,11 @@ sub tcmdout { > sub target_cmd_output ($$;$) { tcmdout('osstest',@_); } > sub target_cmd_output_root ($$;$) { tcmdout('root',@_); } > > +sub target_cmd_inputfh_root ($$$;$$) { > + my ($tho,$stdinfh,$tcmd,@rest) = @_; > + tcmd($stdinfh,undef,'root',$tho,$tcmd,@rest); > +} > + > sub poll_loop ($$$&) { > my ($maxwait, $interval, $what, $code) = @_; > # $code should return undef when all is well