summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-21 13:33:46 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-06-24 12:52:50 +0800
commit01f60e05ef83e3b91f7084ed95e6cc07412c8bb9 (patch)
tree755273018ae2d9734276331b1f2b9d69ad2ee836 /test
parentb3539f1cf27f0cd1ddf26ec92d9ea4e6c0df7ea5 (diff)
downloadpetitboot-01f60e05ef83e3b91f7084ed95e6cc07412c8bb9.zip
petitboot-01f60e05ef83e3b91f7084ed95e6cc07412c8bb9.tar.gz
discover: implement default booting
When we see a boot option with is_default set, store it in the handler and register a timeout waiter. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test')
-rw-r--r--test/parser/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parser/utils.c b/test/parser/utils.c
index 6f78c2f..70a40bb 100644
--- a/test/parser/utils.c
+++ b/test/parser/utils.c
@@ -86,7 +86,7 @@ struct parser_test *test_init(void)
struct parser_test *test;
test = talloc_zero(NULL, struct parser_test);
- test->handler = device_handler_init(NULL, 0);
+ test->handler = device_handler_init(NULL, NULL, 0);
test->ctx = test_create_context(test);
return test;
OpenPOWER on IntegriCloud