TEST: Add expect_multiline toolbox function

expect_payload only looks at the last line of the output file, so it
doesn't work for commands that output multiple lines. expect_multiline
counts the lines in the expected value and extracts that number of
lines from the output file for comparison and assignment.

Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David Howells <dhowells@redhat.com>
1 file changed