Home
last modified time | relevance | path

Searched full:then (Results 1 – 25 of 5184) sorted by relevance

12345678910>>...208

/Linux-v5.4/tools/testing/selftests/firmware/
Dfw_lib.sh30 if [ ! -d $DIR ]; then
38 if [ ! -d $DIR ]; then
41 if [ ! -f $PROC_CONFIG ]; then
42 if modprobe configs 2>/dev/null; then
44 if [ ! -f $PROC_CONFIG ]; then
63 if [ -z $PROC_SYS_DIR ]; then
71 if [ -f $FW_FORCE_SYSFS_FALLBACK ]; then
75 if [ -f $FW_IGNORE_SYSFS_FALLBACK ]; then
79 if [ "$PROC_FW_FORCE_SYSFS_FALLBACK" = "1" ]; then
84 if [ "$PROC_FW_IGNORE_SYSFS_FALLBACK" = "1" ]; then
[all …]
Dfw_fallback.sh34 if [ "$timeout" -eq 0 ]; then
61 if [ "$timeout" -eq 0 ]; then
75 if [ ! -e "$DIR"/trigger_custom_fallback ]; then
90 if [ "$timeout" -eq 0 ]; then
108 if [ ! -e "$DIR"/trigger_custom_fallback ]; then
123 if [ "$timeout" -eq 0 ]; then
149 if [ "$SECONDS_DELTA" -lt 4 ]; then
169 if [ ! -f $DEVPATH ]; then
187 if diff -q "$FW" /dev/test_firmware >/dev/null ; then
204 if diff -q "$FW" /dev/test_firmware >/dev/null ; then
[all …]
/Linux-v5.4/tools/leds/
Dget_led_device_info.sh7 if [ $num_args -eq 1 ]; then
17 elif [ $num_args -eq 2 ]; then
24 if [ ! -f $led_defs_path ]; then
32 if [ $? -ne 0 ]; then
42 if [ "$bus" = "input" ]; then
44 if [ ! -z "$usb_subdev" ]; then
49 if [ "$bus" = "usb" ]; then
53 if [ -d "$usb_interface/ieee80211" ]; then
60 elif [ "$bus" = "input" ]; then
64 elif [ $of_node_missing -eq 0 ]; then
[all …]
/Linux-v5.4/tools/testing/selftests/sysctl/
Dsysctl.sh45 if [ ! -d $DIR ]; then
55 if [ -z $DIR ]; then
58 if [ -z $DEFAULT_NUM_TESTS ]; then
61 if [ -z $SYSCTL ]; then
64 if [ -z $PROD_SYSCTL ]; then
67 if [ -z $WRITES_STRICT ]; then
75 if [ ! -e ${WRITES_STRICT} ]; then
79 if [ "$old_strict" = "1" ]; then
87 if [ -z $PAGE_SIZE ]; then
90 if [ -z $MAX_DIGITS ]; then
[all …]
/Linux-v5.4/tools/testing/selftests/netfilter/
Dnft_nat.sh17 if [ $? -ne 0 ];then
23 if [ $? -ne 0 ];then
29 if [ $? -ne 0 ];then
40 if [ $? -ne 0 ];then
80 if [ $? -ne 0 ]; then
85 if [ $? -ne 0 ]; then
92 if [ $? -ne 0 ]; then
97 if [ $? -ne 0 ]; then
111 if [ $? -ne 0 ]; then
117 if [ $? -ne 0 ]; then
[all …]
/Linux-v5.4/scripts/
Dcoccicheck13 if [ ! -x "$SPATCH" ]; then
27 if [ -n "$V" -a "$V" != "0" ]; then
52 if [ $? -eq 0 ]; then
61 if [ "$C" = "1" -o "$C" = "2" ]; then
72 if [ "$KBUILD_EXTMOD" = "" ] ; then
78 if [ -z "$J" ]; then
85 if [ "$KBUILD_EXTMOD" != "" ] ; then
90 if [ "$USE_JOBS" = "no" ]; then
93 elif [ "$NPROC" != "1" ]; then
99 if [ "$MODE" = "" ] ; then
[all …]
Dsetlocalversion20 if test "$1" = "--save-scmversion"; then
24 if test $# -gt 0; then
28 if test $# -gt 0 -o ! -d "$srctree"; then
38 if test -e .scmversion; then
42 if test "$1" = "--short"; then
48 head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
52 if [ -z "`git describe --exact-match 2>/dev/null`" ]; then
56 if $short; then
62 if atag="`git describe 2>/dev/null`"; then
72 if git config --get svn-remote.svn.url >/dev/null; then
[all …]
/Linux-v5.4/tools/testing/selftests/cpufreq/
Dmodule.sh7 if [ $FILE_MODULE ]; then
26 if [ $? != 0 ]; then
34 if [ $? != 0 ]; then
49 if [ $2 -eq 1 ]; then
58 if [ $? != 0 ]; then
63 if [ $2 -eq 1 ]; then
75 if [ $? != 0 ]; then
92 if [ $? != 0 ]; then
103 # Remove CPUs before inserting module and then bring them back
112 if [ $1 = "cpufreq_ondemand.ko" ]; then
[all …]
/Linux-v5.4/tools/testing/selftests/ftrace/test.d/ftrace/
Dfunc_traceonoff_triggers.tc14 if [ ! -f set_ftrace_filter ]; then
37 if [ $cnt -ne 0 ]; then
50 if [ $cnt -eq 0 ]; then
57 if [ -d ../../instances -a -f ../../available_filter_functions ]; then
61 if [ "$x" -eq 1 ]; then
68 if [ -d ../../instances ]; then # Check instances
71 if [ "$cur" = "$top" ]; then
79 if [ $cnt -ne 1 ]; then
87 if [ $cnt -ne $cnt2 ]; then
92 if [ $on != "0" ]; then
[all …]
Dfunc_set_ftrace_file.tc13 if [ ! -f set_ftrace_filter ]; then
30 if ! echo "$1" | grep -q "^$2\$"; then
46 if cat=`test_func "$cat" "$1"`; then
49 if dd1=`test_func "$dd1" "$1"`; then
52 if dd100=`test_func "$dd100" "$1"`; then
58 if [ -n "$cat" ]; then
61 if [ -n "$dd1" ]; then
64 if [ -n "$dd100" ]; then
70 if check_set_ftrace_filter "$ALL_FUNCS"; then
75 if check_set_ftrace_filter "$ALL_FUNCS" "$FUNC1:traceoff:unlimited"; then
[all …]
/Linux-v5.4/tools/debugging/
Dkernel-chktaint21 if [ "$1"x != "x" ]; then
22 if [ "$1"x == "--helpx" ] || [ "$1"x == "-hx" ] ; then
25 elif [ $1 -ge 0 ] 2>/dev/null ; then
33 if [ ! -r $TAINTFILE ]; then
41 if [ $taint -eq 0 ]; then
55 if [ `expr $T % 2` -eq 0 ]; then
63 if [ `expr $T % 2` -eq 0 ]; then
71 if [ `expr $T % 2` -eq 0 ]; then
79 if [ `expr $T % 2` -eq 0 ]; then
87 if [ `expr $T % 2` -eq 0 ]; then
[all …]
/Linux-v5.4/samples/bpf/
Ddo_hbm_test.sh13 echo "egress or ingress bandwidht. It then uses iperf3 or netperf to create"
196 if [ $debug_flag -eq 1 ] ; then
213 if [ $ecn -ne 0 ] ; then
217 if [ $use_netperf -eq 0 ] ; then
219 if [ "$cc" != "x" ] ; then
224 if [ "$netem" -ne "0" ] ; then
225 if [ "$qdisc" != "" ] ; then
230 elif [ "$qdisc" != "" ] ; then
238 if [ $use_netperf -ne 0 ] ; then
239 if [ "$server" != "" ] ; then
[all …]
/Linux-v5.4/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh13 if [ $UID != 0 ]; then
20 if [ ! -d "$SYSFS" ]; then
25 if ! ls $SYSFS/devices/system/memory/memory* > /dev/null 2>&1; then
30 if ! grep -q 1 $SYSFS/devices/system/memory/memory*/removable; then
45 grep -q $state $memory/state; then
85 if ! online_memory $memory; then
88 elif ! memory_is_online $memory; then
99 if online_memory $memory 2> /dev/null; then
102 elif ! memory_is_offline $memory; then
113 if ! offline_memory $memory; then
[all …]
/Linux-v5.4/scripts/dtc/
Ddtx_diff35 file. If DTx is a dts source file then it is pre-processed in the same
50 and DTx utilizes '#include' or '/include/' then the path of the
58 If DTx_1 and DTx_2 are in different architectures, then this script
71 If DTx_1 and DTx_2 are in different directories, then this script will
73 a local file that exists in both the path of DTx_1 and DTx_2 then the
91 if [ -d "${dtx}" ] ; then
95 if ( ! ${DTC} -I fs ${dtx} ) ; then
99 elif [ -f "${dtx}" ] && [ -r "${dtx}" ] ; then
102 if [ "${magic}" = "d00dfeed" ] ; then
106 if ( ! ${DTC} -I dtb ${dtx} ) ; then
[all …]
/Linux-v5.4/tools/testing/selftests/kexec/
Dkexec_common_lib.sh48 if ! grep -q "^\S\+ $efivarfs efivarfs" /proc/mounts; then
54 if [ -f "$secure_boot_file" ] && [ -f "$setup_mode_file" ]; then
60 if [ $secureboot_mode -eq 1 ] && [ $setup_mode -eq 0 ]; then
76 if [ ! -d "$efi_vars" ]; then
82 [ -f "$setup_mode_file/data" ]; then
86 if [ $secureboot_mode -eq 1 ] && [ $setup_mode -eq 0 ]; then
108 if [ $secureboot_mode -eq 0 ]; then
113 if [ $secureboot_mode -eq 0 ]; then
121 if [ $(id -ru) -ne 0 ]; then
134 if [ $? -eq 0 ]; then
[all …]
Dtest_kexec_file_load.sh30 if [ $? -eq 1 ]; then
41 # First check for appended signature (modsig), then xattr
42 if [ $ima_read_policy -eq 1 ]; then
46 if [ $ret -eq 1 ]; then
66 if [ $ret -eq 1 ]; then
81 if [ $? -eq 1 ]; then
87 if [ $? -eq 0 ]; then
103 if [ "$sig" == "$module_sig_string" ]; then
120 if [ $? -eq 0 ]; then
127 && [ $ima_modsig -eq 0 ]; then
[all …]
/Linux-v5.4/tools/perf/
Dperf-with-kcore.sh19 if [ -n "$PERF" ] ; then
23 if [ -z "$PERF" ] ; then
27 if [ ! -x "$PERF" ] ; then
39 if [ $EUID -eq 0 ] ; then
95 if [ $EUID -ne 0 ] ; then
100 if [ -z "$SUDO_USER" ] ; then
113 if [ -n "$SUDO_GID" ] ; then
124 if [ $EUID -eq 0 ] ; then
136 if [ -n "$PERMISSIONS_OK" ] ; then
145 if [ $EUID -ne 0 ] ; then
[all …]
Dperf-completion.sh11 if [ -z "$exclude" ]; then
29 if [ $j -ge 2 ] && [ -n "$first" ]; then
34 if [ $i = $COMP_CWORD ]; then
37 if (($i < ${#COMP_WORDS[@]} - 1)); then
45 if [ $i = $COMP_CWORD ]; then
55 if [ $preload_get_comp_words_by_ref = "true" ]; then
63 if [ "$1" = "-n" ]; then
92 if [ $preload__ltrim_colon_completions = "true" ]; then
99 if [[ "$1" == *:* && "$COMP_WORDBREAKS" == *:* ]]; then
117 if [ $preload__ltrim_colon_completions = "true" ]; then
[all …]
/Linux-v5.4/tools/testing/selftests/rcutorture/bin/
Dparse-console.sh24 then
31 then
38 then
42 then
84 then
86 then
93 then
100 then
112 then
118 then
[all …]
Dkvm-test-1-run.sh41 then
49 then
61 then
74 then
84 then
93 then
108 then
114 then
128 then
138 then
[all …]
Dfunctions.sh24 then
29 then
36 then
47 then
61 then
64 then
86 then
89 then
104 then
119 then
[all …]
/Linux-v5.4/tools/testing/selftests/net/
Dnetdevice.sh22 if [ $? -eq 0 ];then
28 if [ $? -ne 0 ];then
46 if [ $NETDEV_STARTED -eq 0 ];then
52 if [ $? -ne 0 ];then
56 if [ $? -eq 0 ];then
65 if [ $? -eq 0 ];then
81 if [ $# -le 2 ];then
87 if [ $ret -ne 0 ];then
88 if [ $ret -eq "$1" ];then
109 if [ $? -ne 0 ];then
[all …]
/Linux-v5.4/tools/testing/selftests/kmod/
Dkmod.sh70 if [ ! -d $DIR ]; then
80 if [ -z $DEFAULT_KMOD_DRIVER ]; then
84 if [ -z $DEFAULT_KMOD_FS ]; then
88 if [ -z $PROC_DIR ]; then
92 if [ -z $MODPROBE_LIMIT ]; then
96 if [ -z $DIR ]; then
100 if [ -z $DEFAULT_NUM_TESTS ]; then
109 if ! which modprobe 2> /dev/null > /dev/null; then
114 if ! which kmod 2> /dev/null > /dev/null; then
126 if [[ $KMOD_VERSION -le 19 ]]; then
[all …]
/Linux-v5.4/tools/testing/selftests/ntb/
Dntb_test.sh23 echo "If the NTB device loops back to the same host then,"
27 echo "device. SSH will then be used to test the remote side."
28 echo "An SSH key between the root users of the host would then"
83 if [[ "$REMOTE_HOST" != "" ]]; then
93 if [[ "$VPATH" == *":/"* ]]; then
102 if [[ "$REMOTE" != "" ]]; then
114 if [[ "$REMOTE" != "" ]]; then
125 if [[ "$REMOTE" != "" ]]; then
148 if [[ ${PORT} -eq $PEER_PORT ]]; then
184 if ! write_file "N" "$LOC/../link" 2> /dev/null; then
[all …]
/Linux-v5.4/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh12 if [ $UID != 0 ]; then
21 if [ ! -d "$SYSFS" ]; then
26 if ! ls $SYSFS/devices/system/cpu/cpu* > /dev/null 2>&1; then
35 if [[ "$online_cpus" = "$online_max" ]]; then
47 if [[ "a$offline_cpus" = "a" ]]; then
63 if [ -f $cpu/online ] && grep -q $state $cpu/online; then
103 if ! online_cpu $cpu; then
106 elif ! cpu_is_online $cpu; then
116 if online_cpu $cpu 2> /dev/null; then
119 elif ! cpu_is_offline $cpu; then
[all …]

12345678910>>...208