test/run_filter: use Filter::Flush()
This commit is contained in:
parent
b0a04b3da8
commit
f750c8012a
|
@ -183,6 +183,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;
|
||||
|
|
Loading…
Reference in New Issue