update-operator test should use += to add failures
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 22 May 2014 19:57:26 +0000 (20:57 +0100)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 23 May 2014 13:17:59 +0000 (14:17 +0100)
src/tests/keywords/update-operator

index b2e727d..31a2bdd 100644 (file)
@@ -14,7 +14,7 @@ update request {
 
 if (NAS-Port != 1000) {
        update reply {
-               Filter-Id := "fail 1"
+               Filter-Id += "fail 1"
        }
 }
 
@@ -24,7 +24,7 @@ update request {
 
 if (NAS-Port != 500) {
        update reply {
-               Filter-Id := "fail 2"
+               Filter-Id += "fail 2"
        }
 }
 
@@ -34,7 +34,7 @@ update request {
 
 if (NAS-Port != 2000) {
        update reply {
-               Filter-Id := "fail 3"
+               Filter-Id += "fail 3"
        }
 }