|
iPXE
|
Go to the source code of this file.
Data Structures | |
| struct | archive_test |
| An archive extraction test. More... | |
Macros | |
| #define | ARCHIVE_TEST(name, TYPE, ARCHIVE_NAME, EXTRACT_NAME, EXPECTED_NAME, ARCHIVE, EXPECTED) |
| Define an archive extraction test. | |
| #define | archive_ok(test) |
| Report an archive extraction test result. | |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| void | archive_okx (struct archive_test *test, const char *file, unsigned int line) |
| Report an archive extraction test result. | |
Define an archive extraction test.
Definition at line 30 of file archive_test.h.
| #define archive_ok | ( | test | ) |
Report an archive extraction test result.
| test | Archive extraction test |
Definition at line 50 of file archive_test.h.
Referenced by gzip_test_exec(), mime_test_exec(), and zlib_test_exec().
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
|
extern |
Report an archive extraction test result.
| test | Archive extraction test |
| file | Test code file |
| line | Test code line |
Definition at line 47 of file archive_test.c.
References image::data, DBGC, DBGC_HDA, image_extract(), image_memory(), image::len, memcmp(), image::name, NULL, okx, strcmp(), test, image::type, and unregister_image().