Home
last modified time | relevance | path

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

/linux-5.19.10/tools/testing/selftests/net/
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-5.19.10/samples/bpf/
Dtest_lwt_bpf.sh102 function expect_fail { function
119 expect_fail "$EXPECT" "$GOT"