aboutsummaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorGravatar Romain Naour <romain.naour@gmail.com>2020-11-10 23:29:01 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2020-11-11 10:12:48 +0100
commitf52a9835fa02b02db06ee4ce06708d7b2cdfcfb4 (patch)
treeb319f766a1db64062e15be6ff254c2ca62da34ea /support
parent7b9762f4ab5bf21bdb1cf29cc833c5d4d1ec009d (diff)
downloadbuildroot-f52a9835fa02b02db06ee4ce06708d7b2cdfcfb4.tar.gz
buildroot-f52a9835fa02b02db06ee4ce06708d7b2cdfcfb4.tar.bz2
support/testing: update to the new text representation of capabilities
Since libcap 2.41, the text representation of capabilities now use the '=' instead of '+' [1]. This break our capabilities tests since we still use the old representation. [1] https://git.kernel.org/pub/scm/linux/kernel/git/morgan/libcap.git/commit/?id=177cd418031b1acfcf73fe3b1af9f3279828681c Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/830981737 Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'support')
-rw-r--r--support/testing/tests/core/test_file_capabilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/testing/tests/core/test_file_capabilities.py b/support/testing/tests/core/test_file_capabilities.py
index 945b48a4c3..b9ece18d7b 100644
--- a/support/testing/tests/core/test_file_capabilities.py
+++ b/support/testing/tests/core/test_file_capabilities.py
@@ -44,4 +44,4 @@ class TestFileCapabilities(infra.basetest.BRTest):
self.assertIn("cap_kill", output[0])
self.assertIn("cap_sys_nice", output[0])
self.assertIn("cap_sys_time", output[0])
- self.assertIn("+eip", output[0])
+ self.assertIn("=eip", output[0])