tests: Don't run py test_rlimit test on newer kernels
authorDave Marchevsky <davemarchevsky@fb.com>
Wed, 17 Nov 2021 00:50:32 +0000 (19:50 -0500)
committerDave Marchevsky <davemarchevsky@fb.com>
Wed, 17 Nov 2021 02:58:36 +0000 (21:58 -0500)
commite16aca0d200014af7407056358096916b859cbd4
treeb009f415ee1c7927d4c2b5d48b410d01faf77f80
parent74d235fb73149ff42da464ff13d183d594f374fc
tests: Don't run py test_rlimit test on newer kernels

Since commit d5299b67dd59 ("bpf: Memcg-based memory accounting for bpf
maps"), memory locked by bpf maps is no longer counted against rlimit.

Ubuntu 20.04's 5.11 kernel has this commit, so we should skip this test
there. When we add future distros to github actions it may be necessary
to modify the version check here.
tests/python/test_rlimit.py