fr_strerror_const("Invalid operator");
goto error_adj;
}
-
+
/*
* Validate operators for check items.
*
goto error;
}
- if (tmpl_is_attr(map->lhs) && tmpl_attr_tail_da(map->lhs)->flags.local) {
- cf_log_err(ci, "Invalid location for local attribute '%s'", map->lhs->name);
- talloc_free(map);
- goto error; /* re-do "goto marker" stuff to print out spaces ? */
- }
-
MAP_VERIFY(map);
/*
+string CSV-Result
+
#
# PRE: map-2arg-error map-empty-error map-module-error map-field-error
#
map csv &User-Name {
- &reply.Result-Status := field3
+ &CSV-Result := field3
}
+
+if (!(&CSV-Result == "success")) {
+ test_fail
+}
+
+success