]> git.ozlabs.org Git - petitboot/commit
test/parser: Add test device hotplug functions
authorJeremy Kerr <jk@ozlabs.org>
Wed, 15 May 2013 08:41:56 +0000 (16:41 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 16 May 2013 03:53:34 +0000 (11:53 +0800)
commit22b9ca8f4b9d28b4405576b39a87d3d0c945dd07
treed01e69d0c64a8dceb54ee1b391b6190208d4aabd
parent31998343c5eb5533ef85b97f5bb2ffe200eb2ad0
test/parser: Add test device hotplug functions

Add a function, test_hotplug_device(), to simulate the addition of
devices during tests. This should make it possible to observe boot
options' resources changing from unresolved state to resolved.

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