summaryrefslogtreecommitdiff
path: root/lib/tests/README
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-02-28 17:49:29 +0100
committerLinus Nordberg <linus@nordu.net>2011-02-28 17:49:29 +0100
commit0bb2bf92ba8c3af9e7d6a9f585eeae6849a9ff77 (patch)
tree4cb369e023b6f983a14b650fd81f32b5c9871080 /lib/tests/README
parentde197899cbf0b2692cf433323e919b011723e705 (diff)
Make tests run again.
NOTE: 2 exceptions ATM.
Diffstat (limited to 'lib/tests/README')
-rw-r--r--lib/tests/README24
1 files changed, 24 insertions, 0 deletions
diff --git a/lib/tests/README b/lib/tests/README
new file mode 100644
index 0000000..8280b9e
--- /dev/null
+++ b/lib/tests/README
@@ -0,0 +1,24 @@
+Build
+-----
+
+In order to build the tests, you'll need libcgreen
+(http://www.lastcraft.com/cgreen.php).
+
+
+Run
+---
+
+NOTE: To run the tests you need
+- a RADIUS server running at localhost:1820 with shared sekret
+ "sikrit" configured (or whatever "test-udp-auth" in test.conf says)
+- a user "molgan" with password "password" present in the RADIUS
+ database
+This requirement will disappear in the future.
+
+Run the tests by typing
+
+ ./test-udp
+
+The output should be something like
+
+ Completed "main": 32 passes, 0 failures, 0 exceptions.