summaryrefslogtreecommitdiff
path: root/lib/tests/README
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2012-01-31 15:03:59 +0100
committerLinus Nordberg <linus@nordu.net>2012-01-31 15:03:59 +0100
commit5de17475ceec5c60d8945218a1a87a163db7415b (patch)
tree0da029c0fcab49b3010092612e26da78fc39c0a7 /lib/tests/README
parentdcd224f1fdf864fba1e1c1dd0b3f521fe43e4013 (diff)
Get the test suite going again.libradsec-psk
Diffstat (limited to 'lib/tests/README')
-rw-r--r--lib/tests/README22
1 files changed, 16 insertions, 6 deletions
diff --git a/lib/tests/README b/lib/tests/README
index 3745852..4d68bde 100644
--- a/lib/tests/README
+++ b/lib/tests/README
@@ -8,12 +8,14 @@ installed (http://www.lastcraft.com/cgreen.php).
Run
---
-NOTE: To run the tests you need
-- a RADIUS server running at localhost:1820 with shared secret
- "sikrit" configured (or whatever "test-udp-auth" in test.conf says)
-- a user "molgan" with password "password" present in the RADIUS
- database
-These requirements will disappear in a future release.
+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
@@ -22,3 +24,11 @@ Run the tests by typing
The output should read something like
Completed "main": 32 passes, 0 failures, 0 exceptions.
+
+
+When trying to debug the test programs under GDB you might run into
+trouble with multiple threads being executed by the test framework.
+If so, make sure to run a single test rather than the full test suite.
+For example:
+
+ libtool --mode execute gdb --args test-udp test_auth