Re: [testsuite] asan/clone-test-1.c: Handle clone() failure

2016-07-04 Thread Jakub Jelinek
On Mon, Jul 04, 2016 at 05:44:17PM +0200, Christophe Lyon wrote: > Hello, > > This small patch handles the case were clone() would fail when > executing asan/clone-test-1.c. I wonder if the syscall failures shouldn't result in exit of 0 rather than 1 (ideally UNSUPPORTED), because they don't mean

[testsuite] asan/clone-test-1.c: Handle clone() failure

2016-07-04 Thread Christophe Lyon
Hello, This small patch handles the case were clone() would fail when executing asan/clone-test-1.c. OK? Christophe 2016-07-04 Christophe Lyon * c-c++-common/asan/clone-test-1.c (main): Handle clone() failure. diff --git a/gcc/testsuite/c-c++-common/asan/clone-test-1.c b/gcc/testsui