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 modprobe netdevsim 5 # the test that requires it will fail anyways !! 5 ./tdc.py -c actions --nobuildebpf 6 try_modprobe() { !! 6 ./tdc.py -c qdisc 7 modprobe -q -R "$1" << 8 if [ $? -ne 0 ]; then << 9 echo "Module $1 not found... skipping." << 10 else << 11 modprobe "$1" << 12 fi << 13 } << 14 << 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` <<
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.