aboutsummaryrefslogtreecommitdiff
path: root/tests
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
commit7d6377d559133048ddb17d39be6395b6c2281a19 (patch)
tree0061a100356125036e827c50d40beab24de55c55 /tests
parenta2d6c7eed22dafba1350d97471304d30046b99cc (diff)
downloadlibpam-x2go-7d6377d559133048ddb17d39be6395b6c2281a19.tar.gz
libpam-x2go-7d6377d559133048ddb17d39be6395b6c2281a19.tar.bz2
libpam-x2go-7d6377d559133048ddb17d39be6395b6c2281a19.zip
Make the auth use the auth check utility
Diffstat (limited to 'tests')
-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;
}