[LTP] Issue with the reporting of failed tests

Cyril Hrubis chrubis@suse.cz
Thu Apr 21 17:30:42 CEST 2016


Hi!
> Calling fflush does appear to solve the problem:
> 
> # grep -c FAIL result-log.5160
> 38
> 
> # wc -l result-failed.5160
> 38 result-failed.5160
> 
> Does this mean no one ever reads FAILCMDFILE?!

Just to have complete image here. I've discussed this a bit more at #ltp
irc channel and the reason why we do not see this bug often is that the
exec() that is done by the child after pan forks must fail (for example
since bash is missing) then the code proceeds to exit(errno) line which
flushes the buffers on open files...

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list