2002-11-18 05:13:03 +00:00
|
|
|
#! /bin/sh
|
2004-06-15 07:32:36 +00:00
|
|
|
# FS QA Test No. 070
|
2002-11-18 05:13:03 +00:00
|
|
|
#
|
|
|
|
|
# fsstress incarnation testing extended attributes writes
|
|
|
|
|
#
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
# Copyright (c) 2000-2001 Silicon Graphics, Inc. All Rights Reserved.
|
|
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
|
#
|
|
|
|
|
# creator
|
|
|
|
|
owner=nathans@sgi.com
|
|
|
|
|
|
|
|
|
|
seq=`basename $0`
|
|
|
|
|
echo "QA output created by $seq"
|
|
|
|
|
|
|
|
|
|
here=`pwd`
|
|
|
|
|
tmp=/tmp/$$
|
|
|
|
|
status=1 # failure is the default!
|
2004-06-15 07:32:36 +00:00
|
|
|
trap "_cleanup; exit \$status" 0 1 2 3 15
|
|
|
|
|
|
|
|
|
|
_cleanup()
|
|
|
|
|
{
|
|
|
|
|
cd /
|
|
|
|
|
rm -f $tmp.*
|
|
|
|
|
_cleanup_testdir
|
|
|
|
|
}
|
2002-11-18 05:13:03 +00:00
|
|
|
|
|
|
|
|
# get standard environment, filters and checks
|
|
|
|
|
. ./common.rc
|
|
|
|
|
. ./common.filter
|
|
|
|
|
|
|
|
|
|
# real QA test starts here
|
2004-06-15 07:32:36 +00:00
|
|
|
_supported_fs xfs udf nfs
|
|
|
|
|
_supported_os IRIX Linux
|
|
|
|
|
|
|
|
|
|
_setup_testdir
|
2002-11-18 05:13:03 +00:00
|
|
|
|
2005-12-09 02:52:22 +00:00
|
|
|
$FSSTRESS_PROG \
|
2004-06-15 07:32:36 +00:00
|
|
|
-d $testdir/fsstress \
|
2002-11-18 05:13:03 +00:00
|
|
|
-f allocsp=0 \
|
|
|
|
|
-f freesp=0 \
|
|
|
|
|
-f bulkstat=0 \
|
|
|
|
|
-f bulkstat1=0 \
|
|
|
|
|
-f resvsp=0 \
|
|
|
|
|
-f unresvsp=0 \
|
|
|
|
|
-f attr_set=100 \
|
|
|
|
|
-f attr_remove=100 \
|
2002-11-18 23:58:46 +00:00
|
|
|
-S -p 1 -n 10000 >$seq.full 2>&1
|
2002-11-18 05:13:03 +00:00
|
|
|
|
|
|
|
|
status=$?
|
|
|
|
|
exit
|