From: anton Date: Wed, 27 Sep 2023 05:18:40 +0000 (+0000) Subject: Cope with progname now being present in vmd errors messages. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e5c4fc71c12668d46ed4fd44dcb1b43948053c90;p=openbsd Cope with progname now being present in vmd errors messages. --- diff --git a/regress/usr.sbin/vmd/config/Makefile b/regress/usr.sbin/vmd/config/Makefile index d913840ca60..e9e9e742665 100644 --- a/regress/usr.sbin/vmd/config/Makefile +++ b/regress/usr.sbin/vmd/config/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.11 2023/04/26 10:14:21 dv Exp $ +# $OpenBSD: Makefile,v 1.12 2023/09/27 05:18:40 anton Exp $ VMD ?= /usr/sbin/vmd @@ -18,7 +18,7 @@ run-pass-$n: REGRESS_TARGETS += run-fail-$n run-fail-$n: ${VMD} -n -f ${.CURDIR}/vmd-fail-$n.conf 2>&1 | \ - cut -d : -f 2,3,4 | \ + sed -e 's/^vmd: //' -e 's|${.CURDIR}/vmd-fail-$n.conf:||' | \ diff -u ${.CURDIR}/vmd-fail-$n.ok /dev/stdin .endfor