From: "Martin Ågren" <martin.agren@gmail.com>
To: Jeff King <peff@peff.net>
Cc: "Taylor Blau" <me@ttaylorr.com>,
"SZEDER Gábor" <szeder.dev@gmail.com>,
"Junio C Hamano" <gitster@pobox.com>,
"Git Mailing List" <git@vger.kernel.org>
Subject: Re: racy test failure in tb/upload-pack-filters
Date: Wed, 5 Aug 2020 11:27:22 +0200 [thread overview]
Message-ID: <CAN0heSqsHGL2Pb37d2dWL+RCWac4z8mjpM-v6v6zsxH_8cWQjQ@mail.gmail.com> (raw)
In-Reply-To: <20200805084240.GA1802257@coredump.intra.peff.net>
On Wed, 5 Aug 2020 at 10:45, Jeff King <peff@peff.net> wrote:
>
> $ GIT_TEST_GETTEXT_POISON=1 ./t5616-partial-clone.sh --stress
> FAIL 19.1
> FAIL 15.1
> OK 26.1
> OK 16.1
> ...
[...]
> OK, so what's in that file?
>
> $ cd trash\ directory.t5616-partial-clone.stress-failed/
> $ cat err
> # GETTEXT POISON #fatal: # GETTEXT POISON #
> fatal: filter 'blob:none' not supported
>
> What, it's there!? Is it somehow confusing grep?
>
> $ grep "filter 'blob:none' not supported" err
> fatal: filter 'blob:none' not supported
> $ echo $?
> 0
Nice. :-)
> -- >8 --
> Subject: t5616: use test_i18ngrep for upload-pack errors
[...snipping lots of good stuff...]
> In theory we'd see both copies of the message in the second case. But
> now always! As soon as the client sees ERR, it exits and we run grep.
s/now/not/
Very nicely explained, as always.
> - grep "filter '\''blob:none'\'' not supported" err
> + test_i18ngrep "filter '\''blob:none'\'' not supported" err
Right, this is the one from the intro and the commit message.
> - grep "tree filter allows max depth 0, but got 1" err
> + test_i18ngrep "tree filter allows max depth 0, but got 1" err
This one isn't translated, so this hunk could be dropped. Or maybe you
wanted to knowingly cast a slightly wider net? (And this does fit the
subject of your patch.)
Martin
next prev parent reply other threads:[~2020-08-05 9:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-05 8:42 racy test failure in tb/upload-pack-filters Jeff King
2020-08-05 9:06 ` SZEDER Gábor
2020-08-05 9:26 ` Jeff King
2020-08-05 15:10 ` Taylor Blau
2020-08-05 16:28 ` Junio C Hamano
2020-08-07 8:56 ` [PATCH] sideband: mark "remote error:" prefix for translation Jeff King
2020-08-07 20:18 ` Junio C Hamano
2020-08-05 9:27 ` Martin Ågren [this message]
2020-08-05 10:03 ` racy test failure in tb/upload-pack-filters Jeff King
2020-08-05 11:35 ` Martin Ågren
2020-08-05 15:08 ` Taylor Blau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAN0heSqsHGL2Pb37d2dWL+RCWac4z8mjpM-v6v6zsxH_8cWQjQ@mail.gmail.com \
--to=martin.agren@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=me@ttaylorr.com \
--cc=peff@peff.net \
--cc=szeder.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).