summaryrefslogtreecommitdiffstats
path: root/test/parser/test-pxe-empty.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-pxe-empty.c')
-rw-r--r--test/parser/test-pxe-empty.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/parser/test-pxe-empty.c b/test/parser/test-pxe-empty.c
index eb3b758..fbc1d8a 100644
--- a/test/parser/test-pxe-empty.c
+++ b/test/parser/test-pxe-empty.c
@@ -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, "conffile",
+ "tftp://host/dir/conf.txt");
+
test_run_parser(test, "pxe");
ctx = test->ctx;
OpenPOWER on IntegriCloud