summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-06-14 07:52:38 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-06-14 07:52:38 +0000
commit8a84f26086a4e7da8b5390669c5f54ed11692045 (patch)
treefb3fad69d7f6ec971a22f362ef951a5c03997b8c /regress
parent8a87ef74f6acf2cf1e4be779a3004f9c3063e75c (diff)
fix test after method name change
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/pkg_add/inject-badsum4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/pkg_add/inject-badsum b/regress/usr.sbin/pkg_add/inject-badsum
index c97e9867a7a..2403b4b1668 100644
--- a/regress/usr.sbin/pkg_add/inject-badsum
+++ b/regress/usr.sbin/pkg_add/inject-badsum
@@ -1,6 +1,6 @@
#! /usr/bin/perl
-# $OpenBSD: inject-badsum,v 1.1 2019/08/02 14:57:53 espie Exp $
+# $OpenBSD: inject-badsum,v 1.2 2023/06/14 07:52:37 espie Exp $
use strict;
use warnings;
@@ -14,7 +14,7 @@ wrap('digest_file',
my $original = shift;
if ($_[1] =~ m,/a$,) {
my $self = shift;
- my $d = $self->algo;
+ my $d = $self->_algo;
$d->addfile("/dev/null");
return $d->digest;
} else {