]> git.ozlabs.org Git - petitboot/blobdiff - test/parser/test-pxe-single.c
lib/process: Don't abort stdout reads on EINTR
[petitboot] / test / parser / test-pxe-single.c
index ccb4d5c6462efc721156ecd4725f4adbd14e23ff..56c404cd98203fb8cb6afb816a26598e838e8969 100644 (file)
@@ -15,10 +15,10 @@ void run_test(struct parser_test *test)
        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, "conffile",
+       test_set_event_param(test->ctx->event, "pxeconffile",
                        "tftp://host/dir/conf.txt");
 
        test_run_parser(test, "pxe");