X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-pxe-single.c;h=56c404cd98203fb8cb6afb816a26598e838e8969;hp=65e30516f4f01b494796d629462cea288348b820;hb=f94ca3311758854670d25ba4e7853d76c2113402;hpb=caddee4b6224b0e050d12cb77d2f42394043885f diff --git a/test/parser/test-pxe-single.c b/test/parser/test-pxe-single.c index 65e3051..56c404c 100644 --- a/test/parser/test-pxe-single.c +++ b/test/parser/test-pxe-single.c @@ -15,8 +15,12 @@ void run_test(struct parser_test *test) struct discover_boot_option *opt; struct discover_context *ctx; - test_read_conf_embedded(test); - test_set_conf_source(test, "tftp://host/dir/conf.txt"); + test_read_conf_embedded_url(test, "tftp://host/dir/conf.txt"); + + test_set_event_source(test); + test_set_event_param(test->ctx->event, "pxeconffile", + "tftp://host/dir/conf.txt"); + test_run_parser(test, "pxe"); ctx = test->ctx;