summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/run_filter.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/run_filter.cxx b/test/run_filter.cxx
index d51461511..c6b6f9bff 100644
--- a/test/run_filter.cxx
+++ b/test/run_filter.cxx
@@ -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;