test: Don't fail when events are enabled multiple times
authorJonas Ådahl <jadahl@gmail.com>
Mon, 14 Jul 2014 21:34:25 +0000 (23:34 +0200)
committerJonas Ådahl <jadahl@gmail.com>
Mon, 18 Aug 2014 20:35:19 +0000 (22:35 +0200)
commite3f39004a2e36461c508b76a645368d5613062a5
tree856ec64ecb2efaaa7173eb0223f7784d19682b1c
parentec0161eda336439bcd502f00fb1e3481617c3f2a
test: Don't fail when events are enabled multiple times

When overriding events of a test device, if one would enable an event
that was already enabled by default for the overridden device, an assert
checking if the event was already enabled would fail and cause the test
to fail.

Since the merging of the default and overriding event lists is implemented
by simply concatinating them letting libevdev deal with ignoring
superfluous event enabling, remove the assert to allow the implementation
to work.

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.c