diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-07-21 12:47:39 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2017-09-04 10:46:00 +0100 |
commit | d4adf9675801cd90e66ecfcd6a54ca1abc5a6698 (patch) | |
tree | 72c2d73a2e03f273888b024f37ea558ec1755989 | |
parent | 32f0f68bb77289b75a82925f712bb52e16eac3ba (diff) | |
download | qemu-d4adf9675801cd90e66ecfcd6a54ca1abc5a6698.zip qemu-d4adf9675801cd90e66ecfcd6a54ca1abc5a6698.tar.gz qemu-d4adf9675801cd90e66ecfcd6a54ca1abc5a6698.tar.bz2 |
io: fix temp directory used by test-io-channel-tls test
The test-io-channel-tls test was mistakenly using two of the
same directories as test-crypto-tlssession. This causes a
sporadic failure when using make -j$BIGNUM.
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
-rw-r--r-- | tests/test-io-channel-tls.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-io-channel-tls.c b/tests/test-io-channel-tls.c index 8eaa208..ff96877 100644 --- a/tests/test-io-channel-tls.c +++ b/tests/test-io-channel-tls.c @@ -127,8 +127,8 @@ static void test_io_channel_tls(const void *opaque) /* We'll use this for our fake client-server connection */ g_assert(socketpair(AF_UNIX, SOCK_STREAM, 0, channel) == 0); -#define CLIENT_CERT_DIR "tests/test-crypto-tlssession-client/" -#define SERVER_CERT_DIR "tests/test-crypto-tlssession-server/" +#define CLIENT_CERT_DIR "tests/test-io-channel-tls-client/" +#define SERVER_CERT_DIR "tests/test-io-channel-tls-server/" mkdir(CLIENT_CERT_DIR, 0700); mkdir(SERVER_CERT_DIR, 0700); |