configure: Use AC_GNU_SOURCE
[petitboot] / test / parser / test-grub2-f18-ppc64.c
index ba3515d239692b6840fea08312aa34349505e143..bf59540437610742c6d9058f645c2da43c125591 100644 (file)
@@ -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 ?