Check for segfault and illegal instruction when expecting an error
authorFrédéric Moulins <ffrrrr@gmail.com>
Tue, 26 Aug 2008 10:28:00 +0000 (12:28 +0200)
committerFelix <nbd@openwrt.org>
Tue, 26 Aug 2008 10:31:34 +0000 (12:31 +0200)
commit12c5b22102873e303e540f886489831461d54ea9
tree46394a8cf6fea85cf0e2aba1a7ce3fac515ee08c
parent8500c9b01699a94c0516ee5cbc10e8c0fb7b0408
Check for segfault and illegal instruction when expecting an error

When an error is expected, fail the test when return code is :
* 139: segmentation fault
* 132: illegal instruction
test/tests.sh