]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: txtimestamp: allow individual txtimestamp tests.
authorJian Yang <jianyang@google.com>
Tue, 17 Mar 2020 19:25:05 +0000 (12:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 22 Mar 2020 03:14:12 +0000 (20:14 -0700)
commit294d03760d7989861fd24822a8290f86eecf4df9
tree0b984af5cb5b9d577259320c2a2a97225209100a
parent18794eb8e959b9d44219ba7d7c0499481f97287e
selftests: txtimestamp: allow individual txtimestamp tests.

The wrapper script txtimestamp.sh executes a pre-defined list of testcases
sequentially without configuration options available.

Add an option (-r/--run) to setup the test namespace and pass remaining
arguments to txtimestamp binary. The script still runs all tests when no
argument is passed.

Signed-off-by: Jian Yang <jianyang@google.com>
Acked-by: Willem de Bruijn <willemb@google.com>
Acked-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/networking/timestamping/txtimestamp.sh