Home
last modified time | relevance | path

Searched refs:expect_fail (Results 1 – 3 of 3) 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_get(fd, 3, IPV6_FL_S_ANY, 0)); in run_tests()
[all …]
/linux/samples/bpf/
H A Dtest_lwt_bpf.sh105 function expect_fail { function
122 expect_fail "$EXPECT" "$GOT"
/linux/tools/testing/selftests/kvm/arm64/
H A Dvpmu_counter_access.c464 static void test_create_vpmu_vm_with_nr_counters(unsigned int nr_counters, bool expect_fail) in test_create_vpmu_vm_with_nr_counters() argument
478 if (expect_fail) in test_create_vpmu_vm_with_nr_counters()