Re: [PATCH v4 2/7] test-keyval: Demonstrate misparse of ',' with implied key

2020-10-12 Thread Eric Blake
On 10/11/20 2:35 AM, Markus Armbruster wrote: Add a test for "val,,ue" with implied key. Documentation says this should parse as implied key with value "val", then fail. The code parses it as implied key with value "val,ue", then succeeds. The next commit will fix it. Signed-off-by: Markus Ar

[PATCH v4 2/7] test-keyval: Demonstrate misparse of ', ' with implied key

2020-10-11 Thread Markus Armbruster
Add a test for "val,,ue" with implied key. Documentation says this should parse as implied key with value "val", then fail. The code parses it as implied key with value "val,ue", then succeeds. The next commit will fix it. Signed-off-by: Markus Armbruster --- tests/test-keyval.c | 7 +++