Re: [RFC PATCH 3/3] test-lib: add the '--stress' option to run a test repeatedly under load
- From
Jeff King <peff@peff.net>
- Date
- Dec 7, 2018, 01:03 UTC
- Message-ID
- <20181207010310.GA21992@sigill.intra.peff.net>
- In-Reply-To
- <20181206225601.GO30222@szeder.dev>
On Thu, Dec 06, 2018 at 11:56:01PM +0100, SZEDER Gábor wrote:
Show 10 quoted lines
> > +test_expect_success 'roll those dice' ' > > + case "$(openssl rand -base64 1)" in > > + z*) > > + return 1 > > + esac > > +' > > Wasteful :) > > test $(($$ % 42)) -ne 0
Oh, indeed, that is much more clever. :)
-Peff