Home
last modified time | relevance | path

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

/linux/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
/linux/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()
[all …]
/linux/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()
/linux/tools/testing/selftests/kvm/x86_64/
H A Dpmu_counters_test.c
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnetfilter_link_attach.c15 bool expect_success; member
34 .expect_success = true,
42 .expect_success = true,
94 if (nf_hook_link_tests[i].expect_success) { in test_netfilter_link_attach()
H A Dtoken.c795 static int validate_struct_ops_load(int mnt_fd, bool expect_success) in validate_struct_ops_load() argument
810 if (expect_success) { in validate_struct_ops_load()