aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-09-19 17:01:11 -0500
committerTed Gould <ted@gould.cx>2012-09-19 17:01:11 -0500
commit7ee22c853b651808fa61226bad3d7dd5a0338379 (patch)
tree0061a100356125036e827c50d40beab24de55c55
parent3d176dc378174863d78ed928d8deaef981cc6c00 (diff)
downloadlibpam-freerdp2-7ee22c853b651808fa61226bad3d7dd5a0338379.tar.gz
libpam-freerdp2-7ee22c853b651808fa61226bad3d7dd5a0338379.tar.bz2
libpam-freerdp2-7ee22c853b651808fa61226bad3d7dd5a0338379.zip
Make the auth use the auth check utility
-rw-r--r--tests/Makefile.am1
-rw-r--r--tests/test-freerdp-wrapper.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index b7c39f0..56fe7b9 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -52,6 +52,7 @@ test_freerdpclient_wrapper_LDADD = \
test_freerdpclient_wrapper_CXXFLAGS = \
$(AM_CXXFLAGS) \
+ -DAUTH_CHECK="\"$(builddir)/test-freerdp-auth\"" \
-I${top_srcdir}/src
test_freerdpclient_wrapper_LDFLAGS = \
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc
index 3effc2a..2063c5c 100644
--- a/tests/test-freerdp-wrapper.cc
+++ b/tests/test-freerdp-wrapper.cc
@@ -14,7 +14,7 @@ extern "C" {
int freerdpclient_wrapper (int argc, char * argv[]);
-const char * auth_check_path = "";
+const char * auth_check_path = AUTH_CHECK;
}