Open
Description
The tests load_aout_direct
and load_elf_direct
only check the return values of the load functions:
bhyve-multiboot/tests/test-multiboot.c
Lines 214 to 228 in 63cc3d7
bhyve-multiboot/tests/test-multiboot.c
Lines 302 to 306 in 63cc3d7
Instead they should also verify that copyin
actually copied something. Probably the best idea is to
- implement a function to get the
lowmem_buffer
andhighmem_buffer
pointers frommock_bhyveload.c
- then use memcmp() to verify that the appropriate parts were actually loaded
Activity