summaryrefslogtreecommitdiff
path: root/tests/xfs/080
blob: 2d90b6c450d02b5ecfa2bad0589b4d6ae4777c5c (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#! /bin/bash
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2000-2003 Silicon Graphics, Inc.  All Rights Reserved.
#
# FS QA Test No. 080
#
# rwtest (iogen|doio)
#
. ./common/preamble
_begin_fstest rw ioctl auto quick

# Import common functions.
. ./common/filter

# Override the default cleanup function.
_cleanup()
{ 
    cd /
    rm -f $tmp.*
}

_supported_fs xfs
_require_test
_require_xfs_io_command falloc	# iogen requires falloc

quiet=-q
clean=-c

export here
cd $TEST_DIR
echo

# real QA test starts here

$here/ltp/rwtest.sh $quiet $clean -i 2000 -f direct,buffered,sync
status=$?
[ $status -ne 0 ] && exit
echo Completed rwtest pass 1 successfully.

#$here/ltp/rwtest.sh $quiet $clean -Dv -i 1000 -n 10 -f direct,buffered,sync
#[ $status -ne 0 ] && exit
#echo Completed rwtest pass 2 successfully.

exit