libevdev/test
Peter Hutterer 9675287062 Use ENOMEM instead of ENOSPC
From errno(3):
   ENOMEM          Not enough space (POSIX.1)
   ENOSPC          No space left on device (POSIX.1)

when we run out memory the reason is a failed malloc, for which ENOMEM
seems more appropriate.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
2013-08-31 12:27:23 +10:00
..
.gitignore Set up a test harness 2013-06-04 11:39:33 +10:00
Makefile.am test: add uinput creation tests 2013-08-29 13:54:49 +10:00
test-common-uinput.c Use ENOMEM instead of ENOSPC 2013-08-31 12:27:23 +10:00
test-common-uinput.h test: switch udev backend over to new libevdev-uinput bits 2013-08-29 13:54:49 +10:00
test-common.c test: define a common device name 2013-07-05 09:11:34 +10:00
test-common.h test: define a common device name 2013-07-05 09:11:34 +10:00
test-event-names.c Fix off-by-one errors when dealing with *_MAX values. 2013-08-30 17:40:54 +10:00
test-int-queue.c Use ENOMEM instead of ENOSPC 2013-08-31 12:27:23 +10:00
test-libevdev-events.c test: update to test for the various _MAX values 2013-08-31 09:40:41 +10:00
test-libevdev-has-event.c Fix off-by-one errors when dealing with *_MAX values. 2013-08-30 17:40:54 +10:00
test-libevdev-init.c test: define a common device name 2013-07-05 09:11:34 +10:00
test-main.c test: add uinput creation tests 2013-08-29 13:54:49 +10:00
test-uinput.c test: update to test for the various _MAX values 2013-08-31 09:40:41 +10:00