From 1bf6ac58087ff223c53bdf27ec56d564ed44d009 Mon Sep 17 00:00:00 2001 From: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com> Date: Mon, 20 Apr 2026 21:35:18 +0900 Subject: [PATCH 1/2] chore(test): delete unused testdata Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com> --- testdata/logs/pcr10s-serialized.dat | Bin 668 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 testdata/logs/pcr10s-serialized.dat diff --git a/testdata/logs/pcr10s-serialized.dat b/testdata/logs/pcr10s-serialized.dat deleted file mode 100644 index aa2070d97a76e428a9b740411d7e530ebfccce55..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 668 zcmZQ(U|?WjU;oYqD2kutf+BVDQX2Ro=E9u`z zae@NFE4_HumE8}t_f@9d4t%DN%l<>~-hHO|ZC4VR)(6fuOCV&L0fWnT?uDI}qSD87 z-&ahq$olu1XO;5DqAwxpYb(Xy*hc84b7Wd|uZ!#o-^4eujWPT)ArnXC$qfMjrTj7` From b0ae2d6ef0ed3a9393f077af34c14f12fbf0b835 Mon Sep 17 00:00:00 2001 From: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com> Date: Mon, 20 Apr 2026 21:35:55 +0900 Subject: [PATCH 2/2] chore(test): remove redundant comment Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com> --- tests/testdata.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/testdata.rs b/tests/testdata.rs index 4cdbf51..9143c47 100644 --- a/tests/testdata.rs +++ b/tests/testdata.rs @@ -27,10 +27,6 @@ const TEMPLATE_HASH_ALGOS: &[(HashAlgorithm, &str)] = &[ fn parses_builtin_tcb_policy() { let text = fs::read_to_string(testdata("policies/builtin-tcb-policy")).unwrap(); let policy = parse_policy(&text).unwrap(); - // The kernel's built-in `ima_tcb` policy expands to roughly a dozen rules: - // a handful of `dont_measure fsmagic=…` lines plus the trailing - // `measure func=…` rules. We don't pin the exact count (it has wandered - // across kernel versions), only that every non-comment line parsed. let non_blank = text .lines() .filter(|l| !l.trim().is_empty() && !l.trim_start().starts_with('#'))