commit | 64757582dafca9b0b3846677e368dd40bcd68b43 | [log] [tgz] |
---|---|---|
author | Max Reitz <mreitz@redhat.com> | Fri Feb 21 21:05:13 2014 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Fri Feb 21 22:18:26 2014 +0100 |
tree | fd732abbe9bdf75341ef5d9db7e8ef2b4bd90b96 | |
parent | 7841c768846dcfa5a162ff46a8e98429aa0d2238 [diff] |
check-qdict: Test termination of qdict_array_split() qdict_array_split() should terminate if it encounters both an entry with a key of "%u" and entries with keys prefixed "%u." for the same index. This patch adds a test for this case. Signed-off-by: Max Reitz <mreitz@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>