Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / tools / testing / selftests / tc-testing / tdc.sh
blobcddff1772e1045bb5aa1c319472cdd638f1a1d5f
1 #!/bin/sh
2 # SPDX-License-Identifier: GPL-2.0
4 # If a module is required and was not compiled
5 # the test that requires it will fail anyways
6 try_modprobe() {
7 modprobe -q -R "$1"
8 if [ $? -ne 0 ]; then
9 echo "Module $1 not found... skipping."
10 else
11 modprobe "$1"
15 try_modprobe netdevsim
16 try_modprobe act_bpf
17 try_modprobe act_connmark
18 try_modprobe act_csum
19 try_modprobe act_ct
20 try_modprobe act_ctinfo
21 try_modprobe act_gact
22 try_modprobe act_gate
23 try_modprobe act_mirred
24 try_modprobe act_mpls
25 try_modprobe act_nat
26 try_modprobe act_pedit
27 try_modprobe act_police
28 try_modprobe act_sample
29 try_modprobe act_simple
30 try_modprobe act_skbedit
31 try_modprobe act_skbmod
32 try_modprobe act_tunnel_key
33 try_modprobe act_vlan
34 try_modprobe cls_basic
35 try_modprobe cls_bpf
36 try_modprobe cls_cgroup
37 try_modprobe cls_flow
38 try_modprobe cls_flower
39 try_modprobe cls_fw
40 try_modprobe cls_matchall
41 try_modprobe cls_route
42 try_modprobe cls_u32
43 try_modprobe em_canid
44 try_modprobe em_cmp
45 try_modprobe em_ipset
46 try_modprobe em_ipt
47 try_modprobe em_meta
48 try_modprobe em_nbyte
49 try_modprobe em_text
50 try_modprobe em_u32
51 try_modprobe sch_cake
52 try_modprobe sch_cbs
53 try_modprobe sch_choke
54 try_modprobe sch_codel
55 try_modprobe sch_drr
56 try_modprobe sch_etf
57 try_modprobe sch_ets
58 try_modprobe sch_fq
59 try_modprobe sch_fq_codel
60 try_modprobe sch_fq_pie
61 try_modprobe sch_gred
62 try_modprobe sch_hfsc
63 try_modprobe sch_hhf
64 try_modprobe sch_htb
65 try_modprobe sch_teql
66 ./tdc.py -J`nproc`