| /linux-6.15/tools/testing/selftests/hid/tests/ |
| H A D | test_keyboard.py | 270 expected = [syn_event] 278 expected = [syn_event] 291 expected = [syn_event] 300 expected = [syn_event] 310 expected = [syn_event] 318 expected = [syn_event] 328 expected = [syn_event] 382 expected = [syn_event] 398 expected = [syn_event] 432 expected = [syn_event] [all …]
|
| H A D | test_apple_keyboard.py | 171 expected = [syn_event] 180 expected = [syn_event] 195 expected = [syn_event] 204 expected = [syn_event] 213 expected = [syn_event] 227 expected = [syn_event] 236 expected = [syn_event] 243 expected = [syn_event] 258 expected = [syn_event] 267 expected = [syn_event] [all …]
|
| H A D | test_mouse.py | 704 expected = [syn_event] 713 expected = [syn_event] 722 expected = [syn_event] 757 expected = [syn_event] 769 expected.append( 838 expected.append( 847 expected.append( 857 expected.append( 927 expected.append( 936 expected.append( [all …]
|
| /linux-6.15/drivers/iio/test/ |
| H A D | iio-test-rescale.c | 28 const char *expected; member 42 .expected = "5210.918114143", 59 .expected = "260.545905707", 68 .expected = "-260.545905707", 77 .expected = "0.049528301", 86 .expected = "-0.049528301", 113 .expected = "1240.84789", 122 .expected = "-1240.84789", 269 .expected = "2.500617", 278 .expected = "-2.500617", [all …]
|
| /linux-6.15/drivers/firewire/ |
| H A D | ohci-serdes-test.c | 15 const u32 expected = 0x803d0594; in test_self_id_count_register_deserialization() local 17 bool is_error = ohci1394_self_id_count_is_error(expected); in test_self_id_count_register_deserialization() 19 u32 size = ohci1394_self_id_count_get_size(expected); in test_self_id_count_register_deserialization() 45 static const __le32 expected[] = { in test_at_data_serdes() local 52 unsigned int speed = ohci1394_at_data_get_speed(expected); in test_at_data_serdes() 54 unsigned int retry = ohci1394_at_data_get_retry(expected); in test_at_data_serdes() 73 KUNIT_EXPECT_MEMEQ(test, quadlets, expected, sizeof(expected)); in test_at_data_serdes() 78 static const __le32 expected[] = { in test_it_data_serdes() local 84 unsigned int tag = ohci1394_it_data_get_tag(expected); in test_it_data_serdes() 87 unsigned int sync = ohci1394_it_data_get_sync(expected); in test_it_data_serdes() [all …]
|
| H A D | packet-serdes-test.c | 310 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_write_quadlet_request() 350 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_write_block_request() 385 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected) - sizeof(expected[0])); in test_async_header_write_response() 420 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_quadlet_request() 459 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_quadlet_response() 499 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_block_request() 539 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_read_block_response() 579 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_lock_request() 619 KUNIT_EXPECT_MEMEQ(test, header, expected, sizeof(expected)); in test_async_header_lock_response() 698 KUNIT_EXPECT_MEMEQ(test, quadlets, expected, sizeof(expected)); in test_phy_packet_self_id_zero_case0() [all …]
|
| /linux-6.15/tools/testing/selftests/clone3/ |
| H A D | clone3.c | 168 int expected; member 178 .expected = 0, 185 .expected = 0, 193 .expected = 0, 207 .expected = 0, 242 .expected = 0, 249 .expected = -E2BIG, 256 .expected = -E2BIG, 270 .expected = 0, 285 .expected = 0, [all …]
|
| /linux-6.15/drivers/gpu/drm/tests/ |
| H A D | drm_format_helper_test.c | 280 .expected = { 289 .expected = { 298 .expected = { 313 .expected = { 322 .expected = { 331 .expected = { 340 .expected = { 349 .expected = { 358 .expected = { 367 .expected = { [all …]
|
| H A D | drm_dp_mst_helper_test.c | 19 const int expected; member 27 .expected = 689 33 .expected = 1047 39 .expected = 1063 45 .expected = 1191 51 .expected = 1161 60 params->expected); in drm_test_dp_mst_calc_pbn_mode() 74 fixed20_12 expected; member 180 .expected = fp_init(5, 0), 190 .expected = fp_init(6, 0), [all …]
|
| /linux-6.15/fs/ext4/ |
| H A D | inode-test.c | 77 struct timespec64 expected; member 89 .expected = {.tv_sec = -0x80000000LL, .tv_nsec = 0L}, 97 .expected = {.tv_sec = -1LL, .tv_nsec = 0L}, 105 .expected = {0LL, 0L}, 113 .expected = {.tv_sec = 0x7fffffffLL, .tv_nsec = 0L}, 121 .expected = {.tv_sec = 0x80000000LL, .tv_nsec = 0L}, 129 .expected = {.tv_sec = 0xffffffffLL, .tv_nsec = 0L}, 137 .expected = {.tv_sec = 0x100000000LL, .tv_nsec = 0L}, 193 .expected = {.tv_sec = 0x300000000LL, 253 test_param->expected.tv_sec, in inode_test_xtimestamp_decoding() [all …]
|
| /linux-6.15/tools/testing/selftests/net/mptcp/ |
| H A D | diag.sh | 50 local expected=$2 58 if [ "$nr" != "$expected" ]; then 88 local expected=$1 98 local expected=$1 109 [ $nr == $expected ] && break; 120 elif [ $nr != $expected ]; then 143 local expected=$2 168 local expected=$1 177 expected=$((expected + listen_nr)) 192 local expected=$1 [all …]
|
| /linux-6.15/tools/testing/selftests/riscv/vector/ |
| H A D | vstate_prctl.c | 25 if (rc != expected) { in test_and_compare_child() 26 printf("Test failed, check %d != %ld\n", rc, expected); in test_and_compare_child() 130 long flag, expected; in TEST() local 143 expected = flag | PR_RISCV_V_VSTATE_CTRL_ON; in TEST() 145 EXPECT_EQ(0, test_and_compare_child(flag, expected, 0, xtheadvector)); in TEST() 150 long flag, expected; in TEST() local 163 expected = flag | PR_RISCV_V_VSTATE_CTRL_ON; in TEST() 170 long flag, expected; in TEST() local 182 expected = flag | PR_RISCV_V_VSTATE_CTRL_OFF; in TEST() 189 long flag, expected; in TEST() local [all …]
|
| /linux-6.15/scripts/kconfig/tests/ |
| H A D | conftest.py | 238 def _contains(self, attr, expected): argument 241 expected) 243 def _matches(self, attr, expected): argument 245 expected) 247 def config_contains(self, expected): argument 255 def config_matches(self, expected): argument 261 return self._matches('config', expected) 263 def stdout_contains(self, expected): argument 271 def stdout_matches(self, expected): argument 279 def stderr_contains(self, expected): argument [all …]
|
| /linux-6.15/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | reg_access_test.c | 18 uint64_t val, expected; in reg_access() local 22 expected = 0x8000000100000000ull; in reg_access() 23 mtspr(SPRN_BESCR, expected); in reg_access() 26 FAIL_IF(val != expected); in reg_access() 28 expected = 0x0000000001000000ull; in reg_access() 29 mtspr(SPRN_EBBHR, expected); in reg_access() 32 FAIL_IF(val != expected); in reg_access()
|
| /linux-6.15/tools/testing/selftests/bpf/ |
| H A D | test_progs.h | 248 #define ASSERT_EQ(actual, expected, name) ({ \ argument 251 typeof(expected) ___exp = (expected); \ 262 typeof(expected) ___exp = (expected); \ 270 #define ASSERT_LT(actual, expected, name) ({ \ argument 273 typeof(expected) ___exp = (expected); \ 284 typeof(expected) ___exp = (expected); \ 295 typeof(expected) ___exp = (expected); \ 306 typeof(expected) ___exp = (expected); \ 317 const char *___exp = expected; \ 328 const char *___exp = expected; \ [all …]
|
| /linux-6.15/tools/testing/selftests/ |
| H A D | kselftest_harness.h | 512 __EXPECT(expected, #expected, seen, #seen, ==, 1) 523 __EXPECT(expected, #expected, seen, #seen, !=, 1) 534 __EXPECT(expected, #expected, seen, #seen, <, 1) 545 __EXPECT(expected, #expected, seen, #seen, <=, 1) 556 __EXPECT(expected, #expected, seen, #seen, >, 1) 567 __EXPECT(expected, #expected, seen, #seen, >=, 1) 630 __EXPECT(expected, #expected, seen, #seen, ==, 0) 641 __EXPECT(expected, #expected, seen, #seen, !=, 0) 652 __EXPECT(expected, #expected, seen, #seen, <, 0) 663 __EXPECT(expected, #expected, seen, #seen, <=, 0) [all …]
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | setget_sockopt.c | 28 int expected; member 39 { .opt = SO_SNDBUF, .new = 8123, .expected = 8123 * 2, }, 40 { .opt = SO_RCVBUF, .new = 8123, .expected = 8123 * 2, }, 42 { .opt = SO_PRIORITY, .new = 0xeb9f, .expected = 0xeb9f, }, 44 { .opt = SO_RCVLOWAT, .new = 8123, .expected = 8123, }, 45 { .opt = SO_MARK, .new = 0xeb9f, .expected = 0xeb9f, }, 63 .expected = BPF_SOCK_OPS_ALL_CB_FLAGS, }, 117 int old, tmp, new, expected, opt; in bpf_test_sockopt_int() local 122 expected = t->tcp_expected; in bpf_test_sockopt_int() 124 expected = t->expected; in bpf_test_sockopt_int() [all …]
|
| /linux-6.15/tools/perf/tests/shell/ |
| H A D | record+probe_libc_inet_pton.sh | 36 expected=`mktemp -u /tmp/expected.XXX` 38 echo "ping[][0-9 \.:]+$event_name: \([[:xdigit:]]+\)" > $expected 39 echo ".*inet_pton\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" >> $expected 43 …I_)?getaddrinfo|text_to_binary_address)\+0x[[:xdigit:]]+[[:space:]]\($libc|inlined\)$" >> $expected 44 echo "(gaih_inet|main)\+0x[[:xdigit:]]+[[:space:]]\(inlined|.*/bin/ping.*\)$" >> $expected 48 echo ".*(\+0x[[:xdigit:]]+|\[unknown\])[[:space:]]\(.*/bin/ping.*\)$" >> $expected 70 exec 4<$expected 114 rm -f ${perf_data} ${perf_script} ${expected}
|
| /linux-6.15/drivers/hid/ |
| H A D | hid-uclogic-rdesc-test.c | 20 const __u8 *expected; member 107 .expected = template_empty, 115 .expected = template_small, 123 .expected = template_no_ph, 131 .expected = template_pen_ph_end, 139 .expected = template_btn_ph_end, 147 .expected = expected_pen_all_params, 155 .expected = expected_frame_all_params, 163 .expected = expected_pen_some_params, 171 .expected = expected_pen_some_params, [all …]
|
| /linux-6.15/tools/testing/selftests/damon/ |
| H A D | _debugfs_common.sh | 9 expected=$5 11 if [ "$expected" = "0" ] 17 if [ $? -ne "$expected" ] 19 echo "writing $content to $file doesn't return $expected" 37 expected=$3 41 if [ "$content" != "$expected" ] 43 echo "reading $file expected $expected but $content"
|
| /linux-6.15/tools/testing/selftests/ftrace/test.d/ftrace/ |
| H A D | func_set_ftrace_file.tc | 126 DIFF=`diff $TMPDIR/actual $TMPDIR/expected` 131 cat available_filter_functions | cut -d' ' -f1 | grep 'lock' | sort -u > $TMPDIR/expected 136 grep -v 'try.*lock$' $TMPDIR/expected > $TMPDIR/expected2 137 mv $TMPDIR/expected2 $TMPDIR/expected 142 grep -v '^m.*lock$' $TMPDIR/expected > $TMPDIR/expected2 143 mv $TMPDIR/expected2 $TMPDIR/expected 148 grep -v '^c.*unlock' $TMPDIR/expected > $TMPDIR/expected2 149 mv $TMPDIR/expected2 $TMPDIR/expected 154 > $TMPDIR/expected 158 rm $TMPDIR/expected
|
| /linux-6.15/tools/testing/selftests/bpf/prog_tests/ |
| H A D | select_reuseport.c | 246 expected.len = MIN_TCPHDR_LEN; in check_data() 247 expected.ip_protocol = IPPROTO_TCP; in check_data() 249 expected.len = UDPHDR_LEN; in check_data() 283 expected.eth_protocol, expected.ip_protocol, in check_data() 284 expected.bind_inany); in check_data() 365 enum result expected) in send_data() argument 381 family, err, errno, expected); in send_data() 387 enum result expected) in do_test() argument 395 expected); in do_test() 403 nev, expected, type, family, in do_test() [all …]
|
| /linux-6.15/mm/damon/tests/ |
| H A D | vaddr-kunit.h | 132 unsigned long *expected, int nr_expected) in damon_do_test_apply_three_regions() argument 148 KUNIT_EXPECT_EQ(test, r->ar.start, expected[i * 2]); in damon_do_test_apply_three_regions() 149 KUNIT_EXPECT_EQ(test, r->ar.end, expected[i * 2 + 1]); in damon_do_test_apply_three_regions() 172 unsigned long expected[] = {5, 20, 20, 27, 45, 55, in damon_test_apply_three_regions1() local 176 new_three_regions, expected, ARRAY_SIZE(expected)); in damon_test_apply_three_regions1() 194 unsigned long expected[] = {5, 20, 20, 27, 56, 57, in damon_test_apply_three_regions2() local 198 new_three_regions, expected, ARRAY_SIZE(expected)); in damon_test_apply_three_regions2() 218 unsigned long expected[] = {5, 20, 20, 27, 61, 63, in damon_test_apply_three_regions3() local 222 new_three_regions, expected, ARRAY_SIZE(expected)); in damon_test_apply_three_regions3() 243 unsigned long expected[] = {5, 7, 30, 32, 65, 68}; in damon_test_apply_three_regions4() local [all …]
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/tests/ |
| H A D | agg.c | 61 } expected; member 72 .expected = { 89 .expected = { 105 .expected = { 122 .expected = { 140 .expected = { 159 .expected = { 177 .expected = { 199 .expected = { 221 .expected = { [all …]
|
| /linux-6.15/drivers/gpu/drm/xe/tests/ |
| H A D | xe_migrate.c | 76 u64 retval, expected = 0; in test_copy() local 132 check(retval, expected, in test_copy() 135 check(retval, expected, in test_copy() 149 check(retval, expected, in test_copy() 152 check(retval, expected, in test_copy() 191 u64 retval, expected; in xe_migrate_sanity_test() local 268 expected = 0; in xe_migrate_sanity_test() 283 expected = 0; in xe_migrate_sanity_test() 305 expected = 0; in xe_migrate_sanity_test() 499 u64 expected, retval; in test_migrate() local [all …]
|