expect_fail
static void test_create_vpmu_vm_with_nr_counters(unsigned int nr_counters, bool expect_fail)
if (expect_fail)
expect_fail(flowlabel_put(fd, 1));
expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_ANY, IPV6_FL_F_CREATE));
expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_EXCL, IPV6_FL_F_CREATE));
expect_fail(flowlabel_get(fd, 2, IPV6_FL_S_ANY,
expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_ANY, 0));
expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_EXCL, 0));
expect_fail(flowlabel_get(fd, 3, IPV6_FL_S_USER, 0));
expect_fail(flowlabel_get(fd, 4, IPV6_FL_S_PROCESS, 0));
expect_fail(flowlabel_get(fd, 1, IPV6_FL_S_ANY, 0));
expect_fail(flowlabel_put(fd, 1));
expect_fail(flowlabel_get(fd, 0x1FFFFF, IPV6_FL_S_ANY,
expect_fail(flowlabel_get(fd, 1, IPV6_FL_S_ANY,