tests: add a test causing SIGBUS to the compositor
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Thu, 21 Nov 2013 14:47:02 +0000 (16:47 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 22 Nov 2013 05:47:19 +0000 (21:47 -0800)
commitf812477fc037e0ae920b9d18f96057dacada420d
treecd8fd220ab9e29c7f56b1f79f7af298bd2c98592
parentbb835b419edfbcb2a7267098df7d6c5ab8592b97
tests: add a test causing SIGBUS to the compositor

This tests the wl_shm buffer access wrappers, that are supposed to catch
the invalid accesses to a memory-mapped file beyond EOF.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
tests/Makefile.am
tests/bad-buffer-test.c [new file with mode: 0644]