From d62df5422e04e6dd15a5715a7b2e5ed73d26e980 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 12 Jan 2018 22:08:56 +0100 Subject: tests/{mock_guest.c,test-freerdp-wrapper.cc}: Fix namespace (freerdp -> freerdp2). --- tests/mock_guest.c | 4 ++-- tests/test-freerdp-wrapper.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/mock_guest.c b/tests/mock_guest.c index 7fb4581..f52a2d6 100644 --- a/tests/mock_guest.c +++ b/tests/mock_guest.c @@ -68,7 +68,7 @@ void _exit (int exitcode) #define BUFFER_SIZE 512 -/*Borrowed this code form socket-sucker.c in lightdm-remote-session-freerdp*/ +/*Borrowed this code form socket-sucker.c in lightdm-remote-session-freerdp2*/ int socket_sucker () { @@ -85,7 +85,7 @@ socket_sucker () serv_addr.sun_family = AF_UNIX; - int printsize = snprintf(serv_addr.sun_path, sizeof(serv_addr.sun_path) - 1, "%s/%s", home, ".freerdp-socket"); + int printsize = snprintf(serv_addr.sun_path, sizeof(serv_addr.sun_path) - 1, "%s/%s", home, ".freerdp2-socket"); if (printsize > sizeof(serv_addr.sun_path) - 1 || printsize < 0) { return -1; } diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc index ce1282b..3ce9ea6 100644 --- a/tests/test-freerdp-wrapper.cc +++ b/tests/test-freerdp-wrapper.cc @@ -41,13 +41,13 @@ namespace { virtual void SetUp() { // Code here will be called immediately after the constructor (right // before each test). - unlink("/tmp/.freerdp-socket"); + unlink("/tmp/.freerdp2-socket"); } virtual void TearDown() { // Code here will be called immediately after each test (right // before the destructor). - unlink("/tmp/.freerdp-socket"); + unlink("/tmp/.freerdp2-socket"); } // Objects declared here can be used by all tests in the test case for Foo. -- cgit v1.2.3