]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-pxe-initrd-in-append.c
Change parser interface to allow stat
[petitboot] / test / parser / test-pxe-initrd-in-append.c
index 3c1c217f4899d6335fb5fc453dc855a359b90fdd..6ea6beff271ef0da704f91712781f669270e73d5 100644 (file)
@@ -14,8 +14,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;