tests: introduce --stress-jobs=<N>
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 3 Mar 2019 14:44:55 +0000 (06:44 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 4 Mar 2019 03:25:22 +0000 (12:25 +0900)
commitf54573714429ce249bab7422a51f3a8c37016080
tree963308b1e51c92e28483ce8230978f236f912554
parentde69e6f6c98e92f89b4fdbb91087e85f4af7afab
tests: introduce --stress-jobs=<N>

The --stress option currently accepts an argument, but it is confusing
to at least this user that the argument does not define the maximal
number of stress iterations, but instead the number of jobs to run in
parallel per stress iteration.

Let's introduce a separate option for that, whose name makes it more
obvious what it is about, and let --stress=<N> error out with a helpful
suggestion about the two options tha could possibly have been meant.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/README
t/test-lib.sh