#! /bin/bash
-# FS QA Test No. 013
-#
-# fsstress
-#
-#-----------------------------------------------------------------------
+# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it would be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write the Free Software Foundation,
-# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+# FS QA Test No. 013
#
-#-----------------------------------------------------------------------
+# fsstress
#
-
seq=`basename $0`
seqres=$RESULT_DIR/$seq
echo "QA output created by $seq"
{
cd /
# we might get here with a RO FS
- mount -o remount,rw $TEST_DEV >/dev/null 2>&1
+ _test_cycle_mount
# now remove fsstress directory.
- # N.B. rm(1) on IRIX can find problems when building up a long pathname
- # such that what it has is greater the 1024 chars and will
- # stop and complain - so get rid of complaint
- # Ref. pv#935754
- rm -rf $TEST_DIR/fsstress.$$.* 2>&1 | grep -v 'Path too long'
-}
-
-_filesize()
-{
- ls -l $1 | $AWK_PROG '{print " filesize = " $5}'
+ rm -rf $TEST_DIR/fsstress.$$.*
}
# get standard environment, filters and checks
# real QA test starts here
_supported_fs generic
-_supported_os IRIX Linux
+_supported_os Linux
_require_test
rm -f $seqres.full