From: mpi Date: Thu, 9 Sep 2021 10:00:04 +0000 (+0000) Subject: Hook test for command line arguments support. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=7f825f6651d79bce563f7fe3547ee794bc73aae7;p=openbsd Hook test for command line arguments support. --- diff --git a/regress/usr.sbin/btrace/Makefile b/regress/usr.sbin/btrace/Makefile index 2173875b57c..cd553a3748d 100644 --- a/regress/usr.sbin/btrace/Makefile +++ b/regress/usr.sbin/btrace/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.18 2021/09/09 09:56:32 mpi Exp $ +# $OpenBSD: Makefile,v 1.19 2021/09/09 10:00:04 mpi Exp $ BTRACE?= /usr/sbin/btrace ALLOWDT!= sysctl -n kern.allowdt @@ -21,6 +21,12 @@ run-$b: diff -u ${.CURDIR}/$b.ok /dev/stdin .endfor +b=staticv +REGRESS_TARGETS+= run-$b +run-$b: + ${BTRACE} ${.CURDIR}/$b.bt 42 1337 -2019 2>&1 | \ + diff -u ${.CURDIR}/$b.ok /dev/stdin + .for b in ${BT_KERN_SCRIPTS} REGRESS_TARGETS+= run-$b REGRESS_ROOT_TARGETS+= run-$b diff --git a/regress/usr.sbin/btrace/staticv.args b/regress/usr.sbin/btrace/staticv.args deleted file mode 100644 index 14646f2d360..00000000000 --- a/regress/usr.sbin/btrace/staticv.args +++ /dev/null @@ -1 +0,0 @@ -42 1337 -2019 \ No newline at end of file