commit | 623c9ada222cf61d8447ff0d659a0c8f06243d89 | [log] [tgz] |
---|---|---|
author | Mat Martineau <mathew.j.martineau@linux.intel.com> | Thu Oct 20 16:55:46 2016 -0700 |
committer | David Howells <dhowells@redhat.com> | Tue Dec 13 14:05:39 2016 +0000 |
tree | 7f8be30a113a03d02d4b4e6431d57aac0505afa6 | |
parent | 016f58e7751f8e3180f076c35688c3bd2319bf48 [diff] |
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>