test: add a new unit test, src/test/test-binfmt-util.c
This commit is contained in:
@@ -49,6 +49,7 @@ simple_tests += files(
|
||||
'test-argv-util.c',
|
||||
'test-audit-util.c',
|
||||
'test-barrier.c',
|
||||
'test-binfmt-util.c',
|
||||
'test-bitfield.c',
|
||||
'test-bitmap.c',
|
||||
'test-blockdev-util.c',
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
/* SPDX-License-Identifier: LGPL-2.1-or-later */
|
||||
|
||||
#include "binfmt-util.h"
|
||||
#include "tests.h"
|
||||
|
||||
TEST(binfmt_mounted) {
|
||||
ASSERT_OK(binfmt_mounted());
|
||||
}
|
||||
|
||||
DEFINE_TEST_MAIN(LOG_DEBUG);
|
||||
Reference in New Issue
Block a user