~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/tools/testing/selftests/tc-testing/tdc.sh

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #!/bin/sh
  2 # SPDX-License-Identifier: GPL-2.0
  3 
  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"
 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`

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php