[LTP] [PATCH 1/3] lib/tst_kconfig: Rewrite the parser internals

Cyril Hrubis chrubis@suse.cz
Thu Oct 22 10:53:50 CEST 2020


Hi!
> > I do not get what you are trying to say. Are you saying that we should
> > tokenize the input? I do not think that this is necessary since the file
> > format is pretty simple.
> 
> Yes or atleast test the assumption you won't find configs with spaces or
> other wierd stuff in by throwing an error if we find something
> unexpected. If someone has a broken config we can tell them that.

I guess I can make it a bit more robust in a follow up patch.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list