mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 07:48:36 +00:00
test-journal-syslog: use streq_ptr since we pass in NULL
This commit is contained in:
@@ -31,8 +31,8 @@ static void test_syslog_parse_identifier(const char* str,
|
||||
ret2 = syslog_parse_identifier(&buf, &ident2, &pid2);
|
||||
|
||||
assert(ret == ret2);
|
||||
assert(ident==ident2 || streq(ident, ident2));
|
||||
assert(pid==pid2 || streq(pid, pid2));
|
||||
assert(ident == ident2 || streq_ptr(ident, ident2));
|
||||
assert(pid == pid2 || streq_ptr(pid, pid2));
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
|
||||
Reference in New Issue
Block a user