On MidnightBSD 1.1, I see this test failure: FAIL: test-immutable.sh =======================
Bus error test-immutable.sh: test case 2 failed Bus error test-immutable.sh: test case 3 failed FAIL test-immutable.sh (exit status: 1) This patch fixes it. 2021-02-07 Bruno Haible <br...@clisp.org> immutable: Avoid test failures on MidnightBSD. * tests/test-immutable.c (install_segv_handler): On FreeBSD, install the handler also for SIGBUS. diff --git a/tests/test-immutable.c b/tests/test-immutable.c index 4bee1f2..18ccf9d 100644 --- a/tests/test-immutable.c +++ b/tests/test-immutable.c @@ -45,7 +45,7 @@ static void install_segv_handler (void) { signal (SIGSEGV, segv_handler); -# if defined __APPLE__ && defined __MACH__ +# if (defined __APPLE__ && defined __MACH__) || defined __FreeBSD__ signal (SIGBUS, segv_handler); # endif }