From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_NONE shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 78C541F462 for ; Sun, 16 Jun 2019 18:53:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727329AbfFPSxu (ORCPT ); Sun, 16 Jun 2019 14:53:50 -0400 Received: from injection.crustytoothpaste.net ([192.241.140.119]:60106 "EHLO injection.crustytoothpaste.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbfFPSxu (ORCPT ); Sun, 16 Jun 2019 14:53:50 -0400 Received: from genre.crustytoothpaste.net (unknown [IPv6:2001:470:b978:101:159e:486:c87b:cfd7]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by injection.crustytoothpaste.net (Postfix) with ESMTPSA id 1C20B60100; Sun, 16 Jun 2019 18:53:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crustytoothpaste.net; s=default; t=1560711225; bh=S/4Nv+eCdusui8US+6K0+pND9RUopGnObidBYY3VkKU=; h=From:To:Cc:Subject:Date:From:Reply-To:Subject:Date:To:CC: Resent-Date:Resent-From:Resent-To:Resent-Cc:In-Reply-To:References: Content-Type:Content-Disposition; b=XCMuB0s/Yc9LtdWaLx0oK8DAV6fryQWSWwFonqIssggbQfjunVEO1lQ8OEuFbNfwY a600TkIncBu3h5Vs68CYI3r9Tb1j5bzCVv/e6GfSh3/hbVgvylQ7AXdryvEpH4QllV hq9GLhicn4E+c0ErHCiPmt7dzxM3uKuG9R+l3HbevSPlqn23x4kVyXlf7lKMisJGIe nq5nIdagTc1CIS70gNNEv2GR0zoGB3H36d9AUOtEFr/zOYeexhYO73adZMrYBJ7vlg wHt5BlvITrDAobyxO1o7aKiB58jsQCtcVUuod9EIUevbhgub/YQNopmb/juCkyVTVE Hq9f4KHx+zep+aHAFObFBuQoEBVWo1UFArIQKipxxpd67mCPgPYBpQkPeQtHNj8h8j hiUcTI+tKAXPP7IP60zsJIiuEMVwtzEhFTggoDsmdcKOsjPCanNLNxii1oWqxP/Vsk RVbW7mqQ0QEPgl06gF993LgpTaKXe/kaMx82mPPROuBSSFyr+0Z From: "brian m. carlson" To: Cc: Jeff King , Duy Nguyen , Johannes Schindelin , Jonathan Tan , Eric Sunshine , Junio C Hamano Subject: [PATCH v2 00/10] Hash-independent tests, part 4 Date: Sun, 16 Jun 2019 18:53:20 +0000 Message-Id: <20190616185330.549436-1-sandals@crustytoothpaste.net> X-Mailer: git-send-email 2.22.0.410.gd8fdbe21b5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 127.0.1.1 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org This is an additional series of fixes for tests to make them work with SHA-256. This series makes use of several constants, such as $ZERO_OID, which will be replaced with appropriate values based on "test_oid" with later work. There is one test (t1410) which adds an SHA1 prerequisite. I wasn't able to get the math to work out when trying to compute the proper values for SHA-256, and the test doesn't test what it's supposed to test without changes, so I opted to mark it with a prerequisite. Suggestions on how to make it functionally useful under SHA-256 would be appreciated. brian m. carlson (10): t: add helper to convert object IDs to paths t1410: make hash size independent t1450: make hash size independent t5000: make hash independent t6030: make test work with SHA-256 t0027: make hash size independent t0090: make test pass with SHA-256 t1007: remove SHA1 prerequisites t1710: make hash independent t2203: avoid hard-coded object ID values t/t0027-auto-crlf.sh | 6 +- t/t0090-cache-tree.sh | 4 +- t/t1007-hash-object.sh | 58 ++++++++++-------- t/t1410-reflog.sh | 16 ++--- t/t1450-fsck.sh | 41 ++++++++----- t/t1700-split-index.sh | 51 ++++++++++----- t/t2203-add-intent.sh | 6 +- t/t5000-tar-tree.sh | 16 +++-- ...8938e6999cb59b3ff66739902a => huge-object} | Bin t/t6030-bisect-porcelain.sh | 31 +++++----- t/test-lib-functions.sh | 6 ++ 11 files changed, 142 insertions(+), 93 deletions(-) rename t/t5000/{19f9c8273ec45a8938e6999cb59b3ff66739902a => huge-object} (100%)