diff options
Diffstat (limited to 'test/parser/test-pxe-single.c')
-rw-r--r-- | test/parser/test-pxe-single.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/parser/test-pxe-single.c b/test/parser/test-pxe-single.c index 65e3051..ccb4d5c 100644 --- a/test/parser/test-pxe-single.c +++ b/test/parser/test-pxe-single.c @@ -15,8 +15,12 @@ void run_test(struct parser_test *test) 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, "conffile", + "tftp://host/dir/conf.txt"); + test_run_parser(test, "pxe"); ctx = test->ctx; |