]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net/fcnal-test.sh: add exit code
authorLi Zhijian <zhijianx.li@intel.com>
Fri, 3 Dec 2021 02:32:13 +0000 (10:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Dec 2021 14:17:34 +0000 (14:17 +0000)
commita27dce766b34f156170b7af88db935330f48040c
treec6932af7f07b8cc789d38f9f0d9955d66049a7a6
parent3a912102641a1d335904b65b897f3ded24981542
selftests: net/fcnal-test.sh: add exit code

Previously, the selftest framework always treats it as *ok* even though
some of them are failed actually. That's because the script always
returns 0.

It supports PASS/FAIL/SKIP exit code now.

CC: Philip Li <philip.li@intel.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Li Zhijian <zhijianx.li@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/fcnal-test.sh