X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-pxe-empty.c;h=df3b233716897e6344e8f53af77c544208554e07;hp=eb3b75877e6bfff0b851d821fd2db7d35e2f1a72;hb=51fb307dfdbb8f238d15520a74e33ef4fea52e4d;hpb=15c8cadd1173f681142a3f48319a203d7b917850 diff --git a/test/parser/test-pxe-empty.c b/test/parser/test-pxe-empty.c index eb3b758..df3b233 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, "pxeconffile", + "tftp://host/dir/conf.txt"); + test_run_parser(test, "pxe"); ctx = test->ctx;