Re: [PATCH bpf-next V3 0/2] BPF selftests test runner 'test_progs' use proper shell exit codes

2020-07-08 Thread Daniel Borkmann
On 7/7/20 9:12 AM, Jesper Dangaard Brouer wrote: This patchset makes it easier to use test_progs from shell scripts, by using proper shell exit codes. The process's exit status should be a number between 0 and 255 as defined in man exit(3) else it will be masked to comply. Shell exit codes used

Re: [PATCH bpf-next V3 0/2] BPF selftests test runner 'test_progs' use proper shell exit codes

2020-07-08 Thread Andrii Nakryiko
On Wed, Jul 8, 2020 at 11:16 AM Jesper Dangaard Brouer wrote: > > On Tue, 7 Jul 2020 00:23:48 -0700 > Andrii Nakryiko wrote: > > > On Tue, Jul 7, 2020 at 12:12 AM Jesper Dangaard Brouer > > wrote: > > > > > > This patchset makes it easier to use test_progs from shell scripts, by > > > using >

Re: [PATCH bpf-next V3 0/2] BPF selftests test runner 'test_progs' use proper shell exit codes

2020-07-08 Thread Jesper Dangaard Brouer
On Tue, 7 Jul 2020 00:23:48 -0700 Andrii Nakryiko wrote: > On Tue, Jul 7, 2020 at 12:12 AM Jesper Dangaard Brouer > wrote: > > > > This patchset makes it easier to use test_progs from shell scripts, by using > > proper shell exit codes. The process's exit status should be a number > > between 0

Re: [PATCH bpf-next V3 0/2] BPF selftests test runner 'test_progs' use proper shell exit codes

2020-07-07 Thread Andrii Nakryiko
On Tue, Jul 7, 2020 at 12:12 AM Jesper Dangaard Brouer wrote: > > This patchset makes it easier to use test_progs from shell scripts, by using > proper shell exit codes. The process's exit status should be a number > between 0 and 255 as defined in man exit(3) else it will be masked to comply. >

[PATCH bpf-next V3 0/2] BPF selftests test runner 'test_progs' use proper shell exit codes

2020-07-07 Thread Jesper Dangaard Brouer
This patchset makes it easier to use test_progs from shell scripts, by using proper shell exit codes. The process's exit status should be a number between 0 and 255 as defined in man exit(3) else it will be masked to comply. Shell exit codes used by programs should be below 127. As 127 and above