History | View | Annotate | Download (12.8 kB)
qtest: Fix the bug about disable vnc causes "make check" fail
When we disable vnc from "./configure", QEMU can't use the vnc option.So qtest can't use the "vnc -none ", otherwise "make check" fails.If QEMU uses "-display none", "-vnc none" is excrescent, So we just need to drop it....
libqtest: rename qmp() to qmp_discard_response()
Existing qmp() callers do not expect a response object. In order toimplement real QMP test cases it will be necessary to inspect theresponse object.
Rename qmp() to qmp_discard_response(). Later patches will introduce a...
libqtest: New qtest_end() to go with qtest_start()
Signed-off-by: Markus Armbruster <armbru@redhat.com>Reviewed-by: Andreas Färber <afaerber@suse.de>Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>Message-id: 1371711329-9144-3-git-send-email-armbru@redhat.com...
fdc-test: split test_media_change() test, so insert part can be reused
Signed-off-by: Hervé Poussineau <hpoussin@reactos.org>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
fdc-test: insert media before fuzzing registers
A media will be required for future fdc tests.
fdc-test: add tests for non-DMA READ command
fdc: fix false FD_SR0_SEEK
Do not always set FD_SR0_SEEK, as callers already set it if needed.
fdc-test: Check READ ID
ST0 shouldn't include 0x20 (FD_SR0_SEEK) after READ ID.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Tested-by: Hervé Poussineau <hpoussin@reactos.org>
fdc-tests: add tests for VERIFY command
fdc-test: introduce test_relative_seek
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
fdc-test: Clean up a bit
Readability of the test code has suffered as the test case evolved. Thisshould improve it a bit again.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
fdc_test: update media_change test
After rewrite DSKCHG bit handling the test has to be updated. Nowis needed to seek to different track to clear DSKCHG bit.
fdc_test: introduce test_sense_interrupt
Calling sense interrupt status while there is no interrupt shouldreturn invalid command (0x80).
Read command should always returns in st0 seek_end bit set to 1.
qtest: add a fuzz test to fdc-test
Add a simple register fuzzing test to floppy controller tests.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
fdc-test: introduced qtest read_without_media
If you try to read from a floppy drive without a media, you should getan abnormal termination error.
fdc-test: introduced qtest no_media_on_start and cmos qtest for floppy
As default a guest has always one floppy drive so 0x10 byte in CMOShas to have 0x40 value. Higher 4 bits means that the first floppy driveis 1.44 Mb 3"5 drive and lower 4 bits means the second drive is not present....
qtest: Add floppy test
Let's start with testing media change.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>