Re: [LTP] [PATCH v1 00/31] Add sysfs sanity tests
Cyril Hrubis <[email protected]>
| Newsgroups | it.linux.lists.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