test/run_filter: use Filter::Flush()
This commit is contained in:
parent
6238cc0734
commit
88446ccde9
@ -184,6 +184,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;
|
||||||
|
Loading…
Reference in New Issue
Block a user