[PATCH] tests/qtest: check the return value

2023-11-20 Thread zhujun2
These variables "ret" are never referenced in the code, that add check logic for the "ret" Signed-off-by: zhujun2 --- tests/qtest/test-filter-mirror.c | 1 + tests/qtest/test-filter-redirector.c | 2 ++ tests/qtest/virtio-net-test.c| 1 + 3 files changed, 4 inser

[PATCH] tests/qtest: remove unused variables

2023-11-15 Thread zhujun2
These variables are never referenced in the code, just remove them Signed-off-by: zhujun2 --- tests/qtest/test-filter-mirror.c | 2 +- tests/qtest/test-filter-redirector.c | 4 ++-- tests/qtest/virtio-net-test.c| 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a

[PATCH] tests: Fix printf format string in acpi-utils.c

2023-10-27 Thread zhujun2
Inside of acpi_fetch_table() arguments are printed via fprintf but '%d' is used to print @flags (of type uint). Use '%u' instead. Signed-off-by: zhujun2 --- tests/qtest/acpi-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/qtest/acpi-utils.