1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-11-29 00:24:11 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
Klas Lindfors
eca150344b make sure out-of-tree builds work 2015-02-12 14:10:54 +01:00
Klas Lindfors
0b0c8d80aa strdup() the OTP returned 2015-01-21 08:58:30 +01:00
Klas Lindfors
9cdf8f76cd update build-and-test 2015-01-20 10:53:47 +01:00
Klas Lindfors
2cfac9e6a2 enable coverage build for travis 2015-01-20 10:48:31 +01:00
Klas Lindfors
de0eed5be4 add a --enable-coverage switch 2015-01-20 10:25:55 +01:00
Klas Lindfors
e7fadcf073 only run the ldap "server" if we're compiling with ldap 2015-01-20 09:21:38 +01:00
Klas Lindfors
4ab78f54b5 add a test for authfile user with two ok public ids 2015-01-20 09:17:45 +01:00
Klas Lindfors
c5489c93c5 add a second successful ldap test
with two valid yubiKeyId
2015-01-20 09:15:37 +01:00
Klas Lindfors
c2eec8d69a use higher ports and put them in constants 2015-01-20 08:56:14 +01:00
Klas Lindfors
e9b34b3924 fixup some warnings in test 2015-01-19 21:17:42 +01:00
Klas Lindfors
5d7e0030fa add a mocked ldap server and ldap tests
relates #44
2015-01-19 21:04:11 +01:00
Klas Lindfors
086bfbb3f7 add a test for wrong otp and small fixup to mock server 2015-01-19 10:37:51 +01:00
Klas Lindfors
9038130e88 drop id from data struct and use index in array 2015-01-19 10:24:30 +01:00
Klas Lindfors
818fe93f3d pass port correctly 2015-01-19 10:24:13 +01:00
Klas Lindfors
bcfee637af add test for wrong otp for user 2015-01-19 10:12:55 +01:00
Klas Lindfors
196a872a00 add test for failure-case 2015-01-19 10:05:23 +01:00
Klas Lindfors
95db3d4246 add a second child and mock server 2015-01-19 09:59:43 +01:00
Klas Lindfors
ca7088525f fix some warnings 2015-01-19 09:59:43 +01:00
Klas Lindfors
7a4d812925 restructure the test some 2015-01-19 09:51:38 +01:00
Klas Lindfors
75fc2b909d make the recent pam_test more modularised and generic 2015-01-19 09:50:00 +01:00
Klas Lindfors
aae9a9add5 calculate size of cfg array 2015-01-19 09:28:55 +01:00
Klas Lindfors
8366721fd1 test a bit more and switch the mock to perl 2015-01-16 15:24:45 +01:00
Klas Lindfors
286de92cd3 test an OK authentication
add a simple http server in bash that validates the OTP
2015-01-16 11:32:29 +01:00
Klas Lindfors
5b17a1931e add first step of tests calling the actual module 2015-01-16 10:20:10 +01:00
Klas Lindfors
0b092d4d06 add test for check_user_token() 2014-08-27 11:31:39 +02:00
Klas Lindfors
ba2775619f make argv const to get rid of warning 2014-08-27 11:00:49 +02:00
Klas Lindfors
666d717b1d use constants 2014-08-27 10:45:26 +02:00
Klas Lindfors
85ef438041 close the tmpfile when done.. 2014-08-27 10:35:38 +02:00
Klas Lindfors
d6e26978dc remove some warnings from the new test. 2014-08-27 10:33:43 +02:00
Klas Lindfors
1159b1f39e add stdlib.h 2014-08-27 10:22:29 +02:00
Klas Lindfors
d1c4eb7749 some tests of loading chalresp state 2014-08-27 10:19:15 +02:00
Klas Lindfors
86ebf13d11 test other case in get_user_cfgfile_path() 2014-08-27 10:00:45 +02:00
Klas Lindfors
f58b225aaa basic test for get_user_cfgfile_path() 2014-08-27 09:58:43 +02:00
Klas Lindfors
9a22fc0753 add beginnings of a second test 2014-08-27 09:46:04 +02:00
Klas Lindfors
e1262ef4f4 move tests to subdir 2014-08-27 09:00:11 +02:00