[LTP] [PATCH-v2] getrusage03: check available memory and move initial allocation out test loop

Julio Cruz Barroso julio.cruz@smartmatic.com
Wed Apr 13 03:17:08 CEST 2016


Hi Cyril, thanks for your revision. I will send a new revision taking your suggestion.


> -----Original Message-----
> From: Cyril Hrubis [mailto:chrubis@suse.cz]
> Sent: Tuesday, April 12, 2016 11:59 PM
> To: Julio Cruz
> Cc: Julio Cruz Barroso; ltp@lists.linux.it; Jan Stancek
> Subject: Re: [LTP] [PATCH-v2] getrusage03: check available memory and move
> initial allocation out test loop
> 
> Hi!
> > +	tst_resm(TINFO, "Available memory: %ldMB\n",
> get_available_memory_mb());
>                                                  ^
> 				The tst_resm() and tst_brkm() functions
> 				adds newline at the end of output
> 				automatically. The '\n' here would
> 				produce empty lines in output.
> 
> 
> --
> Cyril Hrubis
> chrubis@suse.cz


More information about the ltp mailing list