summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-10-08 06:55:03 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-10-08 06:55:03 +0000
commit57ac4c031696dab238a124840d8259f274f77d8f (patch)
treeaaa6b9c32cb66e74de8a62e3b0ee6106e668043d
parent6368f3a9928969edd1333d79199d5865f909de20 (diff)
plain forgot to save the values for regression testing
-rw-r--r--usr.sbin/pkg_add/OpenBSD/AddCreateDelete.pm7
1 files changed, 6 insertions, 1 deletions
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 <espie@openbsd.org>
#
@@ -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)