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=-4.0 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,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,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 2852B1F487 for ; Fri, 27 Mar 2020 21:37:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727549AbgC0VhK (ORCPT ); Fri, 27 Mar 2020 17:37:10 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:52444 "EHLO pb-smtp2.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727541AbgC0VhK (ORCPT ); Fri, 27 Mar 2020 17:37:10 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id D4EA455636; Fri, 27 Mar 2020 17:37:04 -0400 (EDT) (envelope-from junio@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=dMhEciHOdIfi0spBqKtHQjvXs1U=; b=ijFc2o 5h81LQ4G+fHjXpQLB+0GqiiesQOUzSOAoNq0dqYmnAh+x8Wdd6e4nohRq0q01HKT Wbd5wEqyn69JRIHqOC70szffv1JRYH9r9hcrRDYrYD+a8xDEL92bv4lcGOX+WS97 StajRvKhU6DE+8VwARerVo6a0wPf/QpN2J61k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=HhWCmLSbBUZkEZuSvwXcjXjvy3jVP/Ct nBjGzZMi3mgqFYVN8vW5hgXU0TUXl3mQVLvOr97bP3qB+lyRsFIsLHIcYhOt9oZ3 xVm07bDsllaXXgFDGMwdCrK+BqgxO2AlY2bMx1dLVeAhY5aswuwNbO95moxf2ypz oHL4Fo9V2Zs= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id C37CA55635; Fri, 27 Mar 2020 17:37:04 -0400 (EDT) (envelope-from junio@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id A9D5B55633; Fri, 27 Mar 2020 17:37:03 -0400 (EDT) (envelope-from junio@pobox.com) From: Junio C Hamano To: Eric Sunshine Cc: Jeff King , Johannes Schindelin , Johannes Schindelin via GitGitGadget , Git List Subject: Re: [PATCH v2 3/5] tests: turn GPG, GPGSM and RFC1991 into lazy prereqs References: <85457a7b61874e8e9f3af9c231451df0aba7a7b5.1585114881.git.gitgitgadget@gmail.com> <20200326083519.GD2200716@coredump.intra.peff.net> <20200327091004.GA610157@coredump.intra.peff.net> Date: Fri, 27 Mar 2020 14:37:02 -0700 In-Reply-To: (Eric Sunshine's message of "Fri, 27 Mar 2020 16:24:13 -0400") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: 195ABB2E-7073-11EA-8284-D1361DBA3BAF-77302942!pb-smtp2.pobox.com Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Eric Sunshine writes: > On Fri, Mar 27, 2020 at 1:44 PM Junio C Hamano wrote: >> Subject: [PATCH] t/README: suggest how to leave test early with failure >> + test_expect_success 'git frotz on various versions' ' >> + for revision in one two three >> + do >> + echo "frotz $revision" >expect && >> + git frotz "$revision" >actual && >> + test_cmp expect actual || return 1 >> + done && >> + test something else >> + ' >> + >> + Note that this is only possible in our test suite, where we >> + arrange to run your test