diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2013-01-04 17:12:18 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-01-10 15:23:39 +0100 |
commit | 067f0691277325dcce8401534d2ffc6164305021 (patch) | |
tree | d5820b1d1d9149f7358143ab93f429a8d5452fca /tests/m48t59-test.c | |
parent | 4e45deedf57c6cc7113b588282d0c16f89298aff (diff) | |
download | qemu-067f0691277325dcce8401534d2ffc6164305021.zip qemu-067f0691277325dcce8401534d2ffc6164305021.tar.gz qemu-067f0691277325dcce8401534d2ffc6164305021.tar.bz2 |
m48t59-test: don't touch watchdog
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tests/m48t59-test.c')
-rw-r--r-- | tests/m48t59-test.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/m48t59-test.c b/tests/m48t59-test.c index 5179681..d79f554 100644 --- a/tests/m48t59-test.c +++ b/tests/m48t59-test.c @@ -233,6 +233,11 @@ static void fuzz_registers(void) reg = (uint8_t)g_test_rand_int_range(0, 16); val = (uint8_t)g_test_rand_int_range(0, 256); + if (reg == 7) { + /* watchdog setup register, may trigger system reset, skip */ + continue; + } + cmos_write(reg, val); cmos_read(reg); } |