[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 1/2] TestSupport.pm: introduce host_get_free_memory



Wei Liu writes ("Re: [PATCH 1/2] TestSupport.pm: introduce 
host_get_free_memory"):
> On Mon, Apr 14, 2014 at 03:44:09PM +0100, Ian Jackson wrote:
> > Also, did you test this ?  target_cmd_root doesn't return you the
> > output.
> 
> I tested with a dummy ts- script (it's in fact ts-debian-hvm-install
> with most operations removed) it did print out the value.

I think if you use target_cmd_root, the stdout from the command ends
up on the stdout from the ts-* script (ie, in production, in the step
transcript logfile).  Is that perhaps what you saw ?

> If it's not the right function to use, what do you suggeust?

I think you want target_cmd_output_root.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.