Home
last modified time | relevance | path

Searched refs:expect_success (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/splice/
H A Dshort_splice_read.sh15 expect_success() function
122 expect_success "proc_handler: proc_dointvec_minmax() splice" test_splice /proc/sys/fs/nr_open
123 expect_success "proc_handler: proc_dostring() splice" test_splice /proc/sys/kernel/modprobe
124 expect_success "proc_handler: special read splice" test_splice /proc/sys/kernel/version
128 expect_success "test_module kernel module load" modprobe test_module
130 expect_success "kernfs attr splice" test_splice /sys/module/test_module/coresize
131 expect_success "kernfs binattr splice" test_splice /sys/module/test_module/sections/.init.text
/kernel/linux/linux-5.10/tools/testing/selftests/splice/
H A Dshort_splice_read.sh15 expect_success() function
122 expect_success "proc_handler: proc_dointvec_minmax() splice" test_splice /proc/sys/fs/nr_open
123 expect_success "proc_handler: proc_dostring() splice" test_splice /proc/sys/kernel/modprobe
124 expect_success "proc_handler: special read splice" test_splice /proc/sys/kernel/version
128 expect_success "test_module kernel module load" modprobe test_module
/kernel/linux/linux-6.6/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c232 static bool test_userns(bool expect_success) in test_userns() argument
259 return success == expect_success; in test_userns()
266 static void test_setuid(uid_t child_uid, bool expect_success) in test_setuid() argument
292 if (expect_success) { in test_setuid()
298 if (expect_success) { in test_setuid()
306 if (expect_success) in test_setuid()
322 static void test_setgid(gid_t child_gid, bool expect_success) in test_setgid() argument
348 if (expect_success) { in test_setgid()
354 if (expect_success) { in test_setgid()
362 if (expect_success) in test_setgid()
378 test_setgroups(gid_t* child_groups, size_t len, bool expect_success) test_setgroups() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
H A Dnetfilter_link_attach.c15 bool expect_success; member
29 { .pf = NFPROTO_IPV4, .priority = -10000, .expect_success = true, .name = "attach ipv4", },
30 { .pf = NFPROTO_IPV6, .priority = 10001, .expect_success = true, .name = "attach ipv6", },
61 if (nf_hook_link_tests[i].expect_success) { in test_netfilter_link_attach()
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/
H A Dsafesetid-test.c171 static bool test_userns(bool expect_success) in test_userns() argument
198 return success == expect_success; in test_userns()
205 static void test_setuid(uid_t child_uid, bool expect_success) in test_setuid() argument
231 if (expect_success) { in test_setuid()
237 if (expect_success) { in test_setuid()
245 if (expect_success) in test_setuid()
/kernel/linux/linux-6.6/net/handshake/
H A Dhandshake-test.c37 bool expect_success; member
76 .expect_success = false,
82 .expect_success = false,
88 .expect_success = false,
94 .expect_success = false,
100 .expect_success = false,
106 .expect_success = false,
112 .expect_success = true,
138 if (param->expect_success) in handshake_req_alloc_case()

Completed in 3 milliseconds