On Wed, 2015-07-22 at 15:37 -0700, Andrew Morton wrote: > On Wed, 22 Jul 2015 15:34:34 -0700 Davidlohr Bueso <dave@xxxxxxxxxxxx> wrote: > > > On Wed, 2015-07-22 at 15:30 -0700, Andrew Morton wrote: > > > selftests is a pretty scrappy place. It's partly a dumping ground for > > > things so useful test code doesn't just get lost and bitrotted. Partly > > > a framework so people who add features can easily test them. Partly to > > > provide tools to architecture maintainers when they wire up new > > > syscalls and the like. > > > > Yeah, ipc, for instance, also sucks _badly_ in selftests. > > What testsuite should people be using for IPC? The best I've found is using the ipc parts of LTP. It's caught a lot of bugs in the past. Unsurprisingly, I believe Fengguang has this automated. Manfred also has a few for more specific purposes -- which also serve for performance testing: https://github.com/manfred-colorfu/ipcsemtest https://github.com/manfred-colorfu/ipcscale iirc Dave Hansen also had written some shm-specific tests. -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html