mirror of https://gitee.com/openkylin/qemu.git
tests/test-logging: Fix test for -dfilter 0..0xffffffffffffffff
Fixes: 58e19e6e79
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20200422130719.28225-13-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
parent
735527e179
commit
131889924b
|
@ -73,10 +73,10 @@ static void test_parse_range(void)
|
|||
g_assert(qemu_log_in_addr_range(UINT64_MAX));
|
||||
g_assert_false(qemu_log_in_addr_range(UINT64_MAX - 1));
|
||||
|
||||
qemu_set_dfilter_ranges("0..0xffffffffffffffff", &err);
|
||||
qemu_set_dfilter_ranges("0..0xffffffffffffffff", &error_abort);
|
||||
g_assert(qemu_log_in_addr_range(0));
|
||||
g_assert(qemu_log_in_addr_range(UINT64_MAX));
|
||||
|
||||
|
||||
qemu_set_dfilter_ranges("2..1", &err);
|
||||
error_free_or_abort(&err);
|
||||
|
||||
|
|
Loading…
Reference in New Issue