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)
commit19882ecb55c5b6ca1e0408c8724d55a895e5d0bc
tree0b984af5cb5b9d577259320c2a2a97225209100a
parente28596012d1a482641a2110ed1c4c09ce98562b3
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