X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=test%2Fparser%2Ftest-pxe-non-url-conf.c;h=491a40bd839e82b575a51647320eef4e60bb49ce;hb=b406c38d03dade199ab575ea5992c26a5806a8bd;hp=e8bb849e586659f36239b62156c4a9ade5d0a8a4;hpb=6b0d0a38421c6ff044d005042d7309cbf36aface;p=petitboot diff --git a/test/parser/test-pxe-non-url-conf.c b/test/parser/test-pxe-non-url-conf.c index e8bb849..491a40b 100644 --- a/test/parser/test-pxe-non-url-conf.c +++ b/test/parser/test-pxe-non-url-conf.c @@ -15,11 +15,11 @@ void run_test(struct parser_test *test) struct discover_boot_option *opt; struct discover_context *ctx; - test_read_conf_embedded(test, "conf.txt"); + test_read_conf_embedded_url(test, "tftp://host/conf.txt"); test_set_event_source(test); test_set_event_param(test->ctx->event, "siaddr", "host"); - test_set_event_param(test->ctx->event, "conffile", "conf.txt"); + test_set_event_param(test->ctx->event, "pxeconffile", "conf.txt"); test_run_parser(test, "pxe");