test/parser: Add check_file_contents
authorJeremy Kerr <jk@ozlabs.org>
Fri, 4 Oct 2013 03:09:10 +0000 (11:09 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 4 Oct 2013 04:21:02 +0000 (12:21 +0800)
commit1b646fb733ef99b1dc1862276ae3595bdeaf355b
tree6fc316fd1ea79cd6bb6f341c31c071a6d843498a
parentfcbb46482c413192756ce865a7336c5638fda6d3
test/parser: Add check_file_contents

We want to test grub2's save_env command, which requires a new function
to check the contents of a file.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
test/parser/parser-test.h
test/parser/utils.c