[LTP] [PATCH v1 00/10] watchqueue testing suite

Cyril Hrubis chrubis@suse.cz
Tue Jan 4 12:38:52 CET 2022


Hi!
> described in https://www.kernel.org/doc/html/latest/watch_queue.html
> 
> Andrea Cervesato (10):
>   Prepare watchqueue testing suite build
>   Add wqueue01 new test
>   Add wqueue02 new test
>   Add wqueue03 new test
>   Add wqueue04 new test
>   Add wqueue05 new test
>   Add wqueue06 new test
>   Add wqueue07 new test
>   Add wqueue08 new test

Minus the issues I've pointed out this looks like a good basic tests.

What is missing are all the more interesting cases, just by looking at
the API these are at least:

- check that we can filter out events correctly
  (both for type and subtype)

- test that fills up the queue on purpose, i.e. generates events and
  does not read back until its full, you should get special event if
  WATCH_META_LOSS_NOTIFICATION is set

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list