rsyslog/tests/testsuites/xlate_sparse_array.lkp_tbl
Janmejay Singh dbf6e5e5fc - sparseArray fixed: impl was incorrect (according to proposal it was supposed to do a less-than-or-equal-to match, but the first-cut implemented an strict-equals-match).
- negative-tests-case: which tries a bunch of bad-table-definition inputs and tests resillience to silly errors in table-definition
2015-11-03 17:10:29 +05:30

7 lines
122 B
Plaintext

{
"type" : "sparseArray",
"table":[
{"index": 3, "value":"bar_old" },
{"index": 1, "value":"foo_old" }]
}