test: fix test error message check
This commit is contained in:
parent
3d974d3256
commit
d2acad8f0e
|
@ -356,7 +356,7 @@ PWTEST(logger_debug_env_invalid)
|
||||||
fsync(STDERR_FILENO);
|
fsync(STDERR_FILENO);
|
||||||
lseek(fd, SEEK_SET, 0);
|
lseek(fd, SEEK_SET, 0);
|
||||||
while ((rc = read(fd, buf, sizeof(buf) - 1) > 0)) {
|
while ((rc = read(fd, buf, sizeof(buf) - 1) > 0)) {
|
||||||
if (strstr(buf, "Ignoring invalid format in PIPEWIRE_DEBUG")) {
|
if (strstr(buf, "Ignoring invalid format in log level")) {
|
||||||
error_message_found = true;
|
error_message_found = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue