From: kn Date: Thu, 2 Dec 2021 17:09:46 +0000 (+0000) Subject: Log that kern.allowdt=1 is needed and where X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9732ffc670ef01d72e02562520d9f6516b571418;p=openbsd Log that kern.allowdt=1 is needed and where This helps grepping logs for SKIPPED to find instructions for the next run. --- diff --git a/regress/usr.sbin/btrace/Makefile b/regress/usr.sbin/btrace/Makefile index 54cfbabdd88..f9e03417d91 100644 --- a/regress/usr.sbin/btrace/Makefile +++ b/regress/usr.sbin/btrace/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.23 2021/10/03 22:01:48 dv Exp $ +# $OpenBSD: Makefile,v 1.24 2021/12/02 17:09:46 kn Exp $ BTRACE?= /usr/sbin/btrace ALLOWDT!= sysctl -n kern.allowdt @@ -39,6 +39,7 @@ run-$b: ${SUDO} ${BTRACE} ${.CURDIR}/$b.bt 2>&1 | \ diff -u ${.CURDIR}/$b.ok /dev/stdin .else + @echo 'Set "sysctl kern.allowdt=1" to enable $@ tests' @echo SKIPPED .endif .endfor