Re: [PATCH v3 6/8] selftests/sgx: Encpsulate the test enclave creation
From: Jarkko Sakkinen
Date: Fri Aug 06 2021 - 07:24:52 EST
On Fri, Aug 06, 2021 at 03:17:02AM +0300, Jarkko Sakkinen wrote:
> +FIXTURE_SETUP(enclave)
> +{
> + if (!setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata))
> + ASSERT_TRUE(false);
Probably would make more sense:
ASSERT_TRUE(setup_test_encl(ENCL_HEAP_SIZE_DEFAULT, &self->encl, _metadata));
Right?
[and similar remarks to 7/8 and 8/8]
/Jarkko