* [Buildroot] [PATCH] support/testing: update to the new text representation of capabilities
@ 2020-11-10 22:29 Romain Naour
2020-11-10 22:29 ` Romain Naour
2020-11-11 9:13 ` Peter Korsgaard
0 siblings, 2 replies; 3+ messages in thread
From: Romain Naour @ 2020-11-10 22:29 UTC (permalink / raw)
To: buildroot
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
Signed-off-by: Romain Naour <romain.naour@gmail.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])
--
2.25.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] support/testing: update to the new text representation of capabilities
2020-11-10 22:29 [Buildroot] [PATCH] support/testing: update to the new text representation of capabilities Romain Naour
@ 2020-11-10 22:29 ` Romain Naour
2020-11-11 9:13 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Romain Naour @ 2020-11-10 22:29 UTC (permalink / raw)
To: buildroot
Le 10/11/2020 ? 23:29, Romain Naour a ?crit?:
> 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>
> ---
> 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])
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] support/testing: update to the new text representation of capabilities
2020-11-10 22:29 [Buildroot] [PATCH] support/testing: update to the new text representation of capabilities Romain Naour
2020-11-10 22:29 ` Romain Naour
@ 2020-11-11 9:13 ` Peter Korsgaard
1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2020-11-11 9:13 UTC (permalink / raw)
To: buildroot
>>>>> "Romain" == Romain Naour <romain.naour@gmail.com> writes:
> 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
> Signed-off-by: Romain Naour <romain.naour@gmail.com>
Committed after adding the fixes line, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-11-11 9:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 22:29 [Buildroot] [PATCH] support/testing: update to the new text representation of capabilities Romain Naour
2020-11-10 22:29 ` Romain Naour
2020-11-11 9:13 ` Peter Korsgaard
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.