Home
last modified time | relevance | path

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

/linux/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()
107 expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_ANY, IPV6_FL_F_CREATE)); in run_tests()
109 expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_EXCL, IPV6_FL_F_CREATE)); in run_tests()
114 expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_ANY, in run_tests()
125 expect_fail(flowlabel_ge in run_tests()
[all...]
/linux/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()