Received: from eggs.gnu.org ([2001:4830:134:3::10]:51998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNn16-0001JY-GG for qemu-devel@nongnu.org; Mon, 25 Jan 2016 14:41:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNn14-0000sj-LA for qemu-devel@nongnu.org; Mon, 25 Jan 2016 14:41:36 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNn14-0000sd-Fz for qemu-devel@nongnu.org; Mon, 25 Jan 2016 14:41:34 -0500 From: John Snow Date: Mon, 25 Jan 2016 14:41:24 -0500 Message-Id: <1453750885-16066-13-git-send-email-jsnow@redhat.com> In-Reply-To: <1453750885-16066-1-git-send-email-jsnow@redhat.com> References: <1453750885-16066-1-git-send-email-jsnow@redhat.com> Subject: [Qemu-devel] [PULL 12/13] qtest/fdc: Support for 2.88MB drives List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, jsnow@redhat.com 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 Signed-off-by: John Snow Message-id: 1453495865-9649-12-git-send-email-jsnow@redhat.com --- 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 b5a4696..526d459 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.4.3