Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

verifier/tdx: fix TdShimPlatformConfigInfo parse error comparation #538

Merged
merged 1 commit into from
Oct 18, 2024

Commits on Oct 18, 2024

  1. verifier/tdx: fix TdShimPlatformConfigInfo parse error comparation

    The original unit tests use anyhow for error handling. The results are
    unstable because the debug format of the anyhow error might change due
    to different environments. This patch replace anyhow with thiserror
    without changing the test aim. This would give a more robust error type
    defination for comparation.
    
    Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
    Xynnn007 committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    a284fde View commit details
    Browse the repository at this point in the history