]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix update-group-error
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 1 Oct 2020 19:17:10 +0000 (14:17 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 1 Oct 2020 20:06:01 +0000 (15:06 -0500)
src/tests/keywords/update-group-error

index 88f3563b6fb05bff095890b2aaab18add6b5e60a..d1f3330e7916bbb91251971c59e4351f5e8f3125 100644 (file)
@@ -2,13 +2,24 @@
 #  PRE: update
 #
 update reply {
-       &Reply-Message := "foo"
+       &Tmp-String-0 := "foo"
 
        #
        #  This is a string, so it's NOT allowed.
        #
-       &Filter-ID := {         # ERROR
-                        &WiMAX-Release := "1.0"
+       &Tmp-String-1 := {              # ERROR
+                        Tmp-String-2 := "1.0"
+       }
+}
+
+update reply {
+       &Tmp-String-0 := "foo"
+
+       #
+       #  Reference prefix not allowed for sub attributes
+       #
+       &Tmp-Group-0 := {
+                        &Tmp-String-2 := "1.0" # ERROR
        }
 }