From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS6315 166.70.0.0/16 X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.1 Received: from out02.mta.xmission.com (out02.mta.xmission.com [166.70.13.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5BFD51F597; Wed, 18 Jul 2018 00:32:47 +0000 (UTC) Received: from in02.mta.xmission.com ([166.70.13.52]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ffaOc-0000Ii-NG; Tue, 17 Jul 2018 18:32:46 -0600 Received: from [97.119.167.31] (helo=x220.int.ebiederm.org) by in02.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ffaOc-0005nf-1G; Tue, 17 Jul 2018 18:32:46 -0600 From: "Eric W. Biederman" To: Eric Wong Cc: meta@public-inbox.org, "Eric W. Biederman" Date: Tue, 17 Jul 2018 19:32:00 -0500 Message-Id: <20180718003201.31740-3-ebiederm@xmission.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <87sh4hidvg.fsf@xmission.com> References: <87sh4hidvg.fsf@xmission.com> X-XM-SPF: eid=1ffaOc-0005nf-1G;;;mid=<20180718003201.31740-3-ebiederm@xmission.com>;;;hst=in02.mta.xmission.com;;;ip=97.119.167.31;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX195BxXMlNvjUc7ulErpvJVrh+EkhnrbtZc= X-SA-Exim-Connect-IP: 97.119.167.31 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: [PATCH 3/4] t/v2reindex.t: Don't reuse $ibx as two different kinds of variable X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in02.mta.xmission.com) List-Id: Signed-off-by: "Eric W. Biederman" --- t/v2reindex.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/v2reindex.t b/t/v2reindex.t index f8e2b1b2d46e..5bc307f1cac1 100644 --- a/t/v2reindex.t +++ b/t/v2reindex.t @@ -14,13 +14,13 @@ foreach my $mod (qw(DBD::SQLite Search::Xapian)) { } use_ok 'PublicInbox::V2Writable'; my $mainrepo = tempdir('pi-v2reindex-XXXXXX', TMPDIR => 1, CLEANUP => 1); -my $ibx = { +my $ibx_config = { mainrepo => $mainrepo, name => 'test-v2writable', version => 2, -primary_address => 'test@example.com', }; -$ibx = PublicInbox::Inbox->new($ibx); +my $ibx = PublicInbox::Inbox->new($ibx_config); my $mime = PublicInbox::MIME->create( header => [ From => 'a@example.com', -- 2.17.1