]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Clear the dmesg buffer to prevent rotating causes issues
authorlwhsu <lwhsu@FreeBSD.org>
Tue, 6 Oct 2020 04:18:42 +0000 (04:18 +0000)
committerlwhsu <lwhsu@FreeBSD.org>
Tue, 6 Oct 2020 04:18:42 +0000 (04:18 +0000)
commit7f9d95ca4baafa62430b731c78593e9c215859fc
tree8fef38a2db179b3972d7265f9e3a378b56e4a020
parent47705ebc69577e67e148747e20d8814c46a3be4a
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