Re: [libvirt] [PATCH 1/4] tests: fix incorrect status handling by virsh-self-test

2016-09-13 Thread Michal Privoznik
On 12.09.2016 10:20, Erik Skultety wrote: > The virsh-self-test script compared the test's return code with 1 and only if > the return code matched this value then the test was marked as failed. Problem > is that SIGSEGV returns 139 (or 11 to be precise, since shell reserves the MSB > for abnormal

[libvirt] [PATCH 1/4] tests: fix incorrect status handling by virsh-self-test

2016-09-12 Thread Erik Skultety
The virsh-self-test script compared the test's return code with 1 and only if the return code matched this value then the test was marked as failed. Problem is that SIGSEGV returns 139 (or 11 to be precise, since shell reserves the MSB for abnormal exit signaling) which passes the check just fine