struct discover_boot_option *opt;
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;