From: espie Date: Sat, 7 Oct 2023 09:09:07 +0000 (+0000) Subject: use more specific regression testing knob X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=141af660252b7ea2753464a703b2e60a296f4150;p=openbsd use more specific regression testing knob --- 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;