autotest/autotest — pull request #345 by lkocman (2012-05-13 20:37:42+00:00)
Title: Adding negative qemu/spice-server testing

* virt/tests new negative_create.py for negative testing of qemu
* tests/kvm/tests-spice.cfg.sample: spice.* variants for neg. tests
* removing duplicate definitions of spice_port in tests-spice.cfg.sample

Basically negative_create.py expects qemu to exit while unexpected value has been passed to -spice argument. If vm.create() passed then VMCreateSuccess is raised.

Such as -spice port=helloDolly

I believe that autotest has some kind of catch core mechanism which would raise an exception while segfault has been catched. At least this is what I've understand from irc discussion with lmr.