efi_selftest: unit test for event groups
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Feb 2018 14:17:53 +0000 (15:17 +0100)
committerAlexander Graf <agraf@suse.de>
Wed, 4 Apr 2018 09:00:07 +0000 (11:00 +0200)
commit6fc901c538907f48d4253a6e23987df2268f75ae
treea5e1c5c6e7dd283555ab333e2af47bf5b5a624cc
parent9967adb71db685c0b45312f966e954d9fe5293c7
efi_selftest: unit test for event groups

Supply a unit test for event groups.

Create multiple events in an event group. Signal each event once and check
that all events are notified once in each round.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_selftest/Makefile
lib/efi_selftest/efi_selftest_event_groups.c [new file with mode: 0644]