Move .gitignore to lib/ in preparation for moving lib to the root.
[libradsec.git] / tests / README
1 This is the README file for the test directory of libradsec.
2
3 Build
4 -----
5
6 In order to build and run the tests, you'll need to have CUnit
7 installed.
8
9 Source code: http://cunit.sourceforge.net/
10 Debian package: libcunit1-dev
11 FreeBSD port: devel/cunit
12
13
14 Run
15 ---
16
17 NOTE: To run the tests you currently need
18 - a RADIUS server running at localhost:1820 with the shared RADIUS
19   secret "sikrit" configured (or whatever "test-udp-auth" in test.conf
20   says)
21 - a user "molgan@PROJECT-MOONSHOT.ORG" with password "password"
22   present in the RADIUS database
23 These requirements will be removed in a future libradsec release.
24
25
26 Run the tests by typing
27
28   make check
29
30 The output should read something like
31
32     --Run Summary: Type      Total     Ran  Passed  Failed
33                    suites        2       2     n/a       0
34                    tests         2       2       2       0
35                    asserts      23      23      23       0
36     PASS: test-udp
37     =============
38     1 test passed
39     =============