Move User-password tests to the new framework
authorAlan T. DeKok <aland@freeradius.org>
Thu, 2 Jan 2014 17:52:48 +0000 (12:52 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 2 Jan 2014 17:52:48 +0000 (12:52 -0500)
src/tests/Makefile
src/tests/auth/user_password [new file with mode: 0644]
src/tests/auth/user_password.attrs [new file with mode: 0644]
src/tests/user_password [deleted file]

index e3d7e1e..b7a8afd 100644 (file)
@@ -18,7 +18,7 @@ export DYLD_LIBRARY_PATH
 
 RADDB_PATH := $(top_builddir)/raddb
 
-TESTS  = user_password vpiter chap mschapv1 digest-01/digest* \
+TESTS  = vpiter chap mschapv1 digest-01/digest* \
        test.example.com wimax
 
 PORT    = 12340
diff --git a/src/tests/auth/user_password b/src/tests/auth/user_password
new file mode 100644 (file)
index 0000000..648546a
--- /dev/null
@@ -0,0 +1,3 @@
+#
+#  Password is already set in radiusd.conf
+#
diff --git a/src/tests/auth/user_password.attrs b/src/tests/auth/user_password.attrs
new file mode 100644 (file)
index 0000000..65b967b
--- /dev/null
@@ -0,0 +1,4 @@
+User-Name = "bob"
+User-Password = "hello"
+
+Response-Packet-Type == Access-Accept
diff --git a/src/tests/user_password b/src/tests/user_password
deleted file mode 100644 (file)
index 2f70daa..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-#  Tests for clear-text password
-#
-#      TESTS 1
-#
-User-Name = "bob",
-User-Password = "bob"