summaryrefslogtreecommitdiff
path: root/tests/tmpfs/001
blob: 37ef0b183ae40c8a2375b84374e6742e1114b7b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2023 Rodrigo Campos Catelin (Microsoft). All Rights Reserved.
#
# FS QA Test 001
#
# Test that idmapped mounts behave correctly with tmpfs filesystem.
#
. ./common/preamble
_begin_fstest auto quick idmapped

# get standard environment, filters and checks
. ./common/filter

# real QA test starts here

_supported_fs tmpfs
_require_idmapped_mounts
_require_test

echo "Silence is golden"

$here/src/vfs/vfstest --test-tmpfs --device "$TEST_DEV" \
	        --mount "$TEST_DIR" --fstype "$FSTYP"

status=$?
exit