test-apparmor.py: chmod test dir to allow user tests
There are new regression tests for message queue that create a user
and run the tests as said user, therefore the test directory must have
other execution permission.
test-libvpx.py: update libvpx tests for recent releases
. removed references to releases older than 14.06
. removed the bash subprocess call
. skip tests fo releases earlier than Xenial (that does not have
ffmpeg)
. updated video codecs from V_VP8 to V_VP9
. updated audio codecs from A_VORBIS to A_OPUSV
test-kernel-security: restore arm64 exception for RANDOM_TRUST_CPU testcase
To get RANDOM_TRUST_CPU enabled on ARM64, we will need ARCH_RANDOM
to be enabled for ARM64 as well. This config support is available
with commit 1a50ec0b3b2e9a83f1b1245ea37a853aac2f741c in upstream tree:
Author: Richard Henderson <email address hidden>
Date: Tue Jan 21 12:58:52 2020 +0000
arm64: Implement archrandom.h for ARMv8.5-RNG
Which has been applied to v5.6, but we don't have this in our Focal
kernel.
Restore the if statement for arm64 we have before 7fb27c11cc in q-r-t
to solve this issue.
test-glibc.py: fix test_d_tag_underflow failure to find ld-linux.so
The test_d_tag_underflow was failing on newer releases because glibc
dropped the versioned ld-2.NN.so name for ld-linux.so, thus the glob
to match it would fail.
Fix by additional attempts to find ld-linux.so and raise a ValueError
if ultimately unsuccessful, which will hopefully be more explanatory
if it fails in the future. Also use more pythonic abstract methods
to find the dir that libc.so exists in (and thus ld-linux.so should
have been installed there, too).
Signed-off-by: Steve Beattie <email address hidden>