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