TestKextInject: Add SetApfsTimeout to testing code
@@ -381,6 +381,14 @@ ApplyKextPatches (
} else {
DEBUG ((DEBUG_WARN, "[OK] Success KernelQuirkForceSecureBootScheme\n"));
}
+
+ Status = PrelinkedContextApplyQuirk (Context, KernelQuirkSetApfsTrimTimeout, KernelVersion);
+ if (EFI_ERROR (Status)) {
+ DEBUG ((DEBUG_WARN, "[FAIL] Failed to apply KernelQuirkSetApfsTrimTimeout - %r\n", Status));
+ FailedToProcess = TRUE;
+ } else {
+ DEBUG ((DEBUG_WARN, "[OK] Success KernelQuirkSetApfsTrimTimeout\n"));
+ }
}
VOID
