[LTP] [PATCH] Add tst_flush() library function

Michael Moese mmoese@suse.de
Fri Mar 9 09:06:10 CET 2018


Hi,
Now that you tell me that, I can see this as well. Of course I did a local
build test, but the issue did not show up at first.

I will send more patches, changing safe_fork() and the old library.


Michael

On Thu, Mar 08, 2018 at 04:14:03PM +0100, Cyril Hrubis wrote:
> Hi!
> I've tried to apply this but found out that there is tst_flush() in the
> old library and because of that the code does not even compile.
> 
> So we have to rename the tst_flush() in the old library to something as
> tst_old_flush() and also remove it from the ltpapicmd.c since there are
> no shell tests that call that command (ltpapicmd.c should hopefully die
> some day soon). Should I do that or will you send another patch? :-)
> 
> Also we should make use of the tst_flush() in the safe_fork() so that we
> finally flush the right stream in the new test library...
> 
> -- 
> Cyril Hrubis
> chrubis@suse.cz


-- 
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)


More information about the ltp mailing list