/
githubmirror
/
nvme-cli
ОбзорДокументацияВойти
/
githubmirror
/
nvme-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
nvme-cli/
.../tests/nbft/
..
diffs

libnvme: rename test to tests

12 часов назад
tables

libnvme: rename test to tests

12 часов назад
tables_bad

libnvme: rename test to tests

12 часов назад
README

libnvme: rename test to tests

12 часов назад
gen-nbft-diffs.sh.in

libnvme: rename test to tests

12 часов назад
meson.build

libnvme: rename test to tests

12 часов назад
nbft-dump-diff.sh.in

libnvme: rename test to tests

12 часов назад
nbft-dump.c

libnvme: rename test to tests

12 часов назад
nbft-reject.sh

libnvme: rename test to tests

12 часов назад
README
# SPDX-License-Identifier: LGPL-2.1-or-later
 
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.