]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-pxe-mac-without-conf.c
test/parser: Check for full URLs in parser tests
[petitboot] / test / parser / test-pxe-mac-without-conf.c
index 72ef94bc6c0392f418ed4218dc80e4999aec72ab..8c0b561fb00a09a482b97661567a4db9347a6cb6 100644 (file)
@@ -15,7 +15,8 @@ void run_test(struct parser_test *test)
        struct discover_boot_option *opt;
        struct discover_context *ctx;
 
-       test_read_conf_embedded(test, "01-12-34-56-78-9A-BC");
+       test_read_conf_embedded_url(test,
+                       "tftp://host/dir/01-12-34-56-78-9A-BC");
 
        test_set_event_source(test);
        test_set_event_param(test->ctx->event, "bootfile", "dir/pxe");