1f08c3bdfSopenharmony_ci#!/bin/sh 2f08c3bdfSopenharmony_ci# SPDX-License-Identifier: GPL-2.0-or-later 3f08c3bdfSopenharmony_ci# Copyright (c) 2022 Petr Vorel <pvorel@suse.cz> 4f08c3bdfSopenharmony_ci 5f08c3bdfSopenharmony_ciTST_MOUNT_DEVICE=1 6f08c3bdfSopenharmony_ciTST_NEEDS_ROOT=1 7f08c3bdfSopenharmony_ciTST_FS_TYPE=ext4 8f08c3bdfSopenharmony_ciTST_TESTFUNC=test 9f08c3bdfSopenharmony_ciTST_CNT=3 10f08c3bdfSopenharmony_ci 11f08c3bdfSopenharmony_citest1() 12f08c3bdfSopenharmony_ci{ 13f08c3bdfSopenharmony_ci EXPECT_PASS "cd $TST_MNTPOINT" 14f08c3bdfSopenharmony_ci} 15f08c3bdfSopenharmony_ci 16f08c3bdfSopenharmony_citest2() 17f08c3bdfSopenharmony_ci{ 18f08c3bdfSopenharmony_ci EXPECT_PASS "grep '$TST_MNTPOINT $TST_FS_TYPE' /proc/mounts" 19f08c3bdfSopenharmony_ci} 20f08c3bdfSopenharmony_ci 21f08c3bdfSopenharmony_citest3() 22f08c3bdfSopenharmony_ci{ 23f08c3bdfSopenharmony_ci tst_brk TCONF "quit early to test early tst_umount" 24f08c3bdfSopenharmony_ci} 25f08c3bdfSopenharmony_ci 26f08c3bdfSopenharmony_ci. tst_test.sh 27f08c3bdfSopenharmony_citst_run 28