the test prints pairs to a string. That format depends on the
value of the -S tmpl_tokenize_all_nested=yes flag.
However, we couldn't use logical or (||) until that issue was
first fixed.
KEYWORD_UPDATE_REWRITE_TESTS := update-all update-array update-delete update-remove-any update-group update-hex update-remove-value update-index update-list-error update-remove-list update-prepend unknown-update update-error update-error-2 update-exec-error update-list-null-rhs update-exec
# Tests which can use new conditions, but which can't use tmpl_tokenize_all_nested=yes
-KEYWORD_UPDATE_TMPL_TESTS := foreach-regex pairs xlat-dhcpv4
+KEYWORD_UPDATE_TMPL_TESTS := foreach-regex xlat-dhcpv4
#
# Migration support. Some of the tests don't run under the new
test_fail
}
-if !(&Tmp-String-4 == 'Password.Cleartext = "hello"') {
+#
+# Allow old-style, and with -S tmpl_tokenize_all_nested=yes
+#
+if !((&Tmp-String-4 == 'Password.Cleartext = "hello"') ||
+ (&Tmp-String-4 == 'Password = { Cleartext = "hello" }')) {
test_fail
}