grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC][PATCH] Basic unit testing support for GRUB


From: BVK
Subject: Re: [RFC][PATCH] Basic unit testing support for GRUB
Date: Thu, 3 Dec 2009 03:38:26 +0000

Hi,


I have been traveling a lot, so I couldn't reply :-(


On Wed, Nov 25, 2009 at 4:34 PM, Felix Zielcke <address@hidden> wrote:
>
> Thanks for your work.
> A really useful test and hopefully not complicated to implement would be
> if the config generated by grub-mkconfig (with e.g. 1 fake linux kernel)
> can be parsed by sh.mod and only uses commands listed in commands.lst

IMO this should also be done as part of update-grub process, because
parts of grub.cfg file generated includes changes done by users too.
Having a test case would only ensure that config snippets from GRUB
source tree are parseable.  So what we need is a grub util that checks
for correctness of grub.cfg at user site.

I am not sure how we can achieve this with current grub tools :-(
Maybe a grub-emu variant can do this parsing?




-- 
bvk.chaitanya




reply via email to

[Prev in Thread] Current Thread [Next in Thread]