test/parser: Check for full URLs in parser tests
[petitboot] / test / parser / test-pxe-non-url-conf.c
index e8bb849e586659f36239b62156c4a9ade5d0a8a4..491a40bd839e82b575a51647320eef4e60bb49ce 100644 (file)
@@ -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");