From db2ddd1af19e73974a366b2d730cdf1d09e0c88b Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 8 Oct 2023 06:55:02 +0000 Subject: [PATCH] plain forgot to save the values for regression testing --- usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm index c7d1d701b68..1cf648880bf 100644 --- a/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm +++ b/usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: AddCreateDelete.pm,v 1.52 2023/06/13 09:07:16 espie Exp $ +# $OpenBSD: AddCreateDelete.pm,v 1.53 2023/10/08 06:55:02 espie Exp $ # # Copyright (c) 2007-2014 Marc Espie # @@ -78,6 +78,11 @@ sub handle_options($state, $opt_string, @usage) } } $state->{interactive} = $state->interactive_class($i)->new($state, $i); + if ($state->defines('REGRESSION_TESTING')) { + for my $i (split(',', $state->defines('REGRESSION_TESTING'))) { + $state->{regression}{$i} = 1; + } + } } sub interactive_class($, $i) -- 2.20.1