qemu-e2k/tests
Eric Blake ff55d72eaf qapi: Check for member name conflicts with a base class
Our type inheritance for both 'struct' and for flat 'union' merges
key/value pairs from the base class with those from the type in
question.  Although the C code currently boxes things so that there
is a distinction between which member is referred to, the QMP wire
format does not allow passing a key more than once in a single
object.  Besides, if we ever change the generated C code to not be
quite so boxy, we'd want to avoid duplicate member names there,
too.

Fix a testsuite entry added in an earlier patch, as well as adding
a couple more tests to ensure we have appropriate coverage.  Ensure
that collisions are detected, regardless of whether there is a
difference in opinion on whether the member name is optional.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2015-05-05 18:39:02 +02:00
..
acpi-test-data
image-fuzzer
libqos misc: Fix new collection of typos 2015-04-30 16:05:48 +03:00
multiboot
qapi-schema qapi: Check for member name conflicts with a base class 2015-05-05 18:39:02 +02:00
qemu-iotests iotests: add incremental backup granularity tests 2015-04-28 15:36:11 +02:00
tcg
vmstate-static-checker-data
.gitignore
ac97-test.c
ahci-test.c qtest/ahci: add flush retry test 2015-04-28 15:27:51 -04:00
bios-tables-test.c
boot-order-test.c
check-block.sh
check-qdict.c
check-qfloat.c
check-qint.c
check-qjson.c
check-qlist.c
check-qom-interface.c
check-qstring.c
display-vga-test.c
drive_del-test.c
e1000-test.c
eepro100-test.c
endianness-test.c
es1370-test.c
fdc-test.c
fw_cfg-test.c fw_cfg-test: Fix test path to include architecture 2015-03-30 19:19:42 +02:00
hd-geo-test.c
i440fx-test.c i440fx-test: Fix test paths to include architecture 2015-03-30 19:24:54 +02:00
i82801b11-test.c
ide-test.c libqos: add blkdebug_prepare_script 2015-04-28 15:27:51 -04:00
intel-hda-test.c
ioh3420-test.c
ipoctal232-test.c
libqtest.c qtest: Add assertion that required environment variable is set 2015-04-28 15:27:51 -04:00
libqtest.h libqtest: add qmp_async 2015-04-28 15:27:51 -04:00
m48t59-test.c
Makefile qapi: Check for member name conflicts with a base class 2015-05-05 18:39:02 +02:00
ne2000-test.c
nvme-test.c
pc-cpu-test.c tests: Add PC CPU test 2015-03-17 14:50:44 +01:00
pcnet-test.c
pvpanic-test.c
qemu-iotests-quick.sh
qom-test.c
rcutorture.c rcu tests: fix compilation on 32-bit ppc 2015-03-25 13:37:10 +01:00
rtc-test.c
rtl8139-test.c
spapr-phb-test.c
test-aio.c iothread: release iothread around aio_poll 2015-04-28 15:36:08 +02:00
test-bitops.c
test-coroutine.c
test-cutils.c
test-hbitmap.c hbitmap: truncate tests 2015-04-28 15:36:11 +02:00
test-int128.c
test-iov.c
test-mul64.c
test-opts-visitor.c
test-qdev-global-props.c
test-qemu-opts.c
test-qmp-commands.c qapi: Drop tests for inline nested structs 2015-05-05 18:39:02 +02:00
test-qmp-event.c
test-qmp-input-strict.c qapi: Merge UserDefTwo and UserDefNested in tests 2015-05-05 18:39:02 +02:00
test-qmp-input-visitor.c qapi: Drop tests for inline nested structs 2015-05-05 18:39:02 +02:00
test-qmp-output-visitor.c qapi: Drop tests for inline nested structs 2015-05-05 18:39:02 +02:00
test-rcu-list.c rcu tests: fix compilation on 32-bit ppc 2015-03-25 13:37:10 +01:00
test-rfifolock.c
test-string-input-visitor.c
test-string-output-visitor.c
test-thread-pool.c
test-throttle.c
test-visitor-serialization.c qapi: Drop tests for inline nested structs 2015-05-05 18:39:02 +02:00
test-vmstate.c
test-write-threshold.c
test-x86-cpuid.c
test-xbzrle.c
tmp105-test.c
tpci200-test.c
usb-hcd-ehci-test.c
usb-hcd-ohci-test.c misc: fix typos in copyright declaration 2015-03-26 14:21:43 +01:00
usb-hcd-uhci-test.c misc: fix typos in copyright declaration 2015-03-26 14:21:43 +01:00
usb-hcd-xhci-test.c misc: fix typos in copyright declaration 2015-03-26 14:21:43 +01:00
vhost-user-test.c
virtio-9p-test.c
virtio-balloon-test.c
virtio-blk-test.c
virtio-console-test.c
virtio-net-test.c
virtio-rng-test.c
virtio-scsi-test.c
virtio-serial-test.c
vmxnet3-test.c
wdt_ib700-test.c