xfs: force file creation to the data device for certain layout tests
[xfstests-dev.git] / tests / overlay / 100
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (C) 2020 CTERA Networks. All Rights Reserved.
4 #
5 # FS QA Test 100
6 #
7 # Run unionmount testsuite to verify correctness
8 # with single lower layer on same fs as upper
9 #
10 seq=`basename $0`
11 seqres=$RESULT_DIR/$seq
12 echo "QA output created by $seq"
13
14 here=`pwd`
15 tmp=/tmp/$$
16 status=1        # failure is the default!
17 trap "_unionmount_testsuite_cleanup; exit \$status" 0 1 2 3 15
18
19 # get standard environment, filters and checks
20 . ./common/rc
21 . ./common/filter
22
23 # remove previous $seqres.full before test
24 rm -f $seqres.full
25
26 # real QA test starts here
27
28 _supported_fs overlay
29 _require_scratch
30 _require_unionmount_testsuite
31
32 _unionmount_testsuite_run --ov --samefs --verify
33
34 # success, all done
35 echo "Silence is golden"
36 status=0
37 exit