From 141af660252b7ea2753464a703b2e60a296f4150 Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 7 Oct 2023 09:09:07 +0000 Subject: [PATCH] use more specific regression testing knob --- usr.sbin/pkg_add/OpenBSD/PkgCreate.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm index 4ce2a45851a..402d015142b 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgCreate.pm @@ -1,6 +1,6 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgCreate.pm,v 1.195 2023/07/20 17:56:37 espie Exp $ +# $OpenBSD: PkgCreate.pm,v 1.196 2023/10/07 09:09:07 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -1684,7 +1684,7 @@ sub run_command($self, $state) } $state->{stash} = {}; - if ($state->{bad} && !$state->defines('REGRESSION_TESTING')) { + if ($state->{bad} && !$state->{regression}{plist_checks}) { $state->fatal("can't continue"); } $state->{bad} = 0; -- 2.20.1