From 4da9c713d091872f8e18cf096d2c5f616183d3b4 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Fri, 3 May 2019 15:08:10 +0200 Subject: afb-export: Fix requirement on multiple apis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The test 'test-apiv3' was failing because the required api list "albert armel" wasn't splitted but set as-is. At the same time, test suite is improved. Bug-AGL: SPEC-1130 Bug-AGL: SPEC-2377 Change-Id: Ia4ab23bf666b5b4b1db3e1da2654d9387c2c01e5 Signed-off-by: José Bollo --- src/afb-api-v3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/afb-api-v3.c') diff --git a/src/afb-api-v3.c b/src/afb-api-v3.c index 7b889ee8..6469b886 100644 --- a/src/afb-api-v3.c +++ b/src/afb-api-v3.c @@ -365,7 +365,7 @@ int afb_api_v3_set_binding_fields(const struct afb_binding_v3 *desc, struct afb_ if (!rc && desc->require_class) rc = afb_api_x3_require_class(api, desc->require_class); if (!rc && desc->require_api) - rc = afb_api_x3_require_api(api, desc->require_api, 1); + rc = afb_api_x3_require_api(api, desc->require_api, 0); return rc; } -- cgit 1.2.3-korg