xref: /aosp_15_r20/external/ltp/lib/newlib_tests/test_kconfig01.c (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * Copyright (c) 2020 Cyril Hrubis <[email protected]>
4  *
5  * Invalid boolean expression test.
6  */
7 
8 #include "tst_test.h"
9 
do_test(void)10 static void do_test(void)
11 {
12 	tst_res(TPASS, "Test passed!");
13 }
14 
15 static const char *kconfigs[] = {
16 	"CONFIG_EXT4_FS=m | CONFIG_MMU)",
17 	NULL
18 };
19 
20 static struct tst_test test = {
21 	.test_all = do_test,
22 	.needs_kconfigs = kconfigs,
23 };
24