| /OK3568_Linux_fs/kernel/tools/testing/selftests/netfilter/ |
| H A D | nft_nat.sh | 82 local expect=$3 85 echo "ERROR: $counter counter in $ns has unexpected value (expected $expect) at $tag" 1>&2 105 expect="packets 1 bytes 104" 106 cnt=$(ip netns exec $ns nft list counter inet filter ns0in6 | grep -q "$expect") 108 bad_counter $ns ns0in6 "$expect" "check_counters 3" 111 cnt=$(ip netns exec $ns nft list counter inet filter ns0out6 | grep -q "$expect") 113 bad_counter $ns ns0out6 "$expect" "check_counters 4" 149 expect="packets 1 bytes 84" 150 cnt=$(ip netns exec "$ns0" nft list counter inet filter ${ns}${dir} | grep -q "$expect") 152 bad_counter "$ns0" $ns$dir "$expect" "check_ns0_counters 4" [all …]
|
| H A D | conntrack_icmp_related.sh | 50 expect=$3 53 cnt=$(ip netns exec $ns nft list counter inet filter "$name" | grep -q "$expect") 55 echo "ERROR: counter $name in $ns has unexpected value (expected $expect)" 1>&2 65 expect="packets 0 bytes 0" 67 check_counter $n "unknown" "$expect" 225 expect="packets 0 bytes 0" 227 check_counter "$netns" "related" "$expect" 233 expect="packets 2 bytes 2076" 234 check_counter nsclient2 "new" "$expect" 247 expect="packets 0 bytes 0" [all …]
|
| /OK3568_Linux_fs/kernel/mm/kfence/ |
| H A D | kfence_test.c | 87 typeof(observed.lines) expect; in report_matches() local 98 cur = expect[0]; in report_matches() 99 end = &expect[0][sizeof(expect[0]) - 1]; in report_matches() 123 cur = strchr(expect[0], '+'); in report_matches() 128 cur = expect[1]; in report_matches() 129 end = &expect[1][sizeof(expect[1]) - 1]; in report_matches() 156 ret = strstr(observed.lines[0], expect[0]) && strstr(observed.lines[1], expect[1]); in report_matches() 303 struct expect_report expect = { in test_out_of_bounds_read() local 322 expect.addr = buf - 1; in test_out_of_bounds_read() 323 READ_ONCE(*expect.addr); in test_out_of_bounds_read() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/rseq/ |
| H A D | rseq-arm64.h | 156 #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \ argument 159 ", %[" __rseq_str(expect) "]\n" \ 162 #define RSEQ_ASM_OP_CMPEQ32(var, expect, label) \ argument 165 ", %w[" __rseq_str(expect) "]\n" \ 168 #define RSEQ_ASM_OP_CMPNE(var, expect, label) \ argument 171 ", %[" __rseq_str(expect) "]\n" \ 208 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() argument 222 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in rseq_cmpeqv_storev() 226 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in rseq_cmpeqv_storev() 236 [expect] "r" (expect), in rseq_cmpeqv_storev() [all …]
|
| H A D | rseq-ppc.h | 161 #define RSEQ_ASM_OP_CMPEQ(var, expect, label) \ argument 163 RSEQ_CMP_LONG "cr7, %%r17, %[" __rseq_str(expect) "]\n\t" \ 213 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() argument 230 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in rseq_cmpeqv_storev() 236 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in rseq_cmpeqv_storev() 247 [expect] "r" (expect), in rseq_cmpeqv_storev() 405 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() argument 424 RSEQ_ASM_OP_CMPEQ(v, expect, %l[cmpfail]) in rseq_cmpeqv_trystorev_storev() 430 RSEQ_ASM_OP_CMPEQ(v, expect, %l[error2]) in rseq_cmpeqv_trystorev_storev() 448 [expect] "r" (expect), in rseq_cmpeqv_trystorev_storev() [all …]
|
| H A D | rseq-x86.h | 116 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() argument 148 [expect] "r" (expect), in rseq_cmpeqv_storev() 355 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() argument 396 [expect] "r" (expect), in rseq_cmpeqv_trystorev_storev() 426 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() argument 430 return rseq_cmpeqv_trystorev_storev(v, expect, v2, newv2, newv, cpu); in rseq_cmpeqv_trystorev_storev_release() 434 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() argument 478 [expect] "r" (expect), in rseq_cmpeqv_cmpeqv_storev() 510 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() argument 587 [expect] "r" (expect), in rseq_cmpeqv_trymemcpy_storev() [all …]
|
| H A D | rseq-arm.h | 151 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() argument 188 [expect] "r" (expect), in rseq_cmpeqv_storev() 344 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() argument 390 [expect] "r" (expect), in rseq_cmpeqv_trystorev_storev() 420 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() argument 467 [expect] "r" (expect), in rseq_cmpeqv_trystorev_storev_release() 497 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() argument 548 [expect] "r" (expect), in rseq_cmpeqv_cmpeqv_storev() 581 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() argument 667 [expect] "r" (expect), in rseq_cmpeqv_trymemcpy_storev() [all …]
|
| H A D | rseq-s390.h | 138 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() argument 171 [expect] "r" (expect), in rseq_cmpeqv_storev() 328 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() argument 370 [expect] "r" (expect), in rseq_cmpeqv_trystorev_storev() 401 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() argument 405 return rseq_cmpeqv_trystorev_storev(v, expect, v2, newv2, newv, cpu); in rseq_cmpeqv_trystorev_storev_release() 409 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() argument 454 [expect] "r" (expect), in rseq_cmpeqv_cmpeqv_storev() 487 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() argument 565 [expect] "r" (expect), in rseq_cmpeqv_trymemcpy_storev() [all …]
|
| H A D | rseq-skip.h | 9 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() argument 28 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() argument 36 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() argument 44 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() argument 52 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() argument 60 int rseq_cmpeqv_trymemcpy_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev_release() argument
|
| H A D | rseq-mips.h | 158 int rseq_cmpeqv_storev(intptr_t *v, intptr_t expect, intptr_t newv, int cpu) in rseq_cmpeqv_storev() argument 193 [expect] "r" (expect), in rseq_cmpeqv_storev() 334 int rseq_cmpeqv_trystorev_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev() argument 378 [expect] "r" (expect), in rseq_cmpeqv_trystorev_storev() 403 int rseq_cmpeqv_trystorev_storev_release(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trystorev_storev_release() argument 448 [expect] "r" (expect), in rseq_cmpeqv_trystorev_storev_release() 473 int rseq_cmpeqv_cmpeqv_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_cmpeqv_storev() argument 520 [expect] "r" (expect), in rseq_cmpeqv_cmpeqv_storev() 547 int rseq_cmpeqv_trymemcpy_storev(intptr_t *v, intptr_t expect, in rseq_cmpeqv_trymemcpy_storev() argument 630 [expect] "r" (expect), in rseq_cmpeqv_trymemcpy_storev() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/lkdtm/ |
| H A D | run.sh | 43 expect=$(echo "$line" | cut -d" " -f2-) 45 expect="" 51 if [ -z "$expect" ]; then 52 expect="crashes entire system" 54 echo "Skipping $test: $expect" 59 if [ -z "$expect" ]; then 60 expect="call trace:" 93 if grep -E -qi "$expect" "$LOG" ; then 94 echo "$test: saw '$expect': ok" 101 echo "$test: missing '$expect': [FAIL]"
|
| /OK3568_Linux_fs/kernel/kernel/kcsan/ |
| H A D | kcsan-test.c | 152 typeof(observed.lines) expect; in report_matches() local 164 cur = expect[0]; in report_matches() 165 end = &expect[0][sizeof(expect[0]) - 1]; in report_matches() 182 cur = strchr(expect[0], '+'); in report_matches() 188 cur = expect[1]; in report_matches() 189 end = &expect[1][sizeof(expect[1]) - 1]; in report_matches() 213 cur = expect[2]; in report_matches() 214 end = &expect[2][sizeof(expect[2]) - 1]; in report_matches() 236 ret = strstr(observed.lines[0], expect[0]) && in report_matches() 238 ((strstr(observed.lines[1], expect[1]) && in report_matches() [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ |
| H A D | nf_conntrack_expect.c | 413 static inline int __nf_ct_expect_check(struct nf_conntrack_expect *expect, in __nf_ct_expect_check() argument 418 struct nf_conn *master = expect->master; in __nf_ct_expect_check() 421 struct net *net = nf_ct_exp_net(expect); in __nf_ct_expect_check() 430 h = nf_ct_expect_dst_hash(net, &expect->tuple); in __nf_ct_expect_check() 432 if (master_matches(i, expect, flags) && in __nf_ct_expect_check() 433 expect_matches(i, expect)) { in __nf_ct_expect_check() 434 if (i->class != expect->class || in __nf_ct_expect_check() 435 i->master != expect->master) in __nf_ct_expect_check() 440 } else if (expect_clash(i, expect)) { in __nf_ct_expect_check() 449 p = &helper->expect_policy[expect->class]; in __nf_ct_expect_check() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/ |
| H A D | mirror_lib.sh | 37 local expect=$1; shift 54 ((expect <= delta && delta <= expect + 2)) 55 check_err $? "Expected to capture $expect packets, got $delta." 60 local expect=$1; shift 67 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 68 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect 114 local expect=$1; shift 125 mirror_test v$h1 $ip1 $ip2 $dev 100 $expect 126 mirror_test v$h2 $ip2 $ip1 $dev 100 $expect
|
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/expect/ |
| H A D | expect_5.45.4.bb | 10 HOMEPAGE = "http://sourceforge.net/projects/expect/" 21 SRC_URI = "${SOURCEFORGE_MIRROR}/expect/Expect/${PV}/${BPN}${PV}.tar.gz \ 24 file://0001-expect-install-scripts-without-using-the-fixline1-tc.patch \ 26 file://0001-expect-Fix-segfaults-if-Tcl-is-built-with-stubs-and-.patch \ 33 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/expect/files/Expect/" 40 install -m 0755 ${D}${libdir}/expect${PV}/libexpect*.so ${D}${libdir}/ 41 install -m 0755 ${S}/fixline1 ${D}${libdir}/expect${PV}/ 42 rm ${D}${libdir}/expect${PV}/libexpect*.so 43 sed -e 's|$dir|${libdir}|' -i ${D}${libdir}/expect${PV}/pkgIndex.tcl 64 FILES:${PN}-dev = "${libdir_native}/expect${PV}/libexpect*.so \ [all …]
|
| /OK3568_Linux_fs/buildroot/package/expect/ |
| H A D | 0002-allow-tcl-build-directory.patch | 10 Index: expect-5.45/Makefile.in 12 --- expect-5.45.orig/Makefile.in 2013-11-14 07:59:58.732100595 -0600 13 +++ expect-5.45/Makefile.in 2013-11-14 07:59:58.732100595 -0600 16 -o expect exp_main_exp.o \ 23 Index: expect-5.45/tclconfig/tcl.m4 25 --- expect-5.45.orig/tclconfig/tcl.m4 2010-11-09 13:42:10.000000000 -0600 26 +++ expect-5.45/tclconfig/tcl.m4 2013-11-14 08:02:08.424100580 -0600
|
| /OK3568_Linux_fs/u-boot/tools/buildman/ |
| H A D | test.py | 169 expect = '%10s: ' % arch 171 expect += ' ' + col.Color(expected_colour, plus) 172 expect += ' ' 174 expect += col.Color(expected_colour, ' %s' % board) 175 self.assertEqual(text, expect) 249 expect = errors[3].rstrip().split('\n') 250 expect = [expect[0]] + expect[2:] 252 '\n'.join(expect).replace('\n', '\n+')) 261 expect = errors[3].rstrip().split('\n') 262 expect = [expect[0]] + expect[2:] [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/tests/ |
| H A D | test_data.py | 28 expect = False 30 expect = True 32 self.assertTrue(expect) 42 expect = False 44 expect = True 46 self.assertTrue(expect)
|
| /OK3568_Linux_fs/yocto/poky/meta-yocto-bsp/lib/oeqa/controllers/ |
| H A D | beaglebonetarget.py | 77 serialconn.expect("NAND:") 78 serialconn.expect("MMC:") 80 serialconn.expect("U-Boot#") 82 serialconn.expect("U-Boot#") 84 serialconn.expect("U-Boot#") 86 serialconn.expect("login:", timeout=120) 94 serialconn.expect("login:", timeout=120)
|
| H A D | edgeroutertarget.py | 71 serialconn.expect("U-Boot") 73 serialconn.expect("Octeon ubnt_e100#") 75 serialconn.expect(" bytes read") 76 serialconn.expect("Octeon ubnt_e100#") 78 serialconn.expect("login:", timeout=120) 86 serialconn.expect("login:", timeout=120)
|
| /OK3568_Linux_fs/u-boot/test/dm/ |
| H A D | rtc.c | 36 static int cmp_times(struct rtc_time *expect, struct rtc_time *time, bool show) in cmp_times() argument 40 same = expect->tm_sec == time->tm_sec; in cmp_times() 41 same &= expect->tm_min == time->tm_min; in cmp_times() 42 same &= expect->tm_hour == time->tm_hour; in cmp_times() 43 same &= expect->tm_mday == time->tm_mday; in cmp_times() 44 same &= expect->tm_mon == time->tm_mon; in cmp_times() 45 same &= expect->tm_year == time->tm_year; in cmp_times() 47 show_time("expected", expect); in cmp_times()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | socket.c | 18 int expect; member 54 if (s->expect < 0 && in run_tests() 55 errno == -s->expect) in run_tests() 58 strerror_r(-s->expect, err_string1, ERR_STRING_SZ); in run_tests() 71 if (s->expect < 0) { in run_tests()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_printf.c | 41 do_test(int bufsize, const char *expect, int elen, in do_test() argument 87 if (memcmp(test_buffer, expect, written)) { in do_test() 89 bufsize, fmt, test_buffer, written, expect); in do_test() 96 __test(const char *expect, int elen, const char *fmt, ...) in __test() argument 117 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); in __test() 120 failed_tests += do_test(rand, expect, elen, fmt, ap); in __test() 121 failed_tests += do_test(0, expect, elen, fmt, ap); in __test() 126 if (memcmp(p, expect, elen+1)) { in __test() 128 fmt, p, expect); in __test() 136 #define test(expect, fmt, ...) \ argument [all …]
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | trace_branch.c | 31 probe_likely_condition(struct ftrace_likely_data *f, int val, int expect) in probe_likely_condition() argument 83 entry->correct = val == expect; in probe_likely_condition() 94 void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) in trace_likely_condition() argument 99 probe_likely_condition(f, val, expect); in trace_likely_condition() 200 void trace_likely_condition(struct ftrace_likely_data *f, int val, int expect) in trace_likely_condition() argument 206 int expect, int is_constant) in ftrace_likely_update() argument 213 val = expect; in ftrace_likely_update() 221 trace_likely_condition(f, val, expect); in ftrace_likely_update() 224 if (val == expect) in ftrace_likely_update()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | qos_headroom.sh | 67 local expect=$1; shift 70 test "$current" = "$expect" 71 check_err $? "prio2buffer is '$current', expected '$expect'" 76 local expect=$1; shift 79 test "$current" = "$expect" 80 check_err $? "prio PFC is '$current', expected '$expect'" 85 local expect=$1; shift 88 test "$current" = "$expect" 89 check_err $? "prio_tc is '$current', expected '$expect'"
|