[PATCH v1 10/30] test/parser: Add parser_is_unique
Geoff Levand
geoff at infradead.org
Wed Jul 25 08:15:40 AEST 2018
Signed-off-by: Geoff Levand <geoff at infradead.org>
---
test/parser/utils.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/test/parser/utils.c b/test/parser/utils.c
index c6d1a17..d8499a4 100644
--- a/test/parser/utils.c
+++ b/test/parser/utils.c
@@ -371,6 +371,18 @@ err_cleanup:
return -1;
}
+bool parser_is_unique(struct discover_context *ctx, struct discover_device *dev,
+ const char *filename, struct list *found_list)
+{
+ (void)ctx;
+ (void)dev;
+ (void)filename;
+ (void)found_list;
+
+ /* Just let the parser process everything. */
+ return true;
+}
+
struct load_url_result *load_url_async(void *ctx, struct pb_url *url,
load_url_complete async_cb, void *async_data,
waiter_cb stdout_cb, void *stdout_data)
--
2.14.1
More information about the Petitboot
mailing list