[PATCH] bios-tables-test: don't disassemble empty files

2021-10-19 Thread Michael S. Tsirkin
A recommended way to populate new tables is to have an empty expected file. In this case, attempts to disassemble will fail but it is useful to disassemble the actual files. Detect and skip decompile step in this case. Signed-off-by: Michael S. Tsirkin --- tests/qtest/bios-tables-test.c | 32 +++

Re: [PATCH] bios-tables-test: don't disassemble empty files

2021-10-19 Thread Michael S. Tsirkin
On Tue, Oct 19, 2021 at 06:12:52AM -0400, Michael S. Tsirkin wrote: > A recommended way to populate new tables is to have an > empty expected file. In this case, attempts to disassemble > will fail but it is useful to disassemble the actual files. > Detect and skip decompile step in this case. > >