Lines Matching refs:assert_se
33 assert_se(!capability_to_name(-1));
34 assert_se(!capability_to_name(capability_list_length()));
39 assert_se(n = capability_to_name(i));
40 assert_se(capability_from_name(n) == i);
44 assert_se(capability_from_name("asdfbsd") == -EINVAL);
45 assert_se(capability_from_name("CAP_AUDIT_READ") == CAP_AUDIT_READ);
46 assert_se(capability_from_name("cap_audit_read") == CAP_AUDIT_READ);
47 assert_se(capability_from_name("cAp_aUdIt_rEAd") == CAP_AUDIT_READ);
48 assert_se(capability_from_name("0") == 0);
49 assert_se(capability_from_name("15") == 15);
50 assert_se(capability_from_name("-1") == -EINVAL);
57 assert_se(a = cap_to_name(i));
64 assert_se(b = capability_to_name(i));
68 assert_se(strcasecmp(a, b) == 0);
79 assert_se(r >= 0);
82 assert_se(r >= 0);
83 assert_se(val != 0);
84 assert_se(val == cap_last_cap());
101 assert_se(p != 0);
102 assert_se(p == cap_last_cap());