Log that kern.allowdt=1 is needed and where
authorkn <kn@openbsd.org>
Thu, 2 Dec 2021 17:09:46 +0000 (17:09 +0000)
committerkn <kn@openbsd.org>
Thu, 2 Dec 2021 17:09:46 +0000 (17:09 +0000)
This helps grepping logs for SKIPPED to find instructions for the next run.

regress/usr.sbin/btrace/Makefile

index 54cfbab..f9e0341 100644 (file)
@@ -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