Searched refs:expect (Results 1 - 5 of 5) sorted by relevance
/systemd/src/test/ |
H A D | test-unit-name.c | 161 static void test_unit_name_mangle_one(UnitNameMangle allow_globs, const char *pattern, const char *expect, int ret) { argument 166 assert_se(streq_ptr(t, expect)); 219 #define expect(unit, pattern, expected) \ macro 238 expect(u, "%%", "%"); 239 expect(u, "%%s", "%s"); 240 expect(u, "%", ""); // REALLY? 243 expect(u, "%n", "blah.service"); 244 expect(u, "%f", "/blah"); 245 expect(u, "%N", "blah"); 246 expect( 278 #undef expect macro 371 test_build_parent_slice_one(const char *name, const char *expect, int ret) argument [all...] |
H A D | test-calendarspec.c | 53 static void test_next(const char *input, const char *new_tz, usec_t after, usec_t expect) { argument 77 if (expect != (usec_t)-1) 78 assert_se(r >= 0 && u == expect);
|
H A D | test-unit-file.c | 83 log_info("expect: \"%s\" [\"%s\" \"%s\" \"%s\"]", 593 #define expect(src, pattern, result) \ macro 611 expect(i, "%n", "name.service"); 612 expect(i, "%N", "name"); 613 expect(i, "%p", "name"); 614 expect(i, "%i", ""); 615 expect(i, "%u", user); 616 expect(i, "%U", uid); 618 expect(i, "%m", mid); 619 expect( [all...] |
H A D | test-dns-domain.c | 25 static void test_dns_label_unescape_one(const char *what, const char *expect, size_t buffer_sz, int ret) { argument 35 assert_se(streq(buffer, expect)); 53 static void test_dns_name_to_wire_format_one(const char *what, const char *expect, size_t buffer_sz, int ret) { argument 63 assert_se(!memcmp(buffer, expect, r)); 153 static void test_dns_label_escape_one(const char *what, size_t l, const char *expect, int ret) { argument 163 assert_se(streq_ptr(expect, t)); 173 static void test_dns_name_normalize_one(const char *what, const char *expect, int ret) { argument 183 assert_se(streq_ptr(expect, t));
|
/systemd/src/journal/ |
H A D | test-catalog.c | 97 const char *expect = local 106 assert_se(streq(expect, payload));
|
Completed in 37 milliseconds