diff options
author | John Snow | 2016-01-22 21:51:04 +0100 |
---|---|---|
committer | John Snow | 2016-01-25 20:36:01 +0100 |
commit | 62c762504e5d77400e2fefb12e5a9711f8619f3b (patch) | |
tree | 9ae1e58b645addc72f49168f7297fa96234ae214 | |
parent | fdc: rework pick_geometry (diff) | |
download | qemu-62c762504e5d77400e2fefb12e5a9711f8619f3b.tar.gz qemu-62c762504e5d77400e2fefb12e5a9711f8619f3b.tar.xz qemu-62c762504e5d77400e2fefb12e5a9711f8619f3b.zip |
qtest/fdc: Support for 2.88MB drives
The old test assumes a 1.44MB drive.
Assert that the QEMU default drive is now either 1.44 or 2.88.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-id: 1453495865-9649-12-git-send-email-jsnow@redhat.com
-rw-r--r-- | tests/fdc-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fdc-test.c b/tests/fdc-test.c index b5a4696d86..526d4595c3 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) |