tc-testing: fix the -l argument bug in tdc.py
authorLucas Bates <lucasb@mojatatu.com>
Fri, 13 Oct 2017 21:51:25 +0000 (17:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 Oct 2017 01:47:53 +0000 (18:47 -0700)
commit7f6661a78a50c3bae8c9f71f67487abbea64dbb3
tree829913224a2532b047fcfcc08da2de63b33dded8
parentcf797ac49b94df7247cf86e801ab3882d08b786d
tc-testing: fix the -l argument bug in tdc.py

This patch fixes a bug in the tdc script, where executing tdc
with the -l argument would cause the tests to start running
as opposed to listing all the known test cases.

Signed-off-by: Lucas Bates <lucasb@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/tc-testing/tdc.py