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: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, 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 663DB1F953 for ; Wed, 15 Dec 2021 17:17:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238295AbhLORRb (ORCPT ); Wed, 15 Dec 2021 12:17:31 -0500 Received: from cloud.peff.net ([104.130.231.41]:52524 "EHLO cloud.peff.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235266AbhLORRa (ORCPT ); Wed, 15 Dec 2021 12:17:30 -0500 Received: (qmail 17979 invoked by uid 109); 15 Dec 2021 17:17:30 -0000 Received: from Unknown (HELO peff.net) (10.0.1.2) by cloud.peff.net (qpsmtpd/0.94) with ESMTP; Wed, 15 Dec 2021 17:17:30 +0000 Authentication-Results: cloud.peff.net; auth=none Received: (qmail 6706 invoked by uid 111); 15 Dec 2021 17:17:30 -0000 Received: from coredump.intra.peff.net (HELO sigill.intra.peff.net) (10.0.0.2) by peff.net (qpsmtpd/0.94) with (TLS_AES_256_GCM_SHA384 encrypted) ESMTPS; Wed, 15 Dec 2021 12:17:30 -0500 Authentication-Results: peff.net; auth=none Date: Wed, 15 Dec 2021 12:17:29 -0500 From: Jeff King To: Junio C Hamano Cc: SZEDER =?utf-8?B?R8OhYm9y?= , =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason , git@vger.kernel.org, Derrick Stolee , Taylor Blau Subject: Re: [PATCH v3 2/2] test-lib.sh: remove the now-unused "test_untraceable" facility Message-ID: References: <20211212163207.GA3400@szeder.dev> <211212.865yrtbvl1.gmgdl@evledraar.gmail.com> <20211212201441.GB3400@szeder.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org On Wed, Dec 15, 2021 at 09:05:15AM -0800, Junio C Hamano wrote: > Still. I wonder if keeping BASH_XTRACEFD helps developers, when > they need to diagnose a new breakage? If their new test fails only > in the "dash -x" run but not "bash -x" at the CI, for example? I have done that, but usually only after realizing that "./t1234-foo.sh" passes and "./t1234-foo.sh -x" does not. So I think just tweaking use of "-x" would be the main tool. -Peff