File: README

package info (click to toggle)
libradsec 0.0.5-5.1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,680 kB
  • sloc: sh: 11,411; ansic: 10,494; perl: 270; makefile: 175
file content (39 lines) | stat: -rw-r--r-- 1,000 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
This is the README file for the test directory of libradsec.

Build
-----

In order to build and run the tests, you'll need to have CUnit
installed.

Source code: http://cunit.sourceforge.net/
Debian package: libcunit1-dev
FreeBSD port: devel/cunit


Run
---

NOTE: To run the tests you currently need
- a RADIUS server running at localhost:1820 with the shared RADIUS
  secret "sikrit" configured (or whatever "test-udp-auth" in test.conf
  says)
- a user "molgan@PROJECT-MOONSHOT.ORG" with password "password"
  present in the RADIUS database
These requirements will be removed in a future libradsec release.


Run the tests by typing

  make check

The output should read something like

    --Run Summary: Type      Total     Ran  Passed  Failed
                   suites        2       2     n/a       0
                   tests         2       2       2       0
                   asserts      23      23      23       0
    PASS: test-udp
    =============
    1 test passed
    =============