rctx->box->vb_bool = false;
/*
- * Try for another match, if possible.
+ * we didn't match, (&&), so we're done.
*/
- if (inst->stop_on_match) goto next;
-
- goto done;
+ if (!inst->stop_on_match) goto done;
}
-next:
fr_value_box_list_talloc_free(&rctx->list);
rctx->current++;
--- /dev/null
+#
+# PRE: edit
+#
+&request += {
+ &Tmp-Integer-0 = 0
+ &Tmp-Integer-1 = 1
+}
+
+#
+# ! (true && true) --> false
+#
+if !((&Tmp-Integer-0 == 0) && (&Tmp-Integer-1 == 1)) {
+ test_fail
+}
+
+#
+# false && true --> false
+#
+if ((&Tmp-Integer-0 == 1) && (&Tmp-Integer-1 == 1)) {
+ test_fail
+}
+
+#
+# true && false -> false
+#
+if ((&Tmp-Integer-0 == 0) && (&Tmp-Integer-1 == 0)) {
+ test_fail
+}
+
+success