Factor out common code to handle comparation of stdout/stderr to the template. The first patch is made to make reviewing of the change of the original logic easier. Yauheni Kaliuta (2): testsuite: track number of descriptors instead of their state testsuite: factor out fd related parameters to a structure testsuite/testsuite.c | 362 +++++++++++++++++++++++++----------------- 1 file changed, 219 insertions(+), 143 deletions(-) -- 2.20.0