On Thu, Aug 04, 2016 at 01:00:13PM +0100, Ian Jackson wrote: > Wei Liu writes ("[OSSTEST PATCH RFC 10/14] Introduce ts-xtf-fep"): > > Test the availability of FEP during runtime. > ... > > + my $ret = target_cmd_root($ho, <<END); > > + $xtfdir/xtf-runner fep > > +END > > + die "expecting $expect but fep test returned $ret" if $ret != $expect; > > target_cmd_root does not return a useful return value. >
Right. I should use the trick we discussed yesterday here. my $ret = target_cmd_output_root($ho, <<END); $xtfdir/xtf-runner fep ; echo \$\? END > Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel