Home
last modified time | relevance | path

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

12345678910>>...124

/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Drun_vmtests38 echo 3 > /proc/sys/vm/drop_caches
39 echo $(( $lackpgs + $nr_hugepgs )) > /proc/sys/vm/nr_hugepages
41 echo "Please run this test as root"
57 echo "no hugetlbfs support in kernel?"
67 echo "$ARCH64STR" | grep $ARCH && VADDR64=1
72 echo "---------------------"
73 echo "running hugepage-mmap"
74 echo "---------------------"
77 echo "[FAIL]"
80 echo "[PASS]"
[all …]
Dtest_vmalloc.sh33 echo "$0: Must be run as root"
38 echo "$0: You need modprobe installed"
43 echo "$0: You must have the following enabled in your kernel:"
44 echo "CONFIG_TEST_VMALLOC=m"
51 echo "Run performance tests to evaluate how fast vmalloc allocation is."
52 echo "It runs all test cases on one single CPU with sequential order."
55 echo "Done."
56 echo "Ccheck the kernel message buffer to see the summary."
61 echo "Run stability tests. In order to stress vmalloc subsystem we run"
62 echo "all available test cases on all available CPUs simultaneously."
[all …]
Dhugetlb_reparenting_test.sh7 echo "This test must be run as root. Skipping..."
26 echo "+hugetlb +memory" >$CGROUP_ROOT/cgroup.subtree_control
41 echo $mb
47 echo cleanup
55 echo 0 >/proc/sys/vm/nr_hugepages
75 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
76 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
77 echo fail
87 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB
88 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/sysctl/
Dsysctl.sh65 echo -n "Checking production write strict setting ... "
67 echo "FAIL, but skip in case of old kernel" >&2
71 echo "ok"
73 echo "FAIL, strict value is 0 but force to 1 to continue" >&2
74 echo "1" > ${WRITES_STRICT}
96 echo $msg must be run as root >&2
101 echo "$0: You need perl installed"
105 echo "$0: You need getconf installed"
109 echo "$0: You need diff installed"
118 echo "$0: module $TEST_DRIVER not found [SKIP]"
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/sysctl/
Dsysctl.sh60 echo -n "Checking production write strict setting ... "
62 echo "FAIL, but skip in case of old kernel" >&2
66 echo "ok"
68 echo "FAIL, strict value is 0 but force to 1 to continue" >&2
69 echo "1" > ${WRITES_STRICT}
91 echo $msg must be run as root >&2
96 echo "$0: You need perl installed"
100 echo "$0: You need getconf installed"
104 echo "$0: You need diff installed"
113 echo "$0: module $TEST_DRIVER not found [SKIP]"
[all …]
/kernel/linux/linux-6.6/scripts/
Drust_is_available.sh19 echo $((100000 * $1 + 100 * $2 + $3))
25 echo >&2 "***"
26 echo >&2 "*** Please see Documentation/rust/quick-start.rst for details"
27 echo >&2 "*** on how to set up the Rust support."
28 echo >&2 "***"
34 echo >&2 "***"
35 echo >&2 "*** This script is intended to be called from Kbuild."
36 echo >&2 "*** Please use the 'rustavailable' target to call it instead."
37 echo >&2 "*** Otherwise, the results may not be meaningful."
48 echo >&2 "***"
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/mm/
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 "Ccheck 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 …]
Dhugetlb_reparenting_test.sh10 echo "This test must be run as root. Skipping..."
29 echo "+hugetlb +memory" >$CGROUP_ROOT/cgroup.subtree_control
44 echo $mb
50 echo cleanup
58 echo 0 >/proc/sys/vm/nr_hugepages
78 echo actual a = $((${actual_a%% *} / 1024 / 1024)) MB
79 echo expected a = $((${expected_a%% *} / 1024 / 1024)) MB
80 echo fail
90 echo actual a hugetlb = $((${actual_a_hugetlb%% *} / 1024 / 1024)) MB
91 echo expected a hugetlb = $((${expected_a_hugetlb%% *} / 1024 / 1024)) MB
[all …]
/kernel/linux/linux-5.10/tools/
DMakefile10 @echo 'Possible targets:'
11 @echo ''
12 @echo ' acpi - ACPI tools'
13 @echo ' bpf - misc BPF tools'
14 @echo ' cgroup - cgroup 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 ' freefall - laptop accelerometer program for disk protection'
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/media_tests/
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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/media_tests/
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 …]
/kernel/linux/linux-6.6/tools/
DMakefile10 @echo 'Possible targets:'
11 @echo ''
12 @echo ' acpi - ACPI tools'
13 @echo ' bpf - misc BPF tools'
14 @echo ' cgroup - cgroup tools'
15 @echo ' counter - counter tools'
16 @echo ' cpupower - a tool for all things x86 CPU power'
17 @echo ' debugging - tools for debugging'
18 @echo ' firewire - the userspace part of nosy, an IEEE-1394 traffic sniffer'
19 @echo ' firmware - Firmware tools'
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/firmware/
Dfw_filesystem.sh23 echo 1 >/sys/class/firmware/timeout
27 echo "$0: empty filename should not succeed" >&2
32 echo "$0: empty filename: async trigger not present, ignoring test" >&2
36 echo "$0: empty filename should not succeed (async)" >&2
42 if echo -n "nope-$NAME" >"$DIR"/trigger_request 2> /dev/null; then
43 echo "$0: firmware shouldn't have loaded" >&2
47 echo "$0: firmware was not expected to match" >&2
51 echo "$0: timeout works"
57 if ! echo -n "$NAME" >"$DIR"/trigger_request ; then
58 echo "$0: could not trigger request" >&2
[all …]
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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/firmware/
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 …]
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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/
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 …]
/kernel/linux/linux-6.6/tools/testing/selftests/kmod/
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/kmod/
Dkmod.sh75 echo "$0: $DIR not present" >&2
76 echo "You must have the following enabled in your kernel:" >&2
114 echo "$0: You need modprobe installed" >&2
119 echo "$0: You need kmod installed" >&2
131 echo "$0: You need at least kmod 20" >&2
132 echo "kmod <= 19 is buggy, for details see:" >&2
133echo "https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/libkmod/libkmod-module.c?id=fd…
139 echo $msg must be run as root >&2
156 echo "$MODPROBE" > /proc/sys/kernel/modprobe
157 echo "Test completed"
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/
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 $1 `grep -v '^#' "$2.boot" | tr '\012' ' '`
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 …]
/kernel/linux/linux-6.6/tools/bootconfig/
Dtest-bootconfig.sh4 echo "Boot config test script"
29 echo "test case $NO ($*)... "
30 if ! ($@ && echo "\t\t[OK]"); then
31 echo "\t\t[NG]"; NG=$((NG + 1))
37 echo "test case $NO ($*)... "
38 if ! (! $@ && echo "\t\t[OK]"); then
39 echo "\t\t[NG]"; NG=$((NG + 1))
44 echo "Basic command test"
47 echo "Delete command should success without bootconfig"
51 echo "key = value;" > $TEMPCONF
[all …]
/kernel/linux/linux-5.10/tools/bootconfig/
Dtest-bootconfig.sh4 echo "Boot config test script"
29 echo "test case $NO ($3)... "
30 if ! ($@ && echo "\t\t[OK]"); then
31 echo "\t\t[NG]"; NG=$((NG + 1))
37 echo "test case $NO ($3)... "
38 if ! (! $@ && echo "\t\t[OK]"); then
39 echo "\t\t[NG]"; NG=$((NG + 1))
44 echo "Basic command test"
47 echo "Delete command should success without bootconfig"
51 echo "key = value;" > $TEMPCONF
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/usb/usbip/
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 …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/usb/usbip/
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 …]

12345678910>>...124