diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-12 22:08:56 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-12 22:10:46 +0100 |
commit | d62df5422e04e6dd15a5715a7b2e5ed73d26e980 (patch) | |
tree | 971dcba213996e0059f30b6ae51429289a468a95 /tests | |
parent | 8020afbfb8c75417c0fe02fc053cd8f711cdd302 (diff) | |
download | libpam-freerdp2-d62df5422e04e6dd15a5715a7b2e5ed73d26e980.tar.gz libpam-freerdp2-d62df5422e04e6dd15a5715a7b2e5ed73d26e980.tar.bz2 libpam-freerdp2-d62df5422e04e6dd15a5715a7b2e5ed73d26e980.zip |
tests/{mock_guest.c,test-freerdp-wrapper.cc}: Fix namespace (freerdp -> freerdp2).
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mock_guest.c | 4 | ||||
-rw-r--r-- | 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. |