path: root/tests/
diff options
authorVadim Yanitskiy <>2017-09-12 19:07:52 +0300
committerVadim Yanitskiy <>2017-12-31 12:21:00 +0100
commit3e9e57fb400218a74c44f9e3ffb70cf5291410a4 (patch)
tree5c076e2f4ef5c9d10c9160b694198e230e4f3717 /tests/
parent1fe6a9b9ed92da4845f8c8cef10372a3e711a8ca (diff)
tests: add pq_file test
This test is intended to check the file source / sink operability. To do that, the following processing chain is being composed: source/file -> proc/dummy -> sink/file (stdout) The source item opens the sample file named 'io_sample.txt' for reading. The next processing item simply converts all uppercase latters to the lowercase. The last one writes the result to stdout. This processing cycle is being repeated several times with different block length values.
Diffstat (limited to 'tests/')
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ b/tests/
index ea8498c..bffbc52 100644
--- a/tests/
+++ b/tests/
@@ -6,3 +6,12 @@ AT_KEYWORDS([procqueue])
cat $abs_srcdir/procqueue/pq_test.ok > expout
AT_CHECK([$abs_top_builddir/tests/procqueue/pq_test], [0], [expout])
+cat $abs_srcdir/io/pq_file_test.ok > expout
+ $abs_top_builddir/tests/io/pq_file_test \
+ $abs_top_builddir/tests/io/io_sample.txt],
+ [0], [expout])