X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-pxe-pathprefix-discover-mac.c;h=3c003fab258d5e5d75febdf535309d96ae47b7dd;hp=2decb4606bdcddc7b518010a6d92aa7ffa6382f4;hb=51fb307dfdbb8f238d15520a74e33ef4fea52e4d;hpb=f66b0807cace1cfda192810861ba6309bf6fa9fe diff --git a/test/parser/test-pxe-pathprefix-discover-mac.c b/test/parser/test-pxe-pathprefix-discover-mac.c index 2decb46..3c003fa 100644 --- a/test/parser/test-pxe-pathprefix-discover-mac.c +++ b/test/parser/test-pxe-pathprefix-discover-mac.c @@ -16,7 +16,8 @@ void run_test(struct parser_test *test) struct discover_context *ctx; test_read_conf_embedded_url(test, - "tftp://host/path/to/01-12-34-56-78-9a-bc"); + "tftp://host/path/to/pxelinux.cfg/" + "01-12-34-56-78-9a-bc"); test_set_event_source(test); test_set_event_param(test->ctx->event, "mac", "12:34:56:78:9a:bc"); @@ -35,5 +36,6 @@ void run_test(struct parser_test *test) check_resolved_url_resource(opt->boot_image, "tftp://host/path/to/./kernel"); - check_resolved_url_resource(opt->initrd, "tftp://host/initrd"); + check_resolved_url_resource(opt->initrd, + "tftp://host/path/to/initrd"); }