Lines Matching refs:fail_if
18 fail_if(nla_attr_size(0) != NLA_HDRLEN, in START_TEST()
20 fail_if(nla_attr_size(1) != NLA_HDRLEN + 1, in START_TEST()
22 fail_if(nla_attr_size(2) != NLA_HDRLEN + 2, in START_TEST()
24 fail_if(nla_attr_size(3) != NLA_HDRLEN + 3, in START_TEST()
26 fail_if(nla_attr_size(4) != NLA_HDRLEN + 4, in START_TEST()
29 fail_if(nla_total_size(1) != NLA_HDRLEN + 4, in START_TEST()
31 fail_if(nla_total_size(2) != NLA_HDRLEN + 4, in START_TEST()
33 fail_if(nla_total_size(3) != NLA_HDRLEN + 4, in START_TEST()
35 fail_if(nla_total_size(4) != NLA_HDRLEN + 4, in START_TEST()
38 fail_if(nla_padlen(1) != 3, in START_TEST()
40 fail_if(nla_padlen(2) != 2, in START_TEST()
42 fail_if(nla_padlen(3) != 1, in START_TEST()
44 fail_if(nla_padlen(4) != 0, in START_TEST()
46 fail_if(nla_padlen(5) != 3, in START_TEST()
59 fail_if(!msg, "Unable to allocate netlink message"); in START_TEST()
62 fail_if(nla_put_u32(msg, i, i+1) != 0, in START_TEST()
69 fail_if(nla_type(a) != i, "Expected attribute %d", i); in START_TEST()
71 fail_if(nla_get_u32(a) != i, "Expected attribute value %d", i); in START_TEST()