Re: [PATCH weston] tests: add a test causing SIGBUS to the compositor

2013-11-21 Thread Kristian Høgsberg
On Thu, Nov 21, 2013 at 04:47:02PM +0200, ppaala...@gmail.com wrote: > From: Pekka Paalanen > > 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 > --- > > v2: call it bad-buffer

[PATCH weston] tests: add a test causing SIGBUS to the compositor

2013-11-21 Thread ppaalanen
From: Pekka Paalanen 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 --- v2: call it bad-buffer instead --- tests/Makefile.am | 4 +++ tests/bad-buffer-test.c | 77 ++