Re: [PATCH 4/4] lib/test_printf.c: use deterministic sequence of random numbers

2020-10-30 Thread Petr Mladek
On Sun 2020-10-25 22:48:42, Rasmus Villemoes wrote: > The printf test suite does each test with a few different buffer sizes > to ensure vsnprintf() behaves correctly with respect to truncation and > size reporting. It calls vsnprintf() with a buffer size that is > guaranteed to be big enough, a

[PATCH 4/4] lib/test_printf.c: use deterministic sequence of random numbers

2020-10-25 Thread Rasmus Villemoes
The printf test suite does each test with a few different buffer sizes to ensure vsnprintf() behaves correctly with respect to truncation and size reporting. It calls vsnprintf() with a buffer size that is guaranteed to be big enough, a buffer size of 0 to ensure that nothing gets written to the