]> git.ozlabs.org Git - petitboot/commit
test/parser: Add check_boot_option_count helper & get_boot_option
authorJeremy Kerr <jk@ozlabs.org>
Thu, 9 May 2013 08:49:59 +0000 (16:49 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 16 May 2013 03:53:34 +0000 (11:53 +0800)
commitca5ea96894c8b50e495d919db2737551e581120c
tree00cf7d2f69785abf8fe0e873bd7b66dccb630ef6
parent973a34df046f61a6688c3f3498efa8cd30777441
test/parser: Add check_boot_option_count helper & get_boot_option

Add a helper function to check the expected boot option counts, and
print the boot option details if the check fails.

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