]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-pxe-non-url-conf.c
test/parser: Check for full URLs in parser tests
[petitboot] / test / parser / test-pxe-non-url-conf.c
index 08f246a9fd88b976c2aa1bce4526d21694c3cac6..491a40bd839e82b575a51647320eef4e60bb49ce 100644 (file)
@@ -15,7 +15,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/conf.txt");
 
        test_set_event_source(test);
        test_set_event_param(test->ctx->event, "siaddr", "host");
 
        test_set_event_source(test);
        test_set_event_param(test->ctx->event, "siaddr", "host");