X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-pxe-initrd-in-append.c;fp=test%2Fparser%2Ftest-pxe-initrd-in-append.c;h=6cd2ef49311ca031b804598aa1cde03acd667fc6;hp=3c1c217f4899d6335fb5fc453dc855a359b90fdd;hb=cc28b17bb59411e6031a8273b784e9d1d3a9490d;hpb=b8e53cb4b96eb17dc7fa0ffc505dfebae37e6cbf 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;