Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests/mock_guest.c: Use same integer type (long unsigned int) for comparing ↵ | Mike Gabriel | 2021-06-08 | 1 | -1/+1 |
| | | | | string length returned by snprintf() and a sizeof() return value. | ||||
* | tests/mock_pam.c: Use curly braces for all if-clauses. | Mike Gabriel | 2021-06-08 | 1 | -20/+26 |
| | |||||
* | tests/mock_pam.c: Don't leak memory pointed to by 'response'. | Mike Gabriel | 2021-06-08 | 1 | -2/+6 |
| | |||||
* | tests/mock_*.c: Mark unused function arguments as such. | Mike Gabriel | 2021-06-08 | 2 | -13/+22 |
| | | | | | | | | | | | | | | | | | | | | This resolves: mock_pam.c: In function 'fake_conv': mock_pam.c:22:20: error: unused parameter 'num_msg' [-Werror=unused-parameter] 22 | int fake_conv (int num_msg, const struct pam_message **msg, | ~~~~^~~~~~~ mock_pam.c:23:39: error: unused parameter 'appdata_ptr' [-Werror=unused-parameter] 23 | struct pam_response **resp, void *appdata_ptr) | ~~~~~~^~~~~~~~~~~ mock_pam.c: In function 'fake_conv_empty_password': mock_pam.c:51:35: error: unused parameter 'num_msg' [-Werror=unused-parameter] 51 | int fake_conv_empty_password (int num_msg, const struct pam_message **msg, | ~~~~^~~~~~~ mock_pam.c:52:39: error: unused parameter 'appdata_ptr' [-Werror=unused-parameter] 52 | struct pam_response **resp, void *appdata_ptr) | ~~~~~~^~~~~~~~~~~ cc1: all warnings being treated as errors | ||||
* | tests/mock_pam.h: Includ <security/_pam-types.h>, so that the PAM_NONNULL() ↵ | Mike Gabriel | 2021-06-08 | 1 | -0/+1 |
| | | | | macro is defined. | ||||
* | tests/mock_guest.c: Remove comment that is no longer true. | Mike Gabriel | 2018-05-06 | 1 | -1/+0 |
| | |||||
* | unit tests: Fix build and re-enable them. | Mike Gabriel | 2018-05-05 | 6 | -69/+125 |
| | |||||
* | tests/{mock_guest.c,test-freerdp-wrapper.cc}: Fix namespace (freerdp -> ↵ | Mike Gabriel | 2018-01-12 | 2 | -4/+4 |
| | | | | freerdp2). | ||||
* | tests/Makefile.am: Use correct .la file in src/ folder for linking the unit ↵ | Mike Gabriel | 2018-01-12 | 1 | -1/+1 |
| | | | | tests. | ||||
* | tests/Makefile.am: Define LIBPAM_COMPILE to disable libpam's PAM_NONNULL ↵ | Mike Gabriel | 2018-01-12 | 1 | -1/+2 |
| | | | | check on pam_set_item() pam_get_item(). | ||||
* | tests/Makefile.am: Split-up CFLAGS/CXXFLAGS/CPPFLAGS properly. Esp. split ↵ | Mike Gabriel | 2018-01-12 | 1 | -2/+8 |
| | | | | out flags for the pre-processor into CPPFLAGS. | ||||
* | White-space clean-up. | Mike Gabriel | 2017-12-07 | 3 | -11/+11 |
| | |||||
* | unit test for empty password bug | Iftikhar Ahmad | 2013-03-19 | 3 | -0/+53 |
| | |||||
* | Improving the test coverage for libpam-freerdp | Iftikhar Ahmad | 2012-10-16 | 3 | -0/+75 |
| | |||||
* | Add a set cred call like LightDM does it | Ted Gould | 2012-09-19 | 1 | -0/+2 |
| | |||||
* | Adding an authenticate | Ted Gould | 2012-09-19 | 1 | -0/+2 |
| | |||||
* | Make sure we have the full path to execute the auth check | Ted Gould | 2012-09-19 | 1 | -1/+1 |
| | |||||
* | Make the auth use the auth check utility | Ted Gould | 2012-09-19 | 2 | -1/+2 |
| | |||||
* | Adding a small auth check utility | Ted Gould | 2012-09-19 | 2 | -2/+70 |
| | |||||
* | Set everything up so that the auth check binary can be different in the tests | Ted Gould | 2012-09-19 | 2 | -1/+4 |
| | |||||
* | Make sure to close so we don't leave processes around | Ted Gould | 2012-09-19 | 1 | -0/+2 |
| | |||||
* | Make sure to distribute the header files | Ted Gould | 2012-09-19 | 1 | -2/+2 |
| | |||||
* | Clean up Makefile and add proper files | Ted Gould | 2012-09-19 | 1 | -26/+16 |
| | |||||
* | Steal a bunch of test infrastructure from libpam-icaclient | Ted Gould | 2012-09-19 | 6 | -0/+340 |