• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-or-later
3# Copyright (c) 2022 FUJITSU LIMITED. All rights reserved.
4
5TST_TESTFUNC=do_test
6. tst_test.sh
7
8do_test()
9{
10	tst_check_kconfigs "CONFIG_EXT4_FS"
11	if [ $? -eq 0 ]; then
12		tst_res TPASS "kernel .config has CONFIG_EXT4_FS"
13	else
14		tst_res TFAIL "kernel .config doesn't have CONFIG_EXT4_FS"
15	fi
16
17	tst_check_kconfigs "CONFIG_EXT4"
18	if [ $? -eq 0 ]; then
19		tst_res TFAIL "kernel .config has CONFIG_EXT4"
20	else
21		tst_res TPASS "kernel .config doesn't have CONFIG_EXT4"
22	fi
23}
24tst_run
25