pam UPDATE moved pam test conf file to build
PAM testing configuration file now generates in build/tests instead of
/tests
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
index 64a0496..e7ca099 100644
--- a/tests/CMakeLists.txt
+++ b/tests/CMakeLists.txt
@@ -91,7 +91,7 @@
target_link_libraries(pam_netconf ${LIBPAM_LIBRARIES})
#generate PAM configuration file
- file(WRITE ${CMAKE_SOURCE_DIR}/tests/pam/netconf.conf
+ file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/netconf.conf
"#%PAM-1.4\n"
"auth required ${CMAKE_CURRENT_BINARY_DIR}/pam_netconf.so\n"
"account required ${CMAKE_CURRENT_BINARY_DIR}/pam_netconf.so\n"