• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/sh
2# SPDX-License-Identifier: GPL-2.0-or-later
3# Copyright (c) 2022 Petr Vorel <pvorel@suse.cz>
4
5TST_MOUNT_DEVICE=1
6TST_NEEDS_ROOT=1
7TST_FS_TYPE=ext4
8TST_TESTFUNC=test
9TST_CNT=3
10
11test1()
12{
13	EXPECT_PASS "cd $TST_MNTPOINT"
14}
15
16test2()
17{
18	EXPECT_PASS "grep '$TST_MNTPOINT $TST_FS_TYPE' /proc/mounts"
19}
20
21test3()
22{
23	tst_brk TCONF "quit early to test early tst_umount"
24}
25
26. tst_test.sh
27tst_run
28