From 65bdd89ef0ede483dc7edf844314efde1aa85545 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 19 Sep 2012 23:29:28 -0500 Subject: Adding an authenticate --- tests/test-freerdp-wrapper.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc index 2063c5c..c9d221e 100644 --- a/tests/test-freerdp-wrapper.cc +++ b/tests/test-freerdp-wrapper.cc @@ -63,6 +63,8 @@ namespace { pam_handle_t *pamh = pam_handle_new (); + EXPECT_EQ (PAM_SUCCESS, + pam_sm_authenticate (pamh, 0, 0, argv)); EXPECT_EQ (PAM_SUCCESS, pam_sm_open_session (pamh, 0, 0, argv)); EXPECT_EQ (PAM_SUCCESS, -- cgit v1.2.3