libvirt/tests
Daniel P. Berrange 06da1805bf Add test case for parsing JSON docs
While investigating some memory leaks it was unclear whether the
JSON code correctly free'd all memory during parsing. Add a test
case which can be run under valgrind to clearly demonstrate that
the parser is leak free.

* tests/Makefile.am: Add 'jsontest'
* tests/jsontest.c: A few simple JSON parsing tests
2011-06-30 18:04:02 +01:00
..
capabilityschemadata
commanddata
confdata
cputestdata
domainschemadata
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
interfaceschemadata
networkxml2argvdata network: Fix dnsmasq hostsfile creation logic and related tests 2011-06-29 01:59:34 +02:00
networkxml2xmlin Network: Add support for DNS hosts definition to the network XML 2011-06-24 16:15:36 -04:00
networkxml2xmlout Network: Add support for DNS hosts definition to the network XML 2011-06-24 16:15:36 -04:00
nodedevschemadata
nodeinfodata
nwfilterxml2xmlin nwfilter: enable filtering of gratuitous ARP packets 2011-05-23 19:41:18 -04:00
nwfilterxml2xmlout nwfilter: enable filtering of gratuitous ARP packets 2011-05-23 19:41:18 -04:00
qemuhelpdata Add txmode attribute to interface XML for virtio backend 2011-02-17 11:07:58 -05:00
qemuxml2argvdata Support reboots with the QEMU driver 2011-06-24 12:13:47 +01:00
qemuxml2xmloutdata Introduce virDomainChrDefNew() 2011-04-14 10:29:39 -06:00
sexpr2xmldata xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolxml2xmlin
storagevolxml2xmlout
vmx2xmldata esx: Fix regression in absolute file name handling 2011-05-26 23:32:44 +02:00
xencapsdata
xmconfigdata Fix order of disks and controllers 2011-06-01 19:11:58 +02:00
xml2sexprdata xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
xml2vmxdata esx: Fix regression in absolute file name handling 2011-05-26 23:32:44 +02:00
.gitignore Introduce a generic object for using network sockets 2011-06-24 11:48:18 +01:00
.valgrind.supp tests: suppress more valgrind situations 2011-05-03 08:03:39 -06:00
capabilityschematest
commandhelper.c build: fix getcwd portability problems 2011-04-29 12:08:26 -06:00
commandtest.c tests: avoid crash when run under gcov 2011-05-11 09:58:35 -06:00
conftest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
cpuset
cputest.c maint: rename virBufferVSprintf to virBufferAsprintf 2011-05-05 13:47:40 -06:00
daemon-conf
define-dev-segfault
domainschematest
domainsnapshotschematest
esxutilstest.c time_t is not a long on FreeBSD, switch internal type to long long 2011-05-25 18:47:33 +02:00
eventtest.c tests: simplify common setup 2011-04-29 10:21:20 -06:00
hashdata.h tests: More unit tests for internal hash APIs 2011-04-27 15:32:30 +02:00
hashtest.c hash: fix memory leak regression 2011-04-29 14:26:40 -06:00
int-overflow tests: don't alter state in $HOME 2011-03-28 09:55:46 -06:00
interfaceschematest
interfacexml2xmltest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
jsontest.c Add test case for parsing JSON docs 2011-06-30 18:04:02 +01:00
libvirtd-fail
libvirtd-pool
Makefile.am Add test case for parsing JSON docs 2011-06-30 18:04:02 +01:00
networkschematest
networkxml2argvtest.c network: Fix dnsmasq hostsfile creation logic and related tests 2011-06-29 01:59:34 +02:00
networkxml2xmltest.c Network: Add support for DNS hosts definition to the network XML 2011-06-24 16:15:36 -04:00
nodedevschematest
nodedevxml2xmltest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
nodeinfotest.c Skip nodeinfo test on non intel architectures 2011-06-14 22:32:51 +02:00
nwfilterschematest
nwfilterxml2xmltest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
object-locking.ml maint: typo fixes 2011-06-24 08:01:10 -06:00
oomtrace.pl maint: mark more perl scripts executable 2011-05-16 10:12:21 -06:00
openvzutilstest.c openvz: Add simple test for openvzReadNetworkConf 2011-06-01 11:58:15 +02:00
openvzutilstest.conf openvz: Add simple test for openvzReadNetworkConf 2011-06-01 11:58:15 +02:00
qemuargv2xmltest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
qemuhelptest.c qemu: domain I/O asynchronous handling 2011-06-22 09:26:24 +02:00
qemuxml2argvtest.c Support reboots with the QEMU driver 2011-06-24 12:13:47 +01:00
qemuxml2xmltest.c Support leases in guest XML and lock manager 2011-06-02 10:54:00 +01:00
qparamtest.c tests: simplify common setup 2011-04-29 10:21:20 -06:00
read-bufsiz
read-non-seekable
reconnect.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
schematestutils.sh
seclabeltest.c
sexpr2xmltest.c xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
sockettest.c tests: simplify common setup 2011-04-29 10:21:20 -06:00
ssh.c Introduce a generic object for using network sockets 2011-06-24 11:48:18 +01:00
start
statstest.c tests: simplify common setup 2011-04-29 10:21:20 -06:00
storagepoolschematest
storagepoolxml2xmltest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
storagevolschematest
storagevolxml2xmltest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
test_conf.sh
test-lib.sh
testutils.c maint: typo fixes 2011-06-24 08:01:10 -06:00
testutils.h Provide a simple object for encoding/decoding RPC messages 2011-06-24 11:48:14 +01:00
testutilsqemu.c tests: Fake host capabilities properly 2011-02-15 22:51:37 +01:00
testutilsqemu.h
testutilsxen.c
testutilsxen.h
undefine
vcpupin
virbuftest.c maint: rename virBufferVSprintf to virBufferAsprintf 2011-05-05 13:47:40 -06:00
virnetmessagetest.c tests: Fix memory leak in virnetmessagetest 2011-06-29 10:47:54 +08:00
virnetsockettest.c tests: Improve IPv6 detection for virNetSocket tests 2011-06-24 18:46:06 +02:00
virsh-all tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virsh-optparse tests: test recent virsh option parsing changes 2011-04-15 16:19:22 -06:00
virsh-schedinfo
virsh-synopsis
virshtest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
virt-aa-helper-test
vmx2xmltest.c esx: Fix regression in absolute file name handling 2011-05-26 23:32:44 +02:00
xencapstest.c tests: Lower stack usage below 4096 bytes 2011-04-30 19:59:52 +02:00
xmconfigtest.c xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
xml2sexprtest.c xen: parse and generate hpet item in sxpr 2011-05-10 16:16:55 -06:00
xml2vmxtest.c esx: Fix regression in absolute file name handling 2011-05-26 23:32:44 +02:00