]> xenbits.xensource.com Git - people/andrewcoop/xen-test-framework.git/commit
selftest: Fix test_unhandled_exception_hook()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Sep 2024 14:52:45 +0000 (15:52 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 13 Sep 2024 17:42:29 +0000 (18:42 +0100)
commit8d377f640739ecc96282e4340f33aa41e8f7bd7b
tree6f9cf5ea474ee17d2e0f5535fcc917442f2afd16
parentf503efe8e5cf8858ec0704f1aaa82d0bf50891a5
selftest: Fix test_unhandled_exception_hook()

When the hook was replaced with a week function, selftest's
do_unhandled_exception() became active for all unhandled exceptions, not just
the one under test.

Re-limit it to only test_unhandled_exception_hook().

Fixes: 7c575dc9c353 ("Simplify the unhandled_exception handling for tests")
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
tests/selftest/main.c