aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-09-19 15:39:09 -0500
committerTed Gould <ted@gould.cx>2012-09-19 15:39:09 -0500
commitb3857b0cb9d0ad808a40b39ae099feaac82d8b2b (patch)
treed2545587fdd8d72bf83e0b848ae1a39d1d96f059
parent58d01c2ab63c6e8ff3797e0b8a04117e413fa111 (diff)
downloadlibpam-x2go-b3857b0cb9d0ad808a40b39ae099feaac82d8b2b.tar.gz
libpam-x2go-b3857b0cb9d0ad808a40b39ae099feaac82d8b2b.tar.bz2
libpam-x2go-b3857b0cb9d0ad808a40b39ae099feaac82d8b2b.zip
Make sure to close so we don't leave processes around
-rw-r--r--tests/test-freerdp-wrapper.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-freerdp-wrapper.cc b/tests/test-freerdp-wrapper.cc
index 889aedb..e53d94b 100644
--- a/tests/test-freerdp-wrapper.cc
+++ b/tests/test-freerdp-wrapper.cc
@@ -62,6 +62,8 @@ namespace {
EXPECT_EQ (PAM_SUCCESS,
pam_sm_open_session (pamh, 0, 0, argv));
+ EXPECT_EQ (PAM_SUCCESS,
+ pam_sm_close_session (pamh, 0, 0, argv));
}
}