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
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
>
'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
> 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
> 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"
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
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
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.
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
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
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
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/
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
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
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
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
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
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
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 +
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
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
[-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
22 matches
Mail list logo