Searched refs:expect_success (Results 1 – 6 of 6) sorted by relevance
| /tools/testing/selftests/splice/ |
| A D | short_splice_read.sh | 15 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
|
| /tools/testing/selftests/safesetid/ |
| A D | safesetid-test.c | 232 static bool test_userns(bool expect_success) in test_userns() argument 259 return success == expect_success; in test_userns() 292 if (expect_success) { in test_setuid() 298 if (expect_success) { in test_setuid() 306 if (expect_success) in test_setuid() 348 if (expect_success) { in test_setgid() 354 if (expect_success) { in test_setgid() 362 if (expect_success) in test_setgid() 413 if (expect_success) { in test_setgroups() 419 if (expect_success) { in test_setgroups() [all …]
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | netfilter_link_attach.c | 15 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()
|
| A D | sockmap_redir.c | 147 static void try_recv(const char *prefix, int fd, int flags, bool expect_success) in try_recv() argument 154 if (n < 0 && expect_success) in try_recv() 156 if (!n && !expect_success) in try_recv()
|
| A D | token.c | 875 static int validate_struct_ops_load(int mnt_fd, bool expect_success) in validate_struct_ops_load() argument 890 if (expect_success) { in validate_struct_ops_load()
|
| /tools/testing/selftests/kvm/x86/ |
| A D | pmu_counters_test.c | 355 static void guest_test_rdpmc(uint32_t rdpmc_idx, bool expect_success, in guest_test_rdpmc() argument 362 GUEST_ASSERT_PMC_MSR_ACCESS(RDPMC, rdpmc_idx, !expect_success, vector); in guest_test_rdpmc() 363 if (expect_success) in guest_test_rdpmc() 370 GUEST_ASSERT_PMC_MSR_ACCESS(RDPMC, rdpmc_idx, !expect_success, vector); in guest_test_rdpmc() 371 if (expect_success) in guest_test_rdpmc() 394 const bool expect_success = i < nr_counters || (or_mask & BIT(i)); in guest_rd_wr_counters() local 400 const uint64_t expected_val = expect_success ? test_val : 0; in guest_rd_wr_counters() 401 const bool expect_gp = !expect_success && msr != MSR_P6_PERFCTR0 && in guest_rd_wr_counters() 425 guest_test_rdpmc(rdpmc_idx, expect_success, expected_val); in guest_rd_wr_counters() 432 GUEST_ASSERT(!expect_success || !pmu_has_fast_mode); in guest_rd_wr_counters()
|
Completed in 12 milliseconds