For logging to be useful, something has to set RET and retmsg by calling
ret_set_ksft_status(). There is a suite of functions to that end in
forwarding/lib: check_err, check_fail et.al. Move them to net/lib.sh so
that every net test can use them.
Existing lib.sh users might be using these same nam
Adds test suite for integer based square root function.
The test suite is designed to verify the correctness of the int_sqrt
math library function.
Signed-off-by: Luis Felipe Hernandez
---
lib/Kconfig.debug | 16 +++
lib/math/Makefile | 1 +
lib/math/tests/M
On 24/10/2024 12:59, Catalin Marinas wrote:
> On Wed, Oct 23, 2024 at 04:05:09PM +0100, Kevin Brodsky wrote:
>> +/*
>> + * Save the unpriv access state into ua_state and reset it to disable any
>> + * restrictions.
>> + */
>> +static void save_reset_user_access_state(struct user_access_state *ua_st
This patch updates the existing test that checks
for `open(O_TMPFILE)` and `linkat()` behaviors in
mount namespaces to use the kselftest framework.
This includes the following changes:
- Replaced direct error handling with
`ksft_test_result_*` macros for better reporting
of test outcomes.
- A
Check that only one notification is produced for various FDB edit
operations.
Regarding the ip_link_add() and ip_link_master() helpers. This pattern of
action plus corresponding defer is bound to come up often, and a dedicated
vocabulary to capture it will be handy. tunnel_create() and vlan_create
Many net selftests invent their own logging helpers. These really should be
in a library sourced by these tests. Currently forwarding/lib.sh has a
suite of perfectly fine logging helpers, but sourcing a forwarding/ library
from a higher-level directory smells of layering violation. In this patch,
m
On Thu, Oct 24, 2024 at 04:42:10PM +0100, Catalin Marinas wrote:
> On Thu, Oct 24, 2024 at 04:55:48PM +0200, Kevin Brodsky wrote:
> > On 24/10/2024 12:59, Catalin Marinas wrote:
> > > On Wed, Oct 23, 2024 at 04:05:09PM +0100, Kevin Brodsky wrote:
> > >> +/*
> > >> + * Save the unpriv access state i
On Thu, Oct 24, 2024 at 03:17:28PM -0400, Luis Felipe Hernandez wrote:
> Adds test suite for integer based square root function.
>
> The test suite is designed to verify the correctness of the int_sqrt
> math library function.
...
> obj-$(CONFIG_TEST_DIV64) += test_div64.o
> obj-$(CONFIG_T
On 10/24/24 10:55, Shivam Chaudhary wrote:
This patch updates the existing test that checks
for `open(O_TMPFILE)` and `linkat()` behaviors in
mount namespaces to use the kselftest framework.
This includes the following changes:
- Replaced direct error handling with
`ksft_test_result_*` macros
Shuah Khan writes:
> On 10/22/24 08:50, Petr Machata wrote:
>> Many net selftests invent their own logging helpers. These really should be
>> in a library sourced by these tests. Currently forwarding/lib.sh has a
>> suite of perfectly fine logging helpers, but sourcing a forwarding/ library
>>
On Wed, Oct 23, 2024 at 04:05:09PM +0100, Kevin Brodsky wrote:
> diff --git a/arch/arm64/kernel/signal.c b/arch/arm64/kernel/signal.c
> index f5fb48dabebe..d2e4e50977ae 100644
> --- a/arch/arm64/kernel/signal.c
> +++ b/arch/arm64/kernel/signal.c
> @@ -66,9 +66,63 @@ struct rt_sigframe_user_layout {
cc linux-selftest for this one patch of a series.
No framework changes, only added new cases to existing iommufd selftests.
The full series is here:
https://lore.kernel.org/linux-iommu/1729783554-56916-1-git-send-email-steven.sist...@oracle.com/
- Steve
On 10/24/2024 11:25 AM, Steve Sistare w
Adds test suite for integer based square root function.
The test suite is designed to verify the correctness of the int_sqrt
math library function.
Signed-off-by: Luis Felipe Hernandez
---
lib/Kconfig.debug | 17
lib/math/Makefile | 1 +
lib/math/tests/
From: Geliang Tang
New netns selftest helpers make_netns() and remove_netns() has been added
in network_helpers.c, let's use them in mptcp selftests too.
Signed-off-by: Geliang Tang
Reviewed-by: Matthieu Baerts (NGI0)
---
tools/testing/selftests/bpf/prog_tests/mptcp.c | 18 --
14 matches
Mail list logo