aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests/mock_pam.c: Use curly braces for all if-clauses.Mike Gabriel2021-06-081-15/+20
|
* tests/mock_pam.c: Don't leak memory pointed to by 'response'.Mike Gabriel2021-06-081-0/+3
|
* tests/mock_guest.c: Use same integer type (long unsigned int) for comparing ↵Mike Gabriel2021-06-081-1/+1
| | | | | | | | | | | string length returned by snprintf() and a sizeof() return value. This resolves: mock_guest.c: In function 'socket_sucker': mock_guest.c:95:16: error: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Werror=sign-compare] 95 | if (printsize > sizeof(serv_addr.sun_path) - 1 || printsize < 0) { | ^
* tests/mock_*.c: Mark unused function arguments as such.Mike Gabriel2021-06-082-11/+19
| | | | | | | | | | | | | This resolves: mock_pam.c: In function 'fake_conv': mock_pam.c:24:20: error: unused parameter 'num_msg' [-Werror=unused-parameter] 24 | int fake_conv (int num_msg, const struct pam_message **msg, | ~~~~^~~~~~~ mock_pam.c:25:39: error: unused parameter 'appdata_ptr' [-Werror=unused-parameter] 25 | struct pam_response **resp, void *appdata_ptr) | ~~~~~~^~~~~~~~~~~ cc1: all warnings being treated as errors
* White-space clean-up. Remove whitespaces at EOL.Mike Gabriel2018-05-063-8/+8
|
* tests/mock_guest.c: Remove comment that is no longer true.Mike Gabriel2018-05-061-1/+0
|
* tests/Makefile.am: white-space fixes.Mike Gabriel2018-05-051-2/+2
|
* unit tests: Fix them and reenable them.Mike Gabriel2018-05-054-17/+60
|
* Re-layout Makefile.am files.Mike Gabriel2018-05-041-36/+52
|
* PAM prompt: rename from "x2gosession" to "remote command".Mike Gabriel2018-05-032-3/+3
|
* Adapt to changes in lightdm-remote-login-x2go (0.0.1.0). Expect a UCCS ↵Mike Gabriel2013-04-247-19/+19
| | | | service that supports session type »x2go».
* fixing copyright headersMike Gabriel2012-11-106-5/+17
|
* try to make the tests look ok...Mike Gabriel2012-11-091-2/+2
|
* fix testsMike Gabriel2012-11-092-0/+0
|
* change upstream authornameMike Gabriel2012-11-091-1/+1
|
* fork libpam-x2go from libpam-freerdpMike Gabriel2012-11-093-22/+22
|
* Improving the test coverage for libpam-freerdpIftikhar Ahmad2012-10-163-0/+75
|
* Add a set cred call like LightDM does itTed Gould2012-09-191-0/+2
|
* Adding an authenticateTed Gould2012-09-191-0/+2
|
* Make sure we have the full path to execute the auth checkTed Gould2012-09-191-1/+1
|
* Make the auth use the auth check utilityTed Gould2012-09-192-1/+2
|
* Adding a small auth check utilityTed Gould2012-09-192-2/+70
|
* Set everything up so that the auth check binary can be different in the testsTed Gould2012-09-192-1/+4
|
* Make sure to close so we don't leave processes aroundTed Gould2012-09-191-0/+2
|
* Make sure to distribute the header filesTed Gould2012-09-191-2/+2
|
* Clean up Makefile and add proper filesTed Gould2012-09-191-26/+16
|
* Steal a bunch of test infrastructure from libpam-icaclientTed Gould2012-09-196-0/+340