diff options
author | Ted Gould <ted@gould.cx> | 2012-09-19 23:29:28 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-09-19 23:29:28 -0500 |
commit | 65bdd89ef0ede483dc7edf844314efde1aa85545 (patch) | |
tree | 8a30c350f65a2a0affd92eafc874508a5e652ec2 | |
parent | 88ec3eac3541793636048bab693145a0b4268c32 (diff) | |
download | libpam-freerdp2-65bdd89ef0ede483dc7edf844314efde1aa85545.tar.gz libpam-freerdp2-65bdd89ef0ede483dc7edf844314efde1aa85545.tar.bz2 libpam-freerdp2-65bdd89ef0ede483dc7edf844314efde1aa85545.zip |
Adding an authenticate
-rw-r--r-- | tests/test-freerdp-wrapper.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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 @@ -64,6 +64,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, pam_sm_close_session (pamh, 0, 0, argv)); |