summaryrefslogtreecommitdiff
path: root/tests/virnetmessagetest.c
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2012-03-26 11:23:45 +0100
committerDaniel P. Berrange <berrange@redhat.com>2012-03-26 11:23:45 +0100
commit70c07e01dee24df0a1591d65799b66a8e89a3bd6 (patch)
treea33772357fc6f1bd4b021e182868bbbeeec6ac6f /tests/virnetmessagetest.c
parentbeb76e374280f48ed01130710fad9b3641236f16 (diff)
downloadlibvirt-70c07e01dee24df0a1591d65799b66a8e89a3bd6.tar.gz
Fix and test round-trip of query parameters
When qparams support was dropped in commit bc1ff160, we forgot to add tests to ensure that viruri can do the same round trip handling of a URI. This round trip was broken, due to use of the old 'query' field of xmlUriPtr, instead of the new 'query_raw' Also, we forgot to report an OOM error. * tests/viruritest.c (mymain): Add tests based on just-deleted qparamtest. (testURIParse): Allow difference in input and expected output. * src/util/viruri.c (virURIFormat): Add missing error. Use query_raw, instead of query for xmlUriPtr object.
Diffstat (limited to 'tests/virnetmessagetest.c')
0 files changed, 0 insertions, 0 deletions