test-keyval: Demonstrate misparse of ',' with implied key
commitce40cbf11d215dc3f820bf32937f7e44aab4a1e3
authorMarkus Armbruster <armbru@redhat.com>
Sun, 11 Oct 2020 07:35:00 +0000 (11 09:35 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 15 Oct 2020 14:06:27 +0000 (15 16:06 +0200)
tree24e3275b1a5d55a749ef3906f0a05e19ef3cd954
parentfec3331894a8a433d1a58ec2c929743bbf449cb1
test-keyval: Demonstrate misparse of ',' with implied key

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 <armbru@redhat.com>
Message-Id: <20201011073505.1185335-3-armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/test-keyval.c