Skip to content

Commit

Permalink
Merge pull request #621 from cisco/bugfix/metadata
Browse files Browse the repository at this point in the history
Fixed function call in test cases
  • Loading branch information
abkarcher authored May 24, 2021
2 parents 63eadd2 + 39128b5 commit b16f82c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/test_acvp_operating_env.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ Test(FIPS_VALIDATION_METADATA, set_fips_validation_metadata, .init = setup, .fin
}

/*
* Test acvp_oe_verify_fips_operating_env
* Test acvp_verify_fips_validation_metadata
*/
Test(VERIFY_FIPS_OPERATING_ENV, verify_fips_operating_env, .init = setup, .fini = teardown) {
Test(VERIFY_FIPS_OPERATING_ENV, verify_fips_validation_metadata, .init = setup, .fini = teardown) {

rv = acvp_oe_verify_fips_operating_env(NULL);
rv = acvp_verify_fips_validation_metadata(NULL);
cr_assert(rv == ACVP_NO_CTX);

rv = acvp_oe_ingest_metadata(ctx, "json/meta.json");
Expand All @@ -97,7 +97,7 @@ Test(VERIFY_FIPS_OPERATING_ENV, verify_fips_operating_env, .init = setup, .fini
rv = acvp_oe_set_fips_validation_metadata(ctx, 1, 1);
cr_assert(rv == ACVP_SUCCESS);

rv = acvp_oe_verify_fips_operating_env(ctx);
rv = acvp_verify_fips_validation_metadata(ctx);
#ifdef ACVP_OFFLINE
cr_assert(rv == ACVP_TRANSPORT_FAIL);
#else
Expand Down

0 comments on commit b16f82c

Please sign in to comment.