Skip to content

tests: Fix some new coverity issues reported

Peter Xu qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3osdep: Add qemu_mkdir_with_parents()include/qemu/osdep.h qga/commands-posix-ssh.c util/osdep.c+15 -66 replies
2/3tests: Use qemu_mkdir_with_parents() for all test codetests/qtest/migration/tls-tests.c tests/unit/test-crypto-tlscredsx509.c tests/unit/test-crypto-tlssession.c +1 more+11 -112 replies
3/3tests/migration: Drop arch_[source|target]tests/qtest/migration/framework.c+2 -61 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchAlex Bennée
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] tests: Fix some new coverity issues reported

Fix four recent coverity reports on migration tests. When at it, also applied the same helper to some crypto/tls tests.

Thanks,

Peter Xu (3):
osdep: Add qemu_mkdir_with_parents()
tests: Use qemu_mkdir_with_parents() for all test code tests/migration: Drop arch_[source|target]

 include/qemu/osdep.h                  | 7 +++++++
 qga/commands-posix-ssh.c              | 8 ++------
 tests/qtest/migration/framework.c     | 8 ++------
 tests/qtest/migration/tls-tests.c     | 6 +++---
 tests/unit/test-crypto-tlscredsx509.c | 4 ++--
 tests/unit/test-crypto-tlssession.c   | 6 +++---
 tests/unit/test-io-channel-tls.c      | 6 +++---
 util/osdep.c                          | 6 ++++++
 8 files changed, 28 insertions(+), 23 deletions(-)
Signature · 1 line
2.47.0