]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testParseNodeInfo: Rewrite to virXPathU(Int|LongLong)
authorPeter Krempa <pkrempa@redhat.com>
Wed, 5 Oct 2022 11:51:45 +0000 (13:51 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 2 Nov 2022 08:20:57 +0000 (09:20 +0100)
commit4899c55e99cdf2bf5f183366b9cc0e95358f450a
tree79c4f93795caec7ed113e78fa295eb9381407109
parent3e3c52f10f894b049e0b72ee68233e2bba5a2b28
testParseNodeInfo: Rewrite to virXPathU(Int|LongLong)

Use the function for appropriate types and simplify the error logic.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/test/test_driver.c