test-string-input-visitor: Add more tests
commiteac475410e9513b43a3ee0af9dfa22ab49230a71
authorDavid Hildenbrand <david@redhat.com>
Wed, 21 Nov 2018 16:44:17 +0000 (21 17:44 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 13 Dec 2018 18:10:06 +0000 (13 19:10 +0100)
tree308aaad7b74b2adf0779a027f55bbfb8e0f658e5
parente08a5241d303d668b9f653344537eccb8b620663
test-string-input-visitor: Add more tests

Test that very big/small values are not accepted and that ranges with
only one element work. Also test that ranges are ascending and cannot
have more than 65536 elements.

Rename expect4 to expect5, as we will be moving that to a separate ulist
test after the rework.

Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20181121164421.20780-6-david@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
tests/test-string-input-visitor.c