Home
last modified time | relevance | path

Searched refs:expect_fail (Results 1 – 3 of 3) sorted by relevance

/linux-6.15/tools/testing/selftests/net/
H A Dipv6_flowlabel_mgr.c43 #define expect_fail(x) __expect(!(x)) macro
80 expect_fail(flowlabel_get(fd, 1, IPV6_FL_S_ANY, 0)); in run_tests()
83 expect_fail(flowlabel_put(fd, 1)); in run_tests()
86 expect_fail(flowlabel_get(fd, 0x1FFFFF, IPV6_FL_S_ANY, in run_tests()
96 expect_fail(flowlabel_get(fd, 1, IPV6_FL_S_ANY, in run_tests()
102 expect_fail(flowlabel_put(fd, 1)); in run_tests()
114 expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_ANY, in run_tests()
125 expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_ANY, 0)); in run_tests()
127 expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_EXCL, 0)); in run_tests()
139 expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_USER, 0)); in run_tests()
[all …]
/linux-6.15/samples/bpf/
H A Dtest_lwt_bpf.sh105 function expect_fail { function
122 expect_fail "$EXPECT" "$GOT"
/linux-6.15/tools/testing/selftests/kvm/arm64/
H A Dvpmu_counter_access.c478 static void test_create_vpmu_vm_with_pmcr_n(uint64_t pmcr_n, bool expect_fail) in test_create_vpmu_vm_with_pmcr_n() argument
497 if (expect_fail) in test_create_vpmu_vm_with_pmcr_n()