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,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,URIBL_CSS,URIBL_CSS_A 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 460D81F953 for ; Fri, 29 Oct 2021 07:49:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232259AbhJ2Hvv (ORCPT ); Fri, 29 Oct 2021 03:51:51 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:33976 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232322AbhJ2Hv0 (ORCPT ); Fri, 29 Oct 2021 03:51:26 -0400 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id D24461F953; Fri, 29 Oct 2021 07:48:57 +0000 (UTC) Date: Fri, 29 Oct 2021 07:48:57 +0000 From: Eric Wong To: Junio C Hamano Cc: Jeff King , git@vger.kernel.org, Eric Sunshine , "brian m. carlson" Subject: Re: [PATCH] tests: disable fsync everywhere Message-ID: <20211029074857.GA9214@dcvr> References: <20211028002102.19384-1-e@80x24.org> <20211028182824.GA1307@dcvr> <20211029001552.GA29647@dcvr> 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 Junio C Hamano wrote: > Eric Wong writes: > > > v2 changes: > > * s/GIT_FSYNC/GIT_TEST_FSYNC/ > > * disable fsync by default for tests, reduces setup for newcomers > > * fix style nit noted by Eric Sunshine > > https://github.com/git/git/runs/4043532265?check_suite_focus=true#step:5:70 Fwiw, I couldn't view that (not sure if it's from lack of JS or lack of GH account). Either way it's accessibility problem. > Seems to be dying in "git svn" tests somehow. Easy repro+fix, though. I only tested my final patch with NO_SVN_TESTS :x Can you squash this in or do you want a reroll? diff --git a/perl/Git/SVN.pm b/perl/Git/SVN.pm index df5a87a151..6ce2e283c8 100644 --- a/perl/Git/SVN.pm +++ b/perl/Git/SVN.pm @@ -2274,7 +2274,7 @@ sub use_fsync { if (!defined($_use_fsync)) { my $x = $ENV{GIT_TEST_FSYNC}; if (defined $x) { - my $v = command_oneline('git', '-c', "test.fsync=$x", + my $v = command_oneline('-c', "test.fsync=$x", qw(config --type=bool test.fsync)); $_use_fsync = defined($v) ? ($v eq "true\n") : 1; }