Commit f750c801 authored by Max Kellermann's avatar Max Kellermann

test/run_filter: use Filter::Flush()

parent b0a04b3d
...@@ -183,6 +183,13 @@ try { ...@@ -183,6 +183,13 @@ try {
FullWrite(output_fd, dest); FullWrite(output_fd, dest);
} }
while (true) {
auto dest = filter->Flush();
if (dest.IsNull())
break;
FullWrite(output_fd, dest);
}
/* cleanup and exit */ /* cleanup and exit */
return EXIT_SUCCESS; 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