]> 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 6cd2ef49311ca031b804598aa1cde03acd667fc6..6ea6beff271ef0da704f91712781f669270e73d5 100644 (file)
@@ -14,10 +14,10 @@ void run_test(struct parser_test *test)
        struct discover_boot_option *opt;
        struct discover_context *ctx;
 
        struct discover_boot_option *opt;
        struct discover_context *ctx;
 
-       test_read_conf_embedded(test, "conf.txt");
+       test_read_conf_embedded_url(test, "tftp://host/dir/conf.txt");
 
        test_set_event_source(test);
 
        test_set_event_source(test);
-       test_set_event_param(test->ctx->event, "conffile",
+       test_set_event_param(test->ctx->event, "pxeconffile",
                        "tftp://host/dir/conf.txt");
 
        test_run_parser(test, "pxe");
                        "tftp://host/dir/conf.txt");
 
        test_run_parser(test, "pxe");