]> git.baikalelectronics.ru Git - kernel.git/commitdiff
selftests: bpf: Switch off timeout
authorJiri Benc <jbenc@redhat.com>
Thu, 6 Aug 2020 18:39:59 +0000 (20:39 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Thu, 6 Aug 2020 23:57:05 +0000 (16:57 -0700)
Several bpf tests are interrupted by the default timeout of 45 seconds added
by commit ab69fa1f21e9 ("selftests/kselftest/runner.sh: Add 45 second
timeout per test"). In my case it was test_progs, test_tunnel.sh,
test_lwt_ip_encap.sh and test_xdping.sh.

There's not much value in having a timeout for bpf tests, switch it off.

Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/7a9198ed10917f4ecab4a3dd74bcda1200791efd.1596739059.git.jbenc@redhat.com
tools/testing/selftests/bpf/settings [new file with mode: 0644]

diff --git a/tools/testing/selftests/bpf/settings b/tools/testing/selftests/bpf/settings
new file mode 100644 (file)
index 0000000..e7b9417
--- /dev/null
@@ -0,0 +1 @@
+timeout=0