tools: tc-testing: rootPlugin
authorBrenda J. Butler <bjb@mojatatu.com>
Wed, 14 Feb 2018 19:09:22 +0000 (14:09 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Feb 2018 20:38:33 +0000 (15:38 -0500)
commitf6926e85eee9be08d05170af3a2266b8d7f9cdef
tree3672adb98e4c15c2fa692e664cfdee7a7fab114d
parent93707cbabcc8baf2b2b5f4a99c1f08ee83eb7abd
tools: tc-testing: rootPlugin

Move the functionality that checks for root permissions into a plugin.

Signed-off-by: Brenda J. Butler <bjb@mojatatu.com>
Acked-by: Lucas Bates <lucasb@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/plugin-lib/rootPlugin.py [new file with mode: 0644]
tools/testing/selftests/tc-testing/tdc.py