]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clear the dmesg buffer to prevent rotating causes issues
authorLi-Wen Hsu <lwhsu@FreeBSD.org>
Tue, 6 Oct 2020 04:18:42 +0000 (04:18 +0000)
committerLi-Wen Hsu <lwhsu@FreeBSD.org>
Tue, 6 Oct 2020 04:18:42 +0000 (04:18 +0000)
commit7862a433e947a78b44bce80bb7e00eeb44d752cd
tree8fef38a2db179b3972d7265f9e3a378b56e4a020
parentf165a1df9a8fb7bd57780b433cfb4c2cb3d1d9f4
Clear the dmesg buffer to prevent rotating causes issues

This is a workaround for the current continuously failing test case

sys.kern.sonewconn_overflow.sonewconn_overflow_01

The side effect is the dmesg buffer got cleared and may effect other tests
depends on dmesg output running in parallel.  The better solution would be
tailing the log file like /var/log/debug.log

Sponsored by: The FreeBSD Foundation
tests/sys/kern/sonewconn_overflow.py