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