From 830407e88f9d40d954356c3754f2647f91d5c06a Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 17:26:00 +0200 Subject: Adding upstream version 5.6.0. Signed-off-by: Daniel Baumann --- tests/unit/mock_cmodule.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/unit/mock_cmodule.c (limited to 'tests/unit/mock_cmodule.c') diff --git a/tests/unit/mock_cmodule.c b/tests/unit/mock_cmodule.c new file mode 100644 index 0000000..9cc9d1a --- /dev/null +++ b/tests/unit/mock_cmodule.c @@ -0,0 +1,21 @@ +/* Copyright (C) CZ.NIC, z.s.p.o. + * SPDX-License-Identifier: GPL-3.0-or-later + */ + +#include "lib/module.h" + +/* + * Mock module implementation. + */ + +int mock_cmodule_init(struct kr_module *module) +{ + return kr_ok(); +} + +int mock_cmodule_deinit(struct kr_module *module) +{ + return kr_ok(); +} + +KR_MODULE_EXPORT(mock_cmodule) -- cgit v1.2.3