From 5eb775a90a32b802462f34743f09a4854f1f0c7d Mon Sep 17 00:00:00 2001 From: devttys0 Date: Sat, 2 Nov 2024 17:49:14 -0400 Subject: [PATCH] Added MBR test --- tests/inputs/mbr.bin | Bin 0 -> 5120 bytes tests/mbr.rs | 8 ++++++++ 2 files changed, 8 insertions(+) create mode 100644 tests/inputs/mbr.bin create mode 100644 tests/mbr.rs diff --git a/tests/inputs/mbr.bin b/tests/inputs/mbr.bin new file mode 100644 index 0000000000000000000000000000000000000000..292e7b19634eaf43fa93c781156d59e23153a112 GIT binary patch literal 5120 zcmeIuu?@f=5CcFbUD%HqGDwOHk%~4`0xQrVohvt%{x6Xo1-^E_^X@ZGN{-R4g*WQI bFft)PfB*pk1PBlyK!5-N0t5&U*hruQdd>sG literal 0 HcmV?d00001 diff --git a/tests/mbr.rs b/tests/mbr.rs new file mode 100644 index 00000000..afbd7846 --- /dev/null +++ b/tests/mbr.rs @@ -0,0 +1,8 @@ +mod common; + +#[test] +fn integration_test() { + const SIGNATURE_TYPE: &str = "mbr"; + const INPUT_FILE_NAME: &str = "mbr.bin"; + common::integration_test(SIGNATURE_TYPE, INPUT_FILE_NAME); +}