]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Add a test for auth-pam searchandreplace
authorJens Neuhalfen <jens@neuhalfen.name>
Wed, 25 May 2016 17:57:56 +0000 (19:57 +0200)
committerDavid Sommerseth <dazo@privateinternetaccess.com>
Mon, 30 May 2016 21:18:09 +0000 (23:18 +0200)
commit4507bb6cd11799f72f1ede602315a60e03bb449c
tree6815e87624690aac72a60ca9513c66e7c42960ce
parent40cb4cfc5d011102daec61ab39583cba0eeb3077
Add a test for auth-pam searchandreplace

No functional changes.

Utility functions of auth-pam are split into a dedicated file. This allows
the test programs to easily test these functions without adding
dependencies.

Add a minimal test for searchandreplace as a proof of concept.

[ Modified during commit: Enhanced documentation of functions in utils.h
  to comply with doxygen standards ]

Signed-off-by: Jens Neuhalfen <jens@neuhalfen.name>
Acked-by: Steffan Karger <steffan@karger.me>
Message-Id: <20160525175756.56186-3-openvpn-devel@neuhalfen.name>
URL: http://article.gmane.org/gmane.network.openvpn.devel/11724
Signed-off-by: David Sommerseth <dazo@privateinternetaccess.com>
configure.ac
src/plugins/auth-pam/Makefile.am
src/plugins/auth-pam/auth-pam.c
src/plugins/auth-pam/utils.c [new file with mode: 0644]
src/plugins/auth-pam/utils.h [new file with mode: 0644]
tests/unit_tests/Makefile.am
tests/unit_tests/plugins/Makefile.am [new file with mode: 0644]
tests/unit_tests/plugins/auth-pam/Makefile.am [new file with mode: 0644]
tests/unit_tests/plugins/auth-pam/test_search_and_replace.c [new file with mode: 0644]