[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181021061903.zfrwvedgxafj22re@ast-mbp.dhcp.thefacebook.com>
Date: Sat, 20 Oct 2018 23:19:04 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Quentin Monnet <quentin.monnet@...ronome.com>
Cc: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>, netdev@...r.kernel.org,
oss-drivers@...ronome.com
Subject: Re: [PATCH bpf-next] selftests/bpf: fix return value comparison for
tests in test_libbpf.sh
On Sat, Oct 20, 2018 at 10:58:44PM +0100, Quentin Monnet wrote:
> The return value for each test in test_libbpf.sh is compared with
>
> if (( $? == 0 )) ; then ...
>
> This works well with bash, but not with dash, that /bin/sh is aliased to
> on some systems (such as Ubuntu).
>
> Let's replace this comparison by something that works on both shells.
>
> Signed-off-by: Quentin Monnet <quentin.monnet@...ronome.com>
> Reviewed-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Applied, Thanks
Powered by blists - more mailing lists