From: Ian Jackson Subject: [OSSTEST PATCH 4/7] TestSupport: Provide target_cmd_inputfh_root Date: Tue, 29 Sep 2015 14:37:24 +0100 Message-ID: <1443533847-16987-5-git-send-email-ian.jackson@eu.citrix.com> References: <1443533847-16987-1-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.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Zgv6G-0002uj-CB for xen-devel@lists.xenproject.org; Tue, 29 Sep 2015 13:37:44 +0000 In-Reply-To: <1443533847-16987-1-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: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org No caller yet. Signed-off-by: Ian Jackson --- 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 -- 1.7.10.4