Re: [PATCH] tools/testing: add kselftest shell helper library

2020-11-27 Thread Antonio Cardace
On Mon, Nov 23, 2020 at 11:25:08AM -0500, Willem de Bruijn wrote: > From: Willem de Bruijn > > Kselftest expects processes to signal pass/fail/skip through exitcode. > > C programs can include kselftest.h for readable definitions. > > Add analogous kselftest.sh for shell tests. Extract the exis

[PATCH] tools/testing: add kselftest shell helper library

2020-11-23 Thread Willem de Bruijn
From: Willem de Bruijn Kselftest expects processes to signal pass/fail/skip through exitcode. C programs can include kselftest.h for readable definitions. Add analogous kselftest.sh for shell tests. Extract the existing definitions from udpgso_bench.sh. Tested: make TARGETS=net kselftest Link: