Re: [PATCH] Make t4201-shortlog.sh test more robust

2017-11-12 Thread Junio C Hamano
Jeff King writes: > You're also really doing two things to fix the problem here, either one > of which would have been sufficient: increasing the abbreviation size > and using test_tick to get a deterministic run. > ... > Doing it once is enough to make the test deterministic, and for this > part

Re: [PATCH] Make t4201-shortlog.sh test more robust

2017-11-12 Thread Jeff King
On Sun, Nov 12, 2017 at 03:25:23PM +, Charles Bailey wrote: > From: Charles Bailey > > The test for '--abbrev' in t4201-shortlog.sh assumes that the commits > generated in the test can always be uniquely abbreviated to 5 hex digits > but this is not always the case. If you were unlucky and h

[PATCH] Make t4201-shortlog.sh test more robust

2017-11-12 Thread Charles Bailey
From: Charles Bailey The test for '--abbrev' in t4201-shortlog.sh assumes that the commits generated in the test can always be uniquely abbreviated to 5 hex digits but this is not always the case. If you were unlucky and happened to run the test at (say) Thu Jun 22 03:04:49 2017 +, you would