aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-09-19 16:42:55 -0500
committerTed Gould <ted@gould.cx>2012-09-19 16:42:55 -0500
commitd7705fcc79144eb895a8ebc04dd5561f3c8afd70 (patch)
treed9ff52bd37fe2243aea44518bb794c096f7c098e /tests
parentb3857b0cb9d0ad808a40b39ae099feaac82d8b2b (diff)
downloadlibpam-x2go-d7705fcc79144eb895a8ebc04dd5561f3c8afd70.tar.gz
libpam-x2go-d7705fcc79144eb895a8ebc04dd5561f3c8afd70.tar.bz2
libpam-x2go-d7705fcc79144eb895a8ebc04dd5561f3c8afd70.zip
Set everything up so that the auth check binary can be different in the tests
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/test-freerdp-wrapper.cc3
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index c5da385..4e51e62 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -43,7 +43,7 @@ test_freerdpclient_wrapper_SOURCES = \
test-freerdp-wrapper.cc
test_freerdpclient_wrapper_LDADD = \
- $(top_builddir)/src/pam_freerdp.la \
+ $(top_builddir)/src/libfreerdpcore.la \
libgtest.a
test_freerdpclient_wrapper_CXXFLAGS = \
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc
index e53d94b..3effc2a 100644
--- a/tests/test-freerdp-wrapper.cc
+++ b/tests/test-freerdp-wrapper.cc
@@ -13,6 +13,9 @@ extern "C" {
#include "mock_guest.h"
int freerdpclient_wrapper (int argc, char * argv[]);
+
+const char * auth_check_path = "";
+
}
namespace {