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-Status: No, score=-4.0 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id 861ED1F5B1 for ; Wed, 29 Jul 2020 23:15:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728200AbgG2XPe (ORCPT ); Wed, 29 Jul 2020 19:15:34 -0400 Received: from injection.crustytoothpaste.net ([192.241.140.119]:41112 "EHLO injection.crustytoothpaste.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728100AbgG2XPD (ORCPT ); Wed, 29 Jul 2020 19:15:03 -0400 Received: from camp.crustytoothpaste.net (unknown [IPv6:2001:470:b978:101:b610:a2f0:36c1:12e3]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by injection.crustytoothpaste.net (Postfix) with ESMTPSA id 6ECA461016; Wed, 29 Jul 2020 23:14:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crustytoothpaste.net; s=default; t=1596064498; bh=09rgrcCD/TLi0jQrtn9n+YVsuADBEadhXt5jrJbIyoU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From:Reply-To: Subject:Date:To:CC:Resent-Date:Resent-From:Resent-To:Resent-Cc: In-Reply-To:References:Content-Type:Content-Disposition; b=YC9JxOfh1nKfWiFkXzcPTPbaBjzuExfhVBaxtDWmmlO5dFcmWrWdMFNlYYOBLTf2O yzGa0PHwV2g+P/wsEv69l3LUA03SV9edYaGW9aYnhIjY0XX6nQ/M8mUZ4EIQ1ije1B 6zzSPeEgwhZRPfSjH9nNJXLF1V8FKpx1tDZpL/u2mHDQReGMFeidoNKDn0ai1psZQQ mF0ebwz4UHKWJcuLzkprIKjcYhnd4wV5+6pJOcOdqzdAERPs1Q5ZkrMr49A7NLKcfx JQw3s4VxDJZsfZQ1Mrgv76QcGFFbJL+5edWLzTyVwzL1m53J+BnuogAcA1c9uJ+WDx oAV0taEjMOw/6NsEJeIV43BxUhLJkG2FaBReHngfdtSRx17LzjqovszsDSEsgYweTy d0YlK81jf5sCmdnwkBvAgxIsu9x9JlAOGlGpM7sjfTsLK47EraMEv0kOAX3/wAyVQB Fjdi6zJWmtQVk4wCZZQzt1piX818fvg9E/l58YqptaCWF2z2Lai From: "brian m. carlson" To: Cc: Eric Sunshine Subject: [PATCH v6 28/39] t0410: mark test with SHA1 prerequisite Date: Wed, 29 Jul 2020 23:14:17 +0000 Message-Id: <20200729231428.3658647-29-sandals@crustytoothpaste.net> X-Mailer: git-send-email 2.28.0.163.g6104cc2f0b6 In-Reply-To: <20200729231428.3658647-1-sandals@crustytoothpaste.net> References: <20200728233446.3066485-1-sandals@crustytoothpaste.net> <20200729231428.3658647-1-sandals@crustytoothpaste.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org These tests try to check that we behave properly if we encounter a repository with version 0 but an extension. This is a laudable goal, but the test cannot work with SHA-256, since SHA-256 repositories always have an existing extension and are never version 0. Add a SHA1 prerequisite to these tests. Signed-off-by: brian m. carlson --- t/t0410-partial-clone.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t0410-partial-clone.sh b/t/t0410-partial-clone.sh index 6aa0f313bd..a5ebdf9ff3 100755 --- a/t/t0410-partial-clone.sh +++ b/t/t0410-partial-clone.sh @@ -42,7 +42,7 @@ test_expect_success 'convert shallow clone to partial clone' ' test_cmp_config -C client 1 core.repositoryformatversion ' -test_expect_success 'convert to partial clone with noop extension' ' +test_expect_success SHA1 'convert to partial clone with noop extension' ' rm -fr server client && test_create_repo server && test_commit -C server my_commit 1 && @@ -53,7 +53,7 @@ test_expect_success 'convert to partial clone with noop extension' ' git -C client fetch --unshallow --filter="blob:none" ' -test_expect_success 'converting to partial clone fails with unrecognized extension' ' +test_expect_success SHA1 'converting to partial clone fails with unrecognized extension' ' rm -fr server client && test_create_repo server && test_commit -C server my_commit 1 &&