[Buildroot] [git commit branch/next] support/testing: update to the new text representation of capabilities
Peter Korsgaard
peter at korsgaard.com
Wed Nov 11 09:12:48 UTC 2020
commit: https://git.buildroot.net/buildroot/commit/?id=f52a9835fa02b02db06ee4ce06708d7b2cdfcfb4
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next
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 at gmail.com>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
support/testing/tests/core/test_file_capabilities.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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])
More information about the buildroot
mailing list