xfs/419: remove irrelevant swapfile test
[xfstests-dev.git] / tests / xfs / 080
1 #! /bin/bash
2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2000-2003 Silicon Graphics, Inc.  All Rights Reserved.
4 #
5 # FS QA Test No. 080
6 #
7 # rwtest (iogen|doio)
8 #
9 seq=`basename $0`
10 seqres=$RESULT_DIR/$seq
11 echo "QA output created by $seq"
12
13 here=`pwd`
14 tmp=/tmp/$$
15 status=1        # failure is the default!
16 trap "_cleanup; exit \$status" 0 1 2 3 15
17
18 # get standard environment, filters and checks
19 . ./common/rc
20 . ./common/filter
21
22 _cleanup()
23
24     cd /
25     rm -f $tmp.*
26 }
27
28 _supported_fs xfs
29 _require_test
30
31 quiet=-q
32 clean=-c
33
34 export here
35 cd $TEST_DIR
36 echo
37
38 # real QA test starts here
39
40 $here/ltp/rwtest.sh $quiet $clean -i 2000 -f direct,buffered,sync
41 status=$?
42 [ $status -ne 0 ] && exit
43 echo Completed rwtest pass 1 successfully.
44
45 #$here/ltp/rwtest.sh $quiet $clean -Dv -i 1000 -n 10 -f direct,buffered,sync
46 #[ $status -ne 0 ] && exit
47 #echo Completed rwtest pass 2 successfully.
48
49 exit