aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2022-10-06 15:36:57 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2022-10-12 19:22:01 +0400
commit76f5148c21b4543e62a6ad605ac4b44133421401 (patch)
treebbcbf5858912928e1ca83dca697dc424b9ef6f78 /hw
parentec5b6c9c5de985769a3d816b85cfe707a2decb93 (diff)
downloadqemu-76f5148c21b4543e62a6ad605ac4b44133421401.zip
qemu-76f5148c21b4543e62a6ad605ac4b44133421401.tar.gz
qemu-76f5148c21b4543e62a6ad605ac4b44133421401.tar.bz2
tests/unit: make test-io-channel-command work on win32
This has been tested under msys2 & windows 11. I haven't tried to make it work with other environments yet, but that should be enough to validate the channel-command implementation anyway. Here are the changes: - drop tests/ from fifo/pipe path, to avoid directory issues - use g_find_program() to lookup the socat executable (otherwise we would need to change ChanneCommand to use G_SPAWN_SEARCH_PATH, and deal with missing socat differently) - skip the "echo" test when socat is missing as well Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Message-Id: <20221006113657.2656108-7-marcandre.lureau@redhat.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions