Re: [PATCH v1 00/31] Add sysfs sanity tests

Cyril Hrubis <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
Hi!
> My first thought is whether we really need a separate test for each of these?
> 
> We could have a single test where you just map file patterns to expected format.
> 
> Or extend "read_all_sys", which already tries to read from all /sys files, and
> check that what was read matches expected format.

The main motivation for keeping things separate is that having it all in
one binary makes it unreasonably hard to debug failures. The idea is to
have small, easy to understand and reason about tests.

-- 
Cyril Hrubis
[email protected]

-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.