tests/unit: drop hacky race avoidance in test-io-channel-command
commitc906e6fbaa50a3d9f9a5b24987e1a9d4ad70e9a7
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 24 Jan 2023 18:00:56 +0000 (24 18:00 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Thu, 2 Feb 2023 10:44:23 +0000 (2 10:44 +0000)
tree19d13a2966906bb950b0fd6b6bd7a858e8353908
parentc34bf19feb349360faa57147f9bbc16b1f27d6e0
tests/unit: drop hacky race avoidance in test-io-channel-command

We don't need to play timing games to ensure one socat wins over the
other, just create the fifo they both can use before spawning the
processes. However in the process we need to disable two tests for
Windows platforms as we don't have an abstraction for mkfifo().

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1403
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230124180127.1881110-5-alex.bennee@linaro.org>
tests/unit/test-io-channel-command.c