lib/process: Add process_get_stdout
[petitboot] / test / parser / test-pxe-empty.c
index eb3b75877e6bfff0b851d821fd2db7d35e2f1a72..df3b233716897e6344e8f53af77c544208554e07 100644 (file)
@@ -9,8 +9,12 @@ void run_test(struct parser_test *test)
 {
        struct discover_context *ctx;
 
-       test_read_conf_embedded(test);
-       test_set_conf_source(test, "tftp://host/dir/conf.txt");
+       test_read_conf_embedded(test, "conf.txt");
+
+       test_set_event_source(test);
+       test_set_event_param(test->ctx->event, "pxeconffile",
+                       "tftp://host/dir/conf.txt");
+
        test_run_parser(test, "pxe");
 
        ctx = test->ctx;