Re: [PATCH v4 2/2] test: unit test for longjmp

2021-03-25 Thread Leo Liang
On Thu, Mar 25, 2021 at 03:31:50PM +0800, Heinrich Schuchardt wrote: > Provide a unit test for the longjmp() library function > > Signed-off-by: Heinrich Schuchardt > > v4: > use volatile for variable changed between setjmp and longjmp > v3: > check variable on stack > v2: >

[PATCH v4 2/2] test: unit test for longjmp

2021-03-25 Thread Heinrich Schuchardt
Provide a unit test for the longjmp() library function Signed-off-by: Heinrich Schuchardt v4: use volatile for variable changed between setjmp and longjmp v3: check variable on stack v2: no change --- test/lib/Makefile | 1 + test/lib/longjmp.c | 77 +++