]> 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:20:15 +0000 (23:20 +0200)
commit0b8e0f53faa19bb1c326587bc8e612e4b1e8897d
tree1b64a88202b804b0510d311fd723174542d33a7b
parent1739c102a5c7db510f0ae3c125501a3d1ba3e85f
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>
(cherry picked from commit 4507bb6cd11799f72f1ede602315a60e03bb449c)
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]