File: README

package info (click to toggle)
libnvme 1.16.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 8,020 kB
  • sloc: ansic: 35,812; perl: 1,834; sh: 475; python: 194; cpp: 64; makefile: 55
file content (17 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
This is a simple testcase to verify the NBFT parser output over a set
of provided ACPI NBFT tables.

The 'nbft-dump' test utility is a simple tool to print out all elements
and nested arrays of the nbft_info structs, bearing only minimal logic.

The 'tables' directory contains sample binary files taken from
/sys/firmware/acpi/tables. The 'tables_bad' then contains experiments, older
table revisions or malformed data to test the parser error path.

The "diffs" directory contains reference output generated by the 'nbft-dump'
utility that is being compared against actual testcase run output. Everytime
'nbft-dump.c' is modified these reference output files need to be regenerated
by calling `ninja -C .build nbft-diffs` over the configured meson project.

The tests are typically ran as part of the standard `meson test -C .build`
invocation.