]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
whitespace and formatting
authorJorge Pereira <jpereira@freeradius.org>
Tue, 4 Jul 2023 01:07:10 +0000 (22:07 -0300)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 11 Jul 2023 14:07:03 +0000 (10:07 -0400)
src/tests/process/radius/server.conf
src/tests/process/unit_test_module.conf

index 9cce85957dfd8e4103800b9ab3ccbd6fc236c868..f705d2c6a65a720f68e411bf572fd4b5ffaf8a33 100644 (file)
@@ -1,16 +1,20 @@
+policy {
+       $INCLUDE ../policy.conf
+       $INCLUDE ${raddb}/policy.d/control
+}
+
 server radius {
        namespace = radius
 
-recv Access-Request {
-       accept
-}
+       recv Access-Request {
+               accept
+       }
 
-send Access-Accept {
-       ok
-}
+       send Access-Accept {
+               ok
+       }
 
-send Access-Challenge {
-       &reply.Reply-Message := "challenge"
+       send Access-Challenge {
+               &reply.Reply-Message := "challenge"
+       }
 }
-
-}
\ No newline at end of file
index c2ed45a982dc4e4eb6be1129415a948a06feda2e..c215e3bf6d94a8f468f0f6c92e4718cbd95e5bf1 100644 (file)
@@ -3,17 +3,10 @@
 #
 
 raddb          = raddb
-
 modconfdir     = ${raddb}/mods-config
 
 modules {
-$INCLUDE ../../../raddb/mods-available/always
-
-}
-
-policy {
-$-INCLUDE $ENV{PROTOCOL}/policy.conf
-$INCLUDE policy.conf
+       $INCLUDE ../../../raddb/mods-available/always
 }
 
 #
@@ -40,10 +33,10 @@ server default {
        #  routine, and checks the results.
        #
        recv Request {
-#
-#  All of the tests run within a "subrequest".
-#
-$INCLUDE $ENV{PROCESS}
+               #
+               #  All of the tests run within a "subrequest".
+               #
+               $INCLUDE $ENV{PROCESS}
        }
 
        send Reply {