X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-pxe-pathprefix-discover.c;h=8048961824a7a7b6cd632354b856aa8f9fb73ac0;hp=de2feace6ff1962259ced939e08318f36d9dddef;hb=211d7eb1de2d3a9cd97846deb9a85a934dae2981;hpb=f2acf9d2573ebbfb7478e97c4066c128ddaa5a18 diff --git a/test/parser/test-pxe-pathprefix-discover.c b/test/parser/test-pxe-pathprefix-discover.c index de2feac..8048961 100644 --- a/test/parser/test-pxe-pathprefix-discover.c +++ b/test/parser/test-pxe-pathprefix-discover.c @@ -15,7 +15,8 @@ void run_test(struct parser_test *test) struct discover_boot_option *opt; struct discover_context *ctx; - test_read_conf_embedded_url(test, "tftp://host/path/to/C0A8"); + test_read_conf_embedded_url(test, + "tftp://host/path/to/pxelinux.cfg/C0A8"); test_set_event_source(test); test_set_event_param(test->ctx->event, "ip", "192.168.0.1"); @@ -34,5 +35,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"); }