summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMarc-André Lureau2022-10-06 13:36:57 +0200
committerMarc-André Lureau2022-10-12 17:22:01 +0200
commit76f5148c21b4543e62a6ad605ac4b44133421401 (patch)
treebbcbf5858912928e1ca83dca697dc424b9ef6f78 /util
parentio/command: implement support for win32 (diff)
downloadqemu-76f5148c21b4543e62a6ad605ac4b44133421401.tar.gz
qemu-76f5148c21b4543e62a6ad605ac4b44133421401.tar.xz
qemu-76f5148c21b4543e62a6ad605ac4b44133421401.zip
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 'util')
0 files changed, 0 insertions, 0 deletions