| #! /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 |