projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e45dee
)
m48t59-test: don't touch watchdog
author
Gerd Hoffmann
<kraxel@redhat.com>
Fri, 4 Jan 2013 16:12:18 +0000
(17:12 +0100)
committer
Gerd Hoffmann
<kraxel@redhat.com>
Thu, 10 Jan 2013 14:23:39 +0000
(15:23 +0100)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
tests/m48t59-test.c
patch
|
blob
|
history
diff --git
a/tests/m48t59-test.c
b/tests/m48t59-test.c
index 5179681ca5a842972fa3c67faea600f3f080c0aa..d79f55472dda724c3a099d1b7f794beff4a25032 100644
(file)
--- 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);
}