test/parser: check for multiple default options
authorJeremy Kerr <jk@ozlabs.org>
Fri, 20 Sep 2013 06:25:30 +0000 (14:25 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 20 Sep 2013 06:25:30 +0000 (14:25 +0800)
commit85d8a6966cbf5c97023c11620cabd8a63b883e07
tree57bdd1d68bf39316479529239abf284d4a17a565
parent402884d9d5835879f3c75657a46492cc03261255
test/parser: check for multiple default options

Update check_boot_option_count to check if a parser returned more than
one boot option with is_default set.

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