Home
last modified time | relevance | path

Searched full:echo (Results 1 – 25 of 1647) sorted by relevance

12345678910>>...66

/linux/tools/testing/selftests/sysctl/
H A Dsysctl.sh62 echo -n "Checking production write strict setting ... "
64 echo "FAIL, but skip in case of old kernel" >&2
68 echo "OK"
70 echo "FAIL, strict value is 0 but force to 1 to continue" >&2
71 echo "1" > ${WRITES_STRICT}
93 echo $msg must be run as root >&2
98 echo "$0: You need perl installed"
102 echo "$0: You need getconf installed"
106 echo "$0: You need diff installed"
115 echo "$0: module $TEST_DRIVER not found [SKIP]"
[all …]
/linux/tools/testing/selftests/mm/
H A Dtest_vmalloc.sh34 echo "$0: Must be run as root"
39 echo "$0: You need modprobe installed"
44 echo "$0: You must have the following enabled in your kernel:"
45 echo "CONFIG_TEST_VMALLOC=m"
52 echo "Run performance tests to evaluate how fast vmalloc allocation is."
53 echo "It runs all test cases on one single CPU with sequential order."
56 echo "Done."
57 echo "Check the kernel message buffer to see the summary."
62 echo "Run stability tests. In order to stress vmalloc subsystem all"
63 echo "available test cases are run by NUM_CPUS workers simultaneously."
[all …]
H A Dcharge_reserved_hugetlb.sh10 echo "This test must be run as root. Skipping..."
36 echo "+hugetlb" >$cgroup_path/cgroup.subtree_control
49 echo $$ >$cgroup_path/cgroup.procs
51 echo $$ >$cgroup_path/tasks
56 umount /mnt/huge || echo error
68 echo 0 >/proc/sys/vm/nr_hugepages
69 echo CLEANUP DONE
78 echo "expected ($expected) != actual ($actual): $3"
88 echo $mb
100 echo writing cgroup limit: "$cgroup_limit"
[all …]
H A Dhugetlb_reparenting_test.sh10 echo "This test must be run as root. Skipping..."
30 echo "+hugetlb +memory" >$CGROUP_ROOT/cgroup.subtree_control
45 echo $mb
51 echo cleanup
59 echo $nr_hugepgs >/proc/sys/vm/nr_hugepages
88 echo "actual = $((${actual%% *} / 1024 / 1024)) MB"
89 echo "expected = $((${expected%% *} / 1024 / 1024)) MB"
119 echo 100 >/proc/sys/vm/nr_hugepages
123 echo "+hugetlb +memory" >$CGROUP_ROOT/a/cgroup.subtree_control
125 echo 0 >$CGROUP_ROOT/a/cpuset.mems
[all …]
/linux/tools/
H A DMakefile10 @echo 'Possible targets:'
11 @echo ''
12 @echo ' acpi - ACPI tools'
13 @echo ' bpf - misc BPF tools'
14 @echo ' counter - counter tools'
15 @echo ' cpupower - a tool for all things x86 CPU power'
16 @echo ' debugging - tools for debugging'
17 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
18 @echo ' firmware - Firmware tools'
19 @echo ' freefal
[all...]
/linux/tools/testing/selftests/firmware/
H A Dfw_filesystem.sh26 echo 1 >/sys/class/firmware/timeout
30 echo "$0: empty filename should not succeed" >&2
35 echo "$0: empty filename: async trigger not present, ignoring test" >&2
39 echo "$0: empty filename should not succeed (async)" >&2
45 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then
46 echo "$0: firmware shouldn't have loaded" >&2
50 echo "$0: firmware was not expected to match" >&2
54 echo "$0: timeout works"
60 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then
61 echo "$0: could not trigger request" >&2
[all …]
H A Dfw_fallback.sh27 echo -n "$name" >"$DIR"/trigger_request &
35 echo "$0: firmware interface never appeared" >&2
40 echo 1 >"$DIR"/"$name"/loading
42 echo 0 >"$DIR"/"$name"/loading
54 echo -n "$name" >"$DIR"/trigger_request 2>/dev/null &
62 echo "$0: firmware interface never appeared" >&2
67 echo -1 >"$DIR"/"$name"/loading
76 echo "$0: custom fallback trigger not present, ignoring test" >&2
83 echo -n "$name" >"$DIR"/trigger_custom_fallback 2>/dev/null &
91 echo "$0: firmware interface never appeared" >&2
[all …]
/linux/tools/testing/selftests/media_tests/
H A Dmedia_dev_allocator.sh6 echo "Media Device Allocator testing: unbind and bind"
7 echo "media driver $1 audio driver $2"
17 echo "=================================="
18 echo "Test unbind both devices - start"
19 echo "Running unbind of $MDEV from $MDRIVER"
20 echo $MDEV > $MDRIVER/unbind;
22 echo "Media device should still be present!"
25 echo "sound driver is at: $ADRIVER"
26 echo "Device is: $ADEV"
28 echo "Running unbind of $ADEV from $ADRIVER"
[all …]
/linux/tools/testing/selftests/kmod/
H A Dkmod.sh64 echo "$0: $DIR not present" >&2
65 echo "You must have the following enabled in your kernel:" >&2
103 echo "$0: You need modprobe installed" >&2
108 echo "$0: You need kmod installed" >&2
120 echo "$0: You need at least kmod 20" >&2
121 echo "kmod <= 19 is buggy, for details see:" >&2
122echo "https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/libkmod/libkmod-module.c?id=fd…
128 echo $msg must be run as root >&2
145 echo "$MODPROBE" > /proc/sys/kernel/modprobe
146 echo "Test completed"
[all …]
/linux/tools/testing/selftests/drivers/usb/usbip/
H A Dusbip_test.sh7 usage() { echo "usbip_test.sh -b <busid> -p <usbip tools path>"; exit 1; }
31 echo "Running USB over IP Testing on $busid";
36 echo "Please run usbip_test as root [SKIP]"
37 echo $test_end_msg
41 echo "Load usbip_host module"
43 echo "usbip_test: module usbip_host is not found [SKIP]"
44 echo $test_end_msg
49 echo "usbip_test: module usbip_host is loaded [OK]"
51 echo "usbip_test: module usbip_host failed to load [FAIL]"
52 echo $test_end_msg
[all …]
/linux/tools/testing/selftests/ntb/
H A Dntb_test.sh20 echo "Usage: $0 [OPTIONS] LOCAL_DEV REMOTE_DEV"
21 echo "Run tests on a pair of NTB endpoints."
22 echo
23 echo "If the NTB device loops back to the same host then,"
24 echo "just specifying the two PCI ids on the command line is"
25 echo "sufficient. Otherwise, if the NTB link spans two hosts"
26 echo "use the -r option to specify the hostname for the remote"
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"
29 echo "be highly recommended."
[all …]
/linux/tools/perf/tests/shell/lib/
H A Dstat_output.sh13 echo -n "Checking $1 output: no args "
16 echo "[Success]"
21 echo -n "Checking $1 output: system wide "
24 echo "[Skip] paranoid and not root"
29 echo "[Success]"
34 echo -n "Checking $1 output: system wide no aggregation "
37 echo "[Skip] paranoid and not root"
42 echo "[Success]"
47 echo -n "Checking $1 output: interval "
50 echo "[Success]"
[all …]
/linux/tools/testing/selftests/gpio/
H A Dgpio-aggregator.sh13 echo "$*" >&2
14 echo "GPIO $MODULE test FAIL"
19 echo "$*" >&2
20 echo "GPIO $MODULE test SKIP"
28 echo 1 > "$CONFIGFS_SIM_DIR/$CHIP/live" || fail "Unable to enable the chip"
34 echo 0 > "$CONFIGFS_SIM_DIR/$CHIP/live" || fail "Unable to disable the chip"
42 echo 0 > "$CHIP_DIR/live"
95 echo "$KEY" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/key" || fail "Unable to set the lookup key"
103 echo "$OFFSET" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/offset" || \
112 echo "$NAME" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/name" || fail "Unable to set the line name"
[all …]
/linux/samples/bpf/
H A Ddo_hbm_test.sh11 echo "Script for testing HBM (Host Bandwidth Manager) framework."
12 echo "It creates a cgroup to use for testing and load a BPF program to limit"
13 echo "egress or ingress bandwidth. It then uses iperf3 or netperf to create"
14 echo "loads. The output is the goodput in Mbps (unless -D was used)."
15 echo ""
16 echo "USAGE: $name [out] [-b=<prog>|--bpf=<prog>] [-c=<cc>|--cc=<cc>]"
17 echo " [-D] [-d=<delay>|--delay=<delay>] [--debug] [-E] [--edt]"
18 echo " [-f=<#flows>|--flows=<#flows>] [-h] [-i=<id>|--id=<id >]"
19 echo " [-l] [-N] [--no_cn] [-p=<port>|--port=<port>] [-P]"
20 echo " [-q=<qdisc>] [-R] [-s=<server>|--server=<server]"
[all …]
/linux/tools/testing/selftests/rcutorture/bin/
H A Dfunctions.sh15 echo "$1" | grep -q "torture\.onoff_"
25 echo $1 needs argument $2 matching \"$5\"
28 if echo "$4" | grep -q -e "$5"
32 echo $1 $2 \"$4\" must match \"$5\"
35 if echo "$4" | grep -q -e "$6"
37 echo $1 $2 \"$4\" must not match \"$6\"
48 echo `grep -v '^#' "$2.boot" | tr '\012' ' '` $1
50 echo $1
60 if echo "${bootargs}" | grep -q 'nr_cpus=[0-9]'
62 nr_cpus="`echo "${bootargs}" | sed -e 's/^.*nr_cpus=\([0-9]*\).*$/\1/'`"
[all …]
H A Dkvm-test-1-run.sh36 config_dir=`echo $config_template | sed -e 's,/[^/]*$,,'`
37 title=`echo $config_template | sed -e 's/^.*\///'`
41 echo "kvm-test-1-run.sh :$resdir: Not a writable directory, cannot store results into it"
44 echo ' ---' `date`: Starting build, PID $$
45 echo ' ---' Kconfig fragment at: $config_template >> $resdir/log
56 echo $3 | sed -e 's/^ *//' -e 's/ *$//' | tr -s " " "\012" > $T/Kconfig_args
57 echo " --- $1" >> $resdir/ConfigFragment.input
64 echo > $T/KcList
75 base_resdir=`echo $resdir | sed -e 's/\.[0-9]\+$//'`
91 echo Initia
[all...]
/linux/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
H A Dtrigger-synthetic-event-syntax.tc8 echo > set_event
14 echo $1
21 echo "Test synthetic_events syntax parser"
23 echo > synthetic_events
26 ! echo "myevent" >> synthetic_events
27 echo "myevent u64 var1" >> synthetic_events
33 ! echo "myevent u64 var2" >> synthetic_events
36 echo "!myevent" >> synthetic_events
37 echo "myevent u64 var1" >> synthetic_events
40 echo "myevent u64 var2" > synthetic_events
[all …]
/linux/tools/testing/selftests/ftrace/test.d/event/
H A Devent-mod.tc9 echo "No trace-events sample module - please make CONFIG_SAMPLE_TRACE_EVENTS=m"
15 echo ":mod:trace-events-sample" > set_event
32 echo > set_event
45 echo clear all events
46 echo 0 > events/enable
48 echo Confirm the events are disabled
54 echo And the set_event file is empty
61 echo now enable all events
62 echo 1 > events/enable
64 echo Confirm the events are enabled again
[all …]
/linux/tools/bootconfig/scripts/
H A Dftrace.sh5 echo > trace
9 echo 0 > tracing_on
13 echo 1 > tracing_on
17 echo nop > current_tracer
24 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
25 file=`echo $line | cut -f1 -d:`
26 echo "!$cmd" >> $file
30 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
31 file=`echo $line | cut -f1 -d:`
32 echo "!$cmd" > $file
[all …]
/linux/tools/testing/selftests/zram/
H A Dzram_lib.sh28 echo $msg must be run as root >&2
49 echo "zram cleanup"
60 echo 1 > /sys/block/zram${i}/reset
66 echo $i > /sys/class/zram-control/hot_remove
77 echo "create '$dev_num' zram device(s)"
81 echo "zram modules already loaded, kernel supports" \
91 echo "all zram devices (/dev/zram$dev_start~$dev_end" \
102 echo "zram module is being used on old kernel" \
107 echo "test needs CONFIG_ZRAM=m on old kernel without" \
116 echo "all zram devices (/dev/zram0~$dev_end) successfully created"
[all …]
/linux/tools/testing/selftests/ftrace/test.d/
H A Dfunctions2 echo > trace
6 echo 0 > tracing_on
10 echo 1 > tracing_on
14 echo nop > current_tracer
21 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
22 file=`echo $line | cut -f1 -d:`
23 echo "!$cmd" >> $file
27 cmd=`echo $line | cut -f2- -d: | cut -f1 -d"["`
28 file=`echo $line | cut -f1 -d:`
29 echo "!$cmd" > $file
[all …]
/linux/tools/testing/selftests/
H A Dkselftest_deps.sh13 echo -e "Usage: $0 -[p] <compiler> [test_name]\n"
14 echo -e "\tkselftest_deps.sh [-p] gcc"
15 echo -e "\tkselftest_deps.sh [-p] gcc mm"
16 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc"
17 echo -e "\tkselftest_deps.sh [-p] aarch64-linux-gnu-gcc mm\n"
18 echo "- Should be run in selftests directory in the kernel repo."
19 echo "- Checks if Kselftests can be built/cross-built on a system."
20 echo "- Parses all test/sub-test Makefile to find library dependencies."
21 echo "- Runs compile test on a trivial C file with LDLIBS specified"
22 echo " in the test Makefiles to identify missing library dependencies."
[all …]
/linux/tools/perf/tests/shell/
H A Drecord.sh47 echo "Unexpected signal in ${FUNCNAME[1]}"
54 echo "Basic --per-thread mode test"
57 echo "Per-thread record [Skipped event not supported]"
62 echo "Per-thread record [Failed record]"
68 echo "Per-thread record [Failed missing output]"
85 echo "Per-thread record [Failed record -p]"
91 echo "Per-thread record [Failed -p missing output]"
96 echo "Basic --per-thread mode test [Success]"
100 echo "Register capture test"
103 echo "Register capture test [Skipped missing event]"
[all …]
H A Dstat+json_output.sh38 echo -n "Checking json output: no args "
41 echo "[Success]"
46 echo -n "Checking json output: system wide "
49 echo "[Skip] paranoia and not root"
54 echo "[Success]"
59 echo -n "Checking json output: system wide no aggregation "
62 echo "[Skip] paranoia and not root"
67 echo "[Success]"
72 echo -n "Checking json output: interval "
75 echo "[Success]"
[all …]
/linux/tools/usb/
H A Dhcd-tests.sh42 echo "testing ALL recognized usbtest devices"
43 echo ""
53 echo "FAIL"
74 echo "assuming $CONFIG configuration"
81 echo "** device must be in $1 config, but it's $CONFIG instead"
86 echo "TESTING: $ARGS"
90 echo $(date)
106 echo '** Control test cases:'
108 echo "test 9: ch9 postconfig"
110 echo "test 10: control queueing"
[all …]

12345678910>>...66