|
Daniel P. Berrange |
a8c600 |
From d4adf9675801cd90e66ecfcd6a54ca1abc5a6698 Mon Sep 17 00:00:00 2001
|
|
Daniel P. Berrange |
a8c600 |
From: "Daniel P. Berrange" <berrange@redhat.com>
|
|
Daniel P. Berrange |
a8c600 |
Date: Fri, 21 Jul 2017 12:47:39 +0100
|
|
Daniel P. Berrange |
a8c600 |
Subject: [PATCH] io: fix temp directory used by test-io-channel-tls test
|
|
Daniel P. Berrange |
a8c600 |
|
|
Daniel P. Berrange |
a8c600 |
The test-io-channel-tls test was mistakenly using two of the
|
|
Daniel P. Berrange |
a8c600 |
same directories as test-crypto-tlssession. This causes a
|
|
Daniel P. Berrange |
a8c600 |
sporadic failure when using make -j$BIGNUM.
|
|
Daniel P. Berrange |
a8c600 |
|
|
Daniel P. Berrange |
a8c600 |
Reported-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
Daniel P. Berrange |
a8c600 |
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
|
|
Daniel P. Berrange |
a8c600 |
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
|
Daniel P. Berrange |
a8c600 |
---
|
|
Daniel P. Berrange |
a8c600 |
tests/test-io-channel-tls.c | 4 ++--
|
|
Daniel P. Berrange |
a8c600 |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
Daniel P. Berrange |
a8c600 |
|
|
Daniel P. Berrange |
a8c600 |
diff --git a/tests/test-io-channel-tls.c b/tests/test-io-channel-tls.c
|
|
Daniel P. Berrange |
a8c600 |
index 8eaa208e1b..ff96877323 100644
|
|
Daniel P. Berrange |
a8c600 |
--- a/tests/test-io-channel-tls.c
|
|
Daniel P. Berrange |
a8c600 |
+++ b/tests/test-io-channel-tls.c
|
|
Daniel P. Berrange |
a8c600 |
@@ -127,8 +127,8 @@ static void test_io_channel_tls(const void *opaque)
|
|
Daniel P. Berrange |
a8c600 |
/* We'll use this for our fake client-server connection */
|
|
Daniel P. Berrange |
a8c600 |
g_assert(socketpair(AF_UNIX, SOCK_STREAM, 0, channel) == 0);
|
|
Daniel P. Berrange |
a8c600 |
|
|
Daniel P. Berrange |
a8c600 |
-#define CLIENT_CERT_DIR "tests/test-crypto-tlssession-client/"
|
|
Daniel P. Berrange |
a8c600 |
-#define SERVER_CERT_DIR "tests/test-crypto-tlssession-server/"
|
|
Daniel P. Berrange |
a8c600 |
+#define CLIENT_CERT_DIR "tests/test-io-channel-tls-client/"
|
|
Daniel P. Berrange |
a8c600 |
+#define SERVER_CERT_DIR "tests/test-io-channel-tls-server/"
|
|
Daniel P. Berrange |
a8c600 |
mkdir(CLIENT_CERT_DIR, 0700);
|
|
Daniel P. Berrange |
a8c600 |
mkdir(SERVER_CERT_DIR, 0700);
|
|
Daniel P. Berrange |
a8c600 |
|
|
Daniel P. Berrange |
a8c600 |
--
|
|
Daniel P. Berrange |
a8c600 |
2.13.5
|
|
Daniel P. Berrange |
a8c600 |
|