From 6b38904a1073ea63f09b00703aa27e16d77b6e01 Mon Sep 17 00:00:00 2001 From: Julianus Larson Date: Wed, 17 May 2023 11:35:03 +0200 Subject: [PATCH] Updated tests to support imp fields in tee_client_api.h types As the test xtest_tee_test_1025 uses a part of a struct from tee_client_api.h that is implementation defined, the test needed to be updated when the implementation defined parts of the structs in tee_client_api.h changed to use an imp field instead of separate fields. Signed-off-by: Julianus Larson Reported-by: Tom Hebb --- host/xtest/regression_1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/xtest/regression_1000.c b/host/xtest/regression_1000.c index 272ab9332..5f459fe3c 100644 --- a/host/xtest/regression_1000.c +++ b/host/xtest/regression_1000.c @@ -2018,7 +2018,7 @@ static void xtest_tee_test_1025(ADBG_Case_t *c) Do_ADBG_EndSubCase(c, "Invalid NULL buffer memref registration"); - if (!xtest_teec_ctx.memref_null) { + if (!xtest_teec_ctx.imp.memref_null) { Do_ADBG_Log("Skip subcases: MEMREF_NULL capability not supported"); return; }