Commit 7b5b1b95 authored by François Grisez's avatar François Grisez

Fix bad test resource pathes

parent 9f8dd816
......@@ -342,8 +342,8 @@ void test_parserComplete() {
/* Create the client context, used for zidFilename only */
my_Context_t clientContextAlice;
my_Context_t clientContextBob;
memcpy(clientContextAlice.zidFilename, "test/ZIDAlice.txt", 18);
memcpy(clientContextBob.zidFilename, "test/ZIDBob.txt", 16);
memcpy(clientContextAlice.zidFilename, "./ZIDAlice.txt", 18);
memcpy(clientContextBob.zidFilename, "./ZIDBob.txt", 16);
/* attach the clientContext to the bzrtp Context */
retval = bzrtp_setClientData(contextAlice, 0x12345678, (void *)&clientContextAlice);
......@@ -1629,8 +1629,8 @@ void test_stateMachine() {
aliceClientData.peerChannelContext = contextBob->channelContext[0];
bobClientData.peerContext = contextAlice;
bobClientData.peerChannelContext = contextAlice->channelContext[0];
memcpy(aliceClientData.zidFilename, "test/ZIDAlice.txt", 18);
memcpy(bobClientData.zidFilename, "test/ZIDBob.txt", 16);
memcpy(aliceClientData.zidFilename, "./ZIDAlice.txt", 18);
memcpy(bobClientData.zidFilename, "./ZIDBob.txt", 16);
retval = bzrtp_setClientData(contextAlice, 0x12345678, (void *)&aliceClientData);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment