]> git.ozlabs.org Git - petitboot/commit
test/parser: Add check_not_present_resource
authorGeoff Levand <geoff@infradead.org>
Sat, 18 May 2013 01:57:07 +0000 (09:57 +0800)
committerGeoff Levand <geoff@infradead.org>
Sat, 18 May 2013 01:57:07 +0000 (09:57 +0800)
commit7d20772cc7b4d258ee878b4cb30b313f14502dc7
treece54ffe159a30ebd887fd015d91434e222664969
parent9974f2d82b9450eaccd7661b3bfabb686ab8e161
test/parser: Add check_not_present_resource

Add a new routine check_not_present_resource() to check
that a resource is not present.  This is typically used
to check that an initrd entry has not been found.

Also add any needed checks for no initrd to the existing
tests.

Signed-off-by: Geoff Levand <geoff@infradead.org>
test/parser/parser-test.h
test/parser/test-grub2-multiple-resolve.c
test/parser/test-grub2-ubuntu-13_04-x86.c
test/parser/utils.c