[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [RFC 09/10] qtest/fdc: Support for 2.88MB drives
From: |
John Snow |
Subject: |
[Qemu-devel] [RFC 09/10] qtest/fdc: Support for 2.88MB drives |
Date: |
Tue, 30 Jun 2015 21:20:39 -0400 |
The old test assumes a 1.44MB drive.
Assert that the QEMU default drive is now either 1.44 or 2.88.
Signed-off-by: John Snow <address@hidden>
---
tests/fdc-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/fdc-test.c b/tests/fdc-test.c
index 416394f..7c47385 100644
--- a/tests/fdc-test.c
+++ b/tests/fdc-test.c
@@ -267,7 +267,7 @@ static void test_cmos(void)
uint8_t cmos;
cmos = cmos_read(CMOS_FLOPPY);
- g_assert(cmos == 0x40);
+ g_assert(cmos == 0x40 || cmos == 0x50);
}
static void test_no_media_on_start(void)
--
2.1.0
- [Qemu-devel] [RFC 00/10] fix 2.88mb floppy diskette support, John Snow, 2015/06/30
- [Qemu-devel] [RFC 03/10] fdc: respect default drive type, John Snow, 2015/06/30
- [Qemu-devel] [RFC 01/10] fdc: Make default FDrive type explicit, John Snow, 2015/06/30
- [Qemu-devel] [RFC 04/10] fdc: move pick_geometry, John Snow, 2015/06/30
- [Qemu-devel] [RFC 06/10] fdc: add physical disk sizes, John Snow, 2015/06/30
- [Qemu-devel] [RFC 05/10] fdc: refactor pick_geometry, John Snow, 2015/06/30
- [Qemu-devel] [RFC 07/10] fdc: add disk field, John Snow, 2015/06/30
- [Qemu-devel] [RFC 02/10] fdc: add default drive type option, John Snow, 2015/06/30
- [Qemu-devel] [RFC 09/10] qtest/fdc: Support for 2.88MB drives,
John Snow <=
- [Qemu-devel] [RFC 10/10] fdc: change default drive to 288, John Snow, 2015/06/30
- [Qemu-devel] [RFC 08/10] fdc: refactor pick_geometry, John Snow, 2015/06/30