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

Cyril Hrubis chrubis@suse.cz
Tue Apr 12 17:58:52 CEST 2016


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