[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQ+H091MfKC724K7FzMXtHdb5HdUK3EigqMbzEvR0YVS+w@mail.gmail.com>
Date: Tue, 31 Aug 2021 08:45:50 -0700
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Dmitrii Banshchikov <me@...que.spb.ru>
Cc: bpf <bpf@...r.kernel.org>, Alexei Starovoitov <ast@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Daniel Borkmann <daniel@...earbox.net>,
Andrii Nakryiko <andrii@...nel.org>,
Martin KaFai Lau <kafai@...com>,
Song Liu <songliubraving@...com>, Yonghong Song <yhs@...com>,
John Fastabend <john.fastabend@...il.com>,
KP Singh <kpsingh@...nel.org>,
Network Development <netdev@...r.kernel.org>,
Andrey Ignatov <rdna@...com>
Subject: Re: [PATCH bpf-next v2 12/13] bpfilter: Add filter table
On Tue, Aug 31, 2021 at 5:52 AM Dmitrii Banshchikov <me@...que.spb.ru> wrote:
>
> Is it ok to add an external dependency to tests? The unit test
> will need to execute iptables binary.
Ideally not, but sometimes it's unavoidable.
iptables cmd is generally available.
selftests/bpf already have few tests that shell out to it.
They're not part of test_progs though.
Powered by blists - more mailing lists