Commit 88446ccd authored by Max Kellermann's avatar Max Kellermann

test/run_filter: use Filter::Flush()

parent 6238cc07
......@@ -184,6 +184,13 @@ try {
FullWrite(output_fd, dest);
}
while (true) {
auto dest = filter->Flush();
if (dest.IsNull())
break;
FullWrite(output_fd, dest);
}
/* cleanup and exit */
return EXIT_SUCCESS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment