[LTP] [PATCH v3 0/5] Add basic test for uevent netlink socket

Cyril Hrubis chrubis@suse.cz
Mon Aug 26 16:01:19 CEST 2019


This patchset adds three basic test for uevent netlink socket.

v3:

Fixed all problems pointed out by Clemens.

v2:

Finished the input event test, now we match all events.

*** BLURB HERE ***

Cyril Hrubis (5):
  lib/tst_device: Export more functions.
  kernel/uevent: Add uevent01
  kernel/uevent: Add uevent02
  libs/libltpuinput: Add uinput library.
  kernel/uevent: Add uevent03

 include/tst_device.h                |   7 +
 include/tst_uinput.h                |  48 ++++++
 lib/tst_device.c                    |   8 +-
 libs/libltpuinput/Makefile          |  12 ++
 libs/libltpuinput/tst_uinput.c      | 143 ++++++++++++++++
 runtest/uevent                      |   3 +
 scenario_groups/default             |   1 +
 testcases/kernel/uevents/.gitignore |   3 +
 testcases/kernel/uevents/Makefile   |  10 ++
 testcases/kernel/uevents/uevent.h   | 176 ++++++++++++++++++++
 testcases/kernel/uevents/uevent01.c |  98 +++++++++++
 testcases/kernel/uevents/uevent02.c | 143 ++++++++++++++++
 testcases/kernel/uevents/uevent03.c | 248 ++++++++++++++++++++++++++++
 13 files changed, 896 insertions(+), 4 deletions(-)
 create mode 100644 include/tst_uinput.h
 create mode 100644 libs/libltpuinput/Makefile
 create mode 100644 libs/libltpuinput/tst_uinput.c
 create mode 100644 runtest/uevent
 create mode 100644 testcases/kernel/uevents/.gitignore
 create mode 100644 testcases/kernel/uevents/Makefile
 create mode 100644 testcases/kernel/uevents/uevent.h
 create mode 100644 testcases/kernel/uevents/uevent01.c
 create mode 100644 testcases/kernel/uevents/uevent02.c
 create mode 100644 testcases/kernel/uevents/uevent03.c

-- 
2.21.0



More information about the ltp mailing list