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

Cyril Hrubis chrubis@suse.cz
Thu Mar 8 16:14:03 CET 2018


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


More information about the ltp mailing list