* for attributes.
*/
if (tmpl_is_attr(c->data.map->rhs) &&
- !tmpl_is_attr(c->data.map->lhs)) {
+ !tmpl_contains_attr(c->data.map->lhs)) { /* also unresolved attributes! */
tmpl_t *tmp;
fr_sbuff_marker_t *m_tmp;
--- /dev/null
+#
+# PRE: if update
+#
+update request {
+ &NAS-Identifier = "yes"
+}
+
+#
+# test raw values
+#
+if (&Test-Paircmp == 'yes') {
+ success
+
+}
+else {
+ test_fail
+}
+
+#
+# test inter-attribute comparisons
+#
+if (&Test-Paircmp == &NAS-Identifier) {
+ success
+
+}
+else {
+ test_fail
+}