]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-pxe-initrd-in-append.c
test/parser: Check for full URLs in parser tests
[petitboot] / test / parser / test-pxe-initrd-in-append.c
index 2939e98eb50923dde3e824096a44f1bffe4d6c88..6ea6beff271ef0da704f91712781f669270e73d5 100644 (file)
@@ -14,7 +14,7 @@ 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_param(test->ctx->event, "pxeconffile",
 
        test_set_event_source(test);
        test_set_event_param(test->ctx->event, "pxeconffile",