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