Stefan Berger 52f115682f tests: Extend command test to transfer large data to process on multiple fds
Add a test case to commandtest.c to test the transfer of data to a
process who received the read-end of pipes' file descriptors. Transfer
large (128 kb) byte streams.

Extend the commandhelper.c with support for --readfd <fd> command line
parameter and convert the data receive loop to use poll and receive data
on multiple file descriptors (up to 3) and read data into distinct buffers
that we grow while adding more (string) data.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
2019-07-26 10:30:57 +01:00
..
2018-12-17 17:52:46 +01:00
2019-06-19 17:12:34 +02:00
2018-12-17 17:52:46 +01:00
2019-06-19 17:12:34 +02:00
2019-07-09 10:27:19 +02:00
2019-02-12 10:14:53 +01:00