diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-10-06 15:36:57 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-10-12 19:22:01 +0400 |
commit | 76f5148c21b4543e62a6ad605ac4b44133421401 (patch) | |
tree | bbcbf5858912928e1ca83dca697dc424b9ef6f78 /qemu-options.hx | |
parent | ec5b6c9c5de985769a3d816b85cfe707a2decb93 (diff) | |
download | qemu-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 'qemu-options.hx')
0 files changed, 0 insertions, 0 deletions