Lines Matching defs:result
32 static void check_p_d_u(const char *path, int code, const char *result) {
37 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, result, code);
39 assert_se(streq_ptr(unit, result));
54 static void check_p_g_u(const char *path, int code, const char *result) {
59 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, result, code);
61 assert_se(streq_ptr(unit, result));
78 static void check_p_g_u_u(const char *path, int code, const char *result) {
83 printf("%s: %s → %s %d expected %s %d\n", __func__, path, unit, r, result, code);
85 assert_se(streq_ptr(unit, result));
104 static void check_p_g_s(const char *path, int code, const char *result) {
108 assert_se(streq_ptr(s, result));
118 static void check_p_g_o_u(const char *path, int code, uid_t result) {
122 assert_se(uid == result);
131 static void check_p_g_slice(const char *path, int code, const char *result) {
135 assert_se(streq_ptr(s, result));
148 static void check_p_g_u_slice(const char *path, int code, const char *result) {
152 assert_se(streq_ptr(s, result));