Re: [PATCH] selftests/exec: Check if the syscall exists and bail if not

2015-01-22 Thread Michael Ellerman
On Wed, 2015-01-21 at 10:22 +, David Drysdale wrote: > On Wed, Jan 21, 2015 at 7:41 AM, Michael Ellerman wrote: > > On systems which don't implement sys_execveat(), this test produces a > > lot of output. > > > > Add a check at the beginning to see if the syscall is present, and if > > not

Re: [PATCH] selftests/exec: Check if the syscall exists and bail if not

2015-01-22 Thread Michael Ellerman
On Wed, 2015-01-21 at 10:22 +, David Drysdale wrote: On Wed, Jan 21, 2015 at 7:41 AM, Michael Ellerman m...@ellerman.id.au wrote: On systems which don't implement sys_execveat(), this test produces a lot of output. Add a check at the beginning to see if the syscall is present, and if

Re: [PATCH] selftests/exec: Check if the syscall exists and bail if not

2015-01-21 Thread David Drysdale
On Wed, Jan 21, 2015 at 7:41 AM, Michael Ellerman wrote: > On systems which don't implement sys_execveat(), this test produces a > lot of output. > > Add a check at the beginning to see if the syscall is present, and if > not just note one error and return. Good point, thanks. > Signed-off-by:

Re: [PATCH] selftests/exec: Check if the syscall exists and bail if not

2015-01-21 Thread David Drysdale
On Wed, Jan 21, 2015 at 7:41 AM, Michael Ellerman m...@ellerman.id.au wrote: On systems which don't implement sys_execveat(), this test produces a lot of output. Add a check at the beginning to see if the syscall is present, and if not just note one error and return. Good point, thanks.

[PATCH] selftests/exec: Check if the syscall exists and bail if not

2015-01-20 Thread Michael Ellerman
On systems which don't implement sys_execveat(), this test produces a lot of output. Add a check at the beginning to see if the syscall is present, and if not just note one error and return. Signed-off-by: Michael Ellerman --- tools/testing/selftests/exec/execveat.c | 8 1 file

[PATCH] selftests/exec: Check if the syscall exists and bail if not

2015-01-20 Thread Michael Ellerman
On systems which don't implement sys_execveat(), this test produces a lot of output. Add a check at the beginning to see if the syscall is present, and if not just note one error and return. Signed-off-by: Michael Ellerman m...@ellerman.id.au --- tools/testing/selftests/exec/execveat.c | 8