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 out01.mta.xmission.com (out01.mta.xmission.com [166.70.13.231]) (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 C7D461F597; Wed, 18 Jul 2018 00:31:22 +0000 (UTC) Received: from in01.mta.xmission.com ([166.70.13.51]) by out01.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ffaNF-0001dk-PV; Tue, 17 Jul 2018 18:31:21 -0600 Received: from [97.119.167.31] (helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1ffaN0-0001LW-9f; Tue, 17 Jul 2018 18:31:21 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Eric Wong Cc: Date: Tue, 17 Jul 2018 19:30:59 -0500 Message-ID: <87sh4hidvg.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1ffaN0-0001LW-9f;;;mid=<87sh4hidvg.fsf@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=97.119.167.31;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX1+bl3nXU12i0TU2bH3uTTc2OuSB7PQCuYw= X-SA-Exim-Connect-IP: 97.119.167.31 X-SA-Exim-Mail-From: ebiederm@xmission.com Subject: [PATCH 0/4] minor test cleanups X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) List-Id: While developing the ability to disable the indexes I found a few places where the existing tests could be slightly improved. Here are my improvements. Eric W. Biederman (4): t/v2reindex.t: Ensure the numbers 1 to 10 are used t/search.t t/v2writable.t: Teach search tests to fail more cleanly. t/v2reindex.t: Don't reuse $ibx as two different kinds of variable t/v2reindex.t: Swap the order of minmax tests so errors make sense t/search.t | 45 ++++++++++++++++++++++++++------------------- t/v2reindex.t | 11 ++++++----- t/v2writable.t | 2 +- 3 files changed, 33 insertions(+), 25 deletions(-) Eric