X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=test%2Fparser%2Ftest-pxe-single.c;h=0bc6a590347bf92ede7430bb40ec0c04549a0797;hb=25e353275fb55192fbd80c3bbe012df17e35a09f;hp=65e30516f4f01b494796d629462cea288348b820;hpb=caddee4b6224b0e050d12cb77d2f42394043885f;p=petitboot diff --git a/test/parser/test-pxe-single.c b/test/parser/test-pxe-single.c index 65e3051..0bc6a59 100644 --- a/test/parser/test-pxe-single.c +++ b/test/parser/test-pxe-single.c @@ -15,8 +15,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, "pxeconffile", + "tftp://host/dir/conf.txt"); + test_run_parser(test, "pxe"); ctx = test->ctx;