summaryrefslogtreecommitdiffstats
path: root/test/parser/test-pxe-initrd-in-append.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/parser/test-pxe-initrd-in-append.c')
-rw-r--r--test/parser/test-pxe-initrd-in-append.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/parser/test-pxe-initrd-in-append.c b/test/parser/test-pxe-initrd-in-append.c
index 3c1c217..6cd2ef4 100644
--- a/test/parser/test-pxe-initrd-in-append.c
+++ b/test/parser/test-pxe-initrd-in-append.c
@@ -14,8 +14,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;
OpenPOWER on IntegriCloud