summaryrefslogtreecommitdiff
path: root/lib/test_sort.c
diff options
context:
space:
mode:
authorStefano Brivio <sbrivio@redhat.com>2018-10-13 00:54:13 +0300
committerDavid S. Miller <davem@davemloft.net>2018-10-16 08:37:28 +0300
commit55bbc8ff4987d05b7d2f2d513caabd0a58fec021 (patch)
treec4a5e051a4f84cbcadbfdb5dbeb6c45ae335ce46 /lib/test_sort.c
parent2527e4037f92d4ac70a843cf602236846b693262 (diff)
downloadlinux-55bbc8ff4987d05b7d2f2d513caabd0a58fec021.tar.xz
selftests: pmtu: Allow selection of single tests
As number of tests is growing, it's quite convenient to allow single tests to be run. Display usage when the script is run with any invalid argument, keep existing semantics when no arguments are passed so that automated runs won't break. Instead of just looping on the list of requested tests, if any, check first that they exist, and go through them in a nested loop to keep the existing way to display test descriptions. Signed-off-by: Stefano Brivio <sbrivio@redhat.com> Reviewed-by: Sabrina Dubroca <sd@queasysnail.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_sort.c')
0 files changed, 0 insertions, 0 deletions