[RFC] Porting kernel MTD tests to user space

Richard Weinberger richard at nod.at
Mon Apr 25 23:58:06 PDT 2016


Am 26.04.2016 um 07:17 schrieb Artem Bityutskiy:
> On Tue, 2016-04-26 at 00:13 +0200, Richard Weinberger wrote:
>> David was so kind and did an initial port of Linux's MTD tests to
>> user space.
>> He took most tests as-is and massaged them to work in user space
>> using libmtd.
>> In the long run the goal is giving up the kernel tests as much as
>> possible
>> and improve the tests present in mtd-utils.
>>
>> Feedback is very welcome!
> 
> I would consider moving them, not just porting. Indeed, we probably do
> not want to have the same code in 2 places, or is there a strong reason
> why would we want that?

I'd mark ported tests as obsolete but keep them to not break somebodies
setups.
But I think you are right, having two code bases is not what we want.

Brian, what is your opinion on that?

Thanks,
//richard



More information about the linux-mtd mailing list