[PATCH] selftests: drivers: net: fix name not defined

2024-10-08 Thread Alessandro Zanni
or system symbols. Signed-off-by: Alessandro Zanni --- tools/testing/selftests/net/lib/py/nsim.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/net/lib/py/nsim.py b/tools/testing/selftests/net/lib/py/nsim.py index f571a8b3139b..1a8cbe9acc48 100644 --- a/tools/testin

Re: [PATCH v2] selftests/intel_pstate: fix operand expected

2024-10-15 Thread Alessandro Zanni
On 24/10/14 06:05, Shuah Khan wrote: > On 10/14/24 11:21, Alessandro Zanni wrote: > > This fix solves theses errors, when calling kselftest with > > targets "intel_pstate": > > > > ./run.sh: line 90: / 1000: syntax error: operand expected (error token is >

[PATCH] selftests: net: rds: fix module not found

2024-10-08 Thread Alessandro Zanni
'lib' Signed-off-by: Alessandro Zanni --- tools/testing/selftests/net/rds/test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/testing/selftests/net/rds/test.py b/tools/testing/selftests/net/rds/test.py index e6bb109bcead..112a8059c030 100755 --- a/tools/testing/s

Re: [PATCH v2] selftests/intel_pstate: fix operand expected

2024-10-21 Thread Alessandro Zanni
> On 24/10/14 06:05, Shuah Khan wrote: > > On 10/14/24 11:21, Alessandro Zanni wrote: > > > This fix solves theses errors, when calling kselftest with > > > targets "intel_pstate": > > > > > > ./run.sh: line 90: / 1000: syntax

Re: [PATCH v2] selftests/intel_pstate: fix operand expected

2024-10-21 Thread Alessandro Zanni
> On 10/21/24 09:04, Alessandro Zanni wrote: > >> On 24/10/14 06:05, Shuah Khan wrote: > >>> On 10/14/24 11:21, Alessandro Zanni wrote: > >>>> This fix solves theses errors, when calling kselftest with > >>>> targets "intel_pstate"

[PATCH v2] selftests: drivers: net: fix name not defined

2024-10-10 Thread Alessandro Zanni
anually with the command: make kselftest TARGETS="drivers/net" The module errno makes available standard error system symbols. Reviewed-by: Petr Machata Signed-off-by: Alessandro Zanni --- Notes: v2: added how to run the test tools/testing/selftests/net/lib/py/nsim.py | 1 + 1 file cha

Re: [PATCH] selftests: net: rds: fix module not found

2024-10-10 Thread Alessandro Zanni
On 24/10/09 07:40, Jakub Kicinski wrote: > On Tue, 8 Oct 2024 10:22:53 +0200 Alessandro Zanni wrote: > > This fix solves this error, when calling kselftest with targets "net/rds": > > > > selftests: net/rds: test.py > > Traceback (most recent call last): &g

Re: [PATCH] selftests: drivers: net: fix name not defined

2024-10-10 Thread Alessandro Zanni
On 24/10/09 07:32, Jakub Kicinski wrote: > On Wed, 9 Oct 2024 00:01:33 +0200 Alessandro Zanni wrote: > > This fix solves this error, when calling kselftest with targets > > "drivers/net": > > > > File "tools/testing/selftests/net/lib/py/nsim.

[PATCH v2] selftests: net/rds: add module not found

2024-10-10 Thread Alessandro Zanni
This fix solves this error, when calling kselftest with targets "net/rds": The error was found by running tests manually with the command: make kselftest TARGETS="net/rds" The patch also specifies to import ip() function from the utils module. Signed-off-by: Alessandro Zanni

Re: [PATCH v3] kselftest/devices/probe: Fix SyntaxWarning in regex strings for Python3

2024-10-02 Thread Alessandro Zanni
Hello, this email is just a friendly reminder to know if the present patch is going to be applied or not. Thank you. Best Regards, Alessandro Zanni On 24/08/06 02:14, Alessandro Zanni wrote: > Insert raw strings to prevent Python3 from interpreting string literals > as Unicode strings a

[PATCH 1/2] selftests/intel_pstate: fix operand expected

2024-10-22 Thread Alessandro Zanni
allows to have cross-platform compatibility when using arithmetic expression with command substitutions. Signed-off-by: Alessandro Zanni --- tools/testing/selftests/intel_pstate/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/intel_pstate/run

[PATCH] selftests/intel_pstate: fix operand expected

2024-10-14 Thread Alessandro Zanni
ror was found by running tests manually with the command: make kselftest TARGETS=intel_pstate Signed-off-by: Alessandro Zanni --- tools/testing/selftests/intel_pstate/run.sh | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/intel_pstate/run.sh b/tools/

[PATCH v2] selftests/intel_pstate: fix operand expected

2024-10-14 Thread Alessandro Zanni
ror was found by running tests manually with the command: make kselftest TARGETS=intel_pstate Signed-off-by: Alessandro Zanni --- Notes: v2: removed debug echos tools/testing/selftests/intel_pstate/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/se

[PATCH 2/2] selftests/intel_pstate: cpupower command not found

2024-10-28 Thread Alessandro Zanni
wer is not installed. Signed-off-by: Alessandro Zanni --- tools/testing/selftests/intel_pstate/run.sh | 5 + 1 file changed, 5 insertions(+) diff --git a/tools/testing/selftests/intel_pstate/run.sh b/tools/testing/selftests/intel_pstate/run.sh index 0c1b6c1308a4..6a3b8503264e 100755 --- a/too

[PATCH 0/2] selftests/intel_pstate: fix arithmetic expression and cpupower

2024-10-28 Thread Alessandro Zanni
Address issues related to arithmetic expression compatibility and cpupower operand expected. Command to test: make kselftest TARGETS=intel_pstate Alessandro Zanni (2): selftests/intel_pstate: fix operand expected selftests/intel_pstate: cpupower command not found tools/testing

[PATCH 1/2] selftests/intel_pstate: fix operand expected

2024-10-28 Thread Alessandro Zanni
allows to have cross-platform compatibility when using arithmetic expression with command substitutions. Signed-off-by: Alessandro Zanni --- tools/testing/selftests/intel_pstate/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/intel_pstate/run

[PATCH] virtio: Fixes errors: uninitialized symbol

2024-09-27 Thread Alessandro Zanni
io/virtio_ring.c:645 virtqueue_add_split() error: uninitialized symbol 'prev'. Signed-off-by: Alessandro Zanni --- drivers/virtio/virtio_ring.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/virtio/virtio_ring.c b/drivers/virtio/virtio_ring.c index be7

[PATCH] selftests/net/forwarding: teamd command not found

2025-01-09 Thread Alessandro Zanni
Running "make kselftest TARGETS=net/forwarding" results in several occurrences of the same error: ./lib.sh: line 787: teamd: command not found Since many tests depends on teamd, this fix stops the tests if the teamd command is not installed. Signed-off-by: Alessandro Zanni --- too

[PATCH] selftests: pid_namespace and pidfd missing include

2025-01-28 Thread Alessandro Zanni
roc", MNT_DETACH); This patch adds the include in pidfd_fdinfo_test.c and pid_max.c files to find the variables MS_REC, MS_PRIVATE, MNT_DETACH. Signed-off-by: Alessandro Zanni --- tools/testing/selftests/pid_namespace/pid_max.c | 1 + tools/testing/selftests/pidfd/pidfd_fdinfo_test.c | 1 +

[PATCH v2] selftests/net/forwarding: teamd command not found

2025-01-13 Thread Alessandro Zanni
quot;lib.sh" to skip the test if the command is not installed. Signed-off-by: Alessandro Zanni --- Notes: v2: added variable REQUIRED_TEAMD to check if teamd is required tools/testing/selftests/drivers/net/mlxsw/rif_bridge.sh | 1 + tools/testing/selftests/drivers/net/mlxsw/rif

Re: [PATCH] selftests/net/forwarding: teamd command not found

2025-01-10 Thread Alessandro Zanni
On Fri, Jan 10, 2025 at 04:09:07AM +, Hangbin Liu wrote: > On Fri, Jan 10, 2025 at 01:07:44AM +0100, Alessandro Zanni wrote: > > Running "make kselftest TARGETS=net/forwarding" results in several > > occurrences of the same error: > > ./lib.sh: lin

Re: [PATCH] selftests: pid_namespace and pidfd missing include

2025-02-12 Thread Alessandro Zanni
[-Wimplicit-function-declaration] >48 | umount2("/proc", MNT_DETACH); > > This patch adds the include in pidfd_fdinfo_test.c and > pid_max.c files to find the variables MS_REC, MS_PRIVATE, MNT_DETACH. > > Signed-off-by: Alessandro Zanni > --- > tools/testin