Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
You could add it to tests/sys/arch/amd64 using PLAIN_TESTS_C, and it will run automatically. The test should just exit with a non-zero status if we do not get SIGBUS at the expected location.
Comment Actions
Move to tests/sys/arch.
There is something wrong/missing with the Makefile or the program itself:
root@r-freeb44:~ # kyua test -k /usr/tests/sys/arch/Kyuafile amd64/int0x80:__test_cases_list__ -> broken: Invalid header for test case list; expecting Content-Type for application/X-atf-tp version 1, got 'int $0x80 raises SIGBUS' [0.000s] Results file id is usr_tests_sys_arch.20260428-014145-017595 Results saved to /root/.kyua/store/results.usr_tests_sys_arch.20260428-014145-017595.db 0/1 passed (1 broken, 0 failed, 0 skipped)
Comment Actions
BTW does the addition requires patching etc/mtree/BSD.tests.dist? I do not see aarch subdir there.
| tests/sys/arch/amd64/Makefile | ||
|---|---|---|
| 4 | A "plain" test is just a standalone C program which exits with status 0 if the test(s) pass, and non-zero otherwise. | |
Comment Actions
Thank you.
Yes, I think so. I thought @andrew set it up so that this would not be necessary, but apparently not.