xref: /aosp_15_r20/external/ltp/testcases/lib/tst_secureboot_enabled.c (revision 49cdfc7efb34551c7342be41a7384b9c40d7cab7)
1*49cdfc7eSAndroid Build Coastguard Worker // SPDX-License-Identifier: GPL-2.0-or-later
2*49cdfc7eSAndroid Build Coastguard Worker /*
3*49cdfc7eSAndroid Build Coastguard Worker  * Copyright (c) 2023 Petr Vorel <[email protected]>
4*49cdfc7eSAndroid Build Coastguard Worker  */
5*49cdfc7eSAndroid Build Coastguard Worker 
6*49cdfc7eSAndroid Build Coastguard Worker #define TST_NO_DEFAULT_MAIN
7*49cdfc7eSAndroid Build Coastguard Worker #include "tst_test.h"
8*49cdfc7eSAndroid Build Coastguard Worker 
main(void)9*49cdfc7eSAndroid Build Coastguard Worker int main(void)
10*49cdfc7eSAndroid Build Coastguard Worker {
11*49cdfc7eSAndroid Build Coastguard Worker 	return tst_secureboot_enabled() <= 0;
12*49cdfc7eSAndroid Build Coastguard Worker }
13