From e5c4fc71c12668d46ed4fd44dcb1b43948053c90 Mon Sep 17 00:00:00 2001 From: anton Date: Wed, 27 Sep 2023 05:18:40 +0000 Subject: [PATCH] Cope with progname now being present in vmd errors messages. --- regress/usr.sbin/vmd/config/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1