[Intel-gfx] [PATCH i-g-t] lib/tests: explicitly raise SIGSEGV

2015-09-24 Thread Thomas Wood
Dereferencing a NULL pointer is undefined behaviour and may not always result in a segmentation fault. Explicitly raise the SIGSEGV signal to test handling of this signal. Signed-off-by: Thomas Wood --- lib/tests/igt_segfault.c | 6 +- 1 file changed, 5 insertions(+),

Re: [Intel-gfx] [PATCH i-g-t] lib/tests: explicitly raise SIGSEGV

2015-09-24 Thread Morton, Derek J
Subject: [Intel-gfx] [PATCH i-g-t] lib/tests: explicitly raise SIGSEGV Dereferencing a NULL pointer is undefined behaviour and may not always result in a segmentation fault. Explicitly raise the SIGSEGV signal to test handling of this signal. Signed-off-by: Thomas Wood <thomas.w...@intel.