xref: /third_party/ltp/lib/newlib_tests/shell/tst_all_filesystems.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/ltp/lib/newlib_tests/shell/
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_ALL_FILESYSTEMS=1
6f08c3bdfSopenharmony_ciTST_MOUNT_DEVICE=1
7f08c3bdfSopenharmony_ciTST_NEEDS_ROOT=1
8f08c3bdfSopenharmony_ciTST_TESTFUNC=test
9f08c3bdfSopenharmony_ciTST_CNT=2
10f08c3bdfSopenharmony_ci
11f08c3bdfSopenharmony_citest1()
12f08c3bdfSopenharmony_ci{
13f08c3bdfSopenharmony_ci	tst_res TPASS "device using filesystem"
14f08c3bdfSopenharmony_ci}
15f08c3bdfSopenharmony_ci
16f08c3bdfSopenharmony_citest2()
17f08c3bdfSopenharmony_ci{
18f08c3bdfSopenharmony_ci	EXPECT_PASS "grep -E '$TST_MNTPOINT ($TST_FS_TYPE|fuseblk)' /proc/mounts"
19f08c3bdfSopenharmony_ci}
20f08c3bdfSopenharmony_ci
21f08c3bdfSopenharmony_ci. tst_test.sh
22f08c3bdfSopenharmony_citst_run
23

Indexes created Thu Nov 07 10:32:03 CST 2024