X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=test%2Fparser%2Ftest-grub2-f18-ppc64.c;h=bf59540437610742c6d9058f645c2da43c125591;hp=94eb6a48b694cad56fcdb79063c527370e844a99;hb=refs%2Ftags%2Fv1.9.1;hpb=70ad7ba01b43404585c76512bffe99ede0c0f55a diff --git a/test/parser/test-grub2-f18-ppc64.c b/test/parser/test-grub2-f18-ppc64.c index 94eb6a4..bf59540 100644 --- a/test/parser/test-grub2-f18-ppc64.c +++ b/test/parser/test-grub2-f18-ppc64.c @@ -8,7 +8,9 @@ void run_test(struct parser_test *test) struct discover_device *dev; int i; - test_read_conf_file(test, "grub2-f18-ppc64.conf"); + test_read_conf_file(test, "grub2-f18-ppc64.conf", + "/boot/grub2/grub.cfg"); + test_run_parser(test, "grub2"); ctx = test->ctx; @@ -23,7 +25,7 @@ void run_test(struct parser_test *test) check_args(opt, "root=/dev/mapper/fedora_ltcfbl8eb-root ro " "rd.lvm.lv=fedora_ltcfbl8eb/swap rd.dm=0 " - "rd.lvm.lv=fedora_ltcfbl8eb/root rd.md=0 " + "rd.lvm.lv=fedora_ltcfbl8eb/root rd.md=0 " "rd.luks=0 vconsole.keymap=us rhgb quiet"); check_name(opt, i == 0 ? @@ -38,7 +40,7 @@ void run_test(struct parser_test *test) /* hotplug a device with a maching UUID, and check that our * resources become resolved */ - dev = test_create_device(ctx, "external"); + dev = test_create_device(test, "external"); dev->uuid = "773653a7-660e-490e-9a74-d9fdfc9bbbf6"; test_hotplug_device(test, dev);