aboutsummaryrefslogtreecommitdiff
path: root/tests/test-freerdp-wrapper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-freerdp-wrapper.cc')
-rw-r--r--tests/test-freerdp-wrapper.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc
index 6ba670f..ce1282b 100644
--- a/tests/test-freerdp-wrapper.cc
+++ b/tests/test-freerdp-wrapper.cc
@@ -63,25 +63,25 @@ namespace {
pam_handle_t *pamh = pam_handle_empty_pswd_new ();
- EXPECT_EQ (PAM_AUTH_ERR,
+ EXPECT_EQ (PAM_AUTH_ERR,
pam_sm_authenticate (pamh, 0, 0, argv));
-
+
}
-
+
TEST_F(FreerdpclientWrapperTest, canCallPamOpenSession) {
const char *argv[] = { NULL };
pam_handle_t *pamh = pam_handle_new ();
- EXPECT_EQ (PAM_SUCCESS,
+ EXPECT_EQ (PAM_SUCCESS,
pam_sm_authenticate (pamh, 0, 0, argv));
- EXPECT_EQ (PAM_SUCCESS,
+ EXPECT_EQ (PAM_SUCCESS,
pam_sm_setcred (pamh, 0, 0, argv));
-
- EXPECT_EQ (PAM_SUCCESS,
+
+ EXPECT_EQ (PAM_SUCCESS,
pam_sm_open_session (pamh, 0, 0, argv));
- EXPECT_EQ(0, socket_sucker());
- EXPECT_EQ (PAM_SUCCESS,
+ EXPECT_EQ(0, socket_sucker());
+ EXPECT_EQ (PAM_SUCCESS,
pam_sm_close_session (pamh, 0, 0, argv));
}