Re: [Breakage] Git v2.21.0-rc0 - t5318 (NonStop)
- From
Jeff King <peff@peff.net>
- Date
- Feb 9, 2019, 04:24 UTC
- Message-ID
- <20190209042456.GB18286@sigill.intra.peff.net>
- In-Reply-To
- <006601d4c001$2de3a160$89aae420$@nexbridge.com>
On Fri, Feb 08, 2019 at 05:53:53PM -0500, Randall S. Becker wrote:
Show 15 quoted lines
> > diff --git a/t/test-lib-functions.sh b/t/test-lib-functions.sh index
> > 92cf8f812c..4afab14431 100644
> > --- a/t/test-lib-functions.sh
> > +++ b/t/test-lib-functions.sh
> > @@ -1302,3 +1302,8 @@ test_set_port () {
> > port=$(($port + ${GIT_TEST_STRESS_JOB_NR:-0}))
> > eval $var=$port
> > }
> > +
> > +# Generate an output of $1 bytes of all zeroes (NULs, not ASCII zeroes).
> > +gen_zero_bytes () {
> > + perl -e 'print "\0" x $ARGV[0]' "$@"
> > +}
>
> This function does work on platform, so it's good.Great. Since it sounds like you're preparing some patches to deal with /dev/zero elsewhere, do you want to wrap it up in a patch as part of that?
-Peff