2 # SPDX-License-Identifier: GPL-2.0
3 # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
7 # Attempt to cause filesystem corruption with serial fsstresses doing
8 # extended attributes writes - pv 940655
11 _begin_fstest attr auto quick
13 # seed and options for fsstress known to cause curruptions
44 # Import common functions.
48 # real QA test starts here
54 _scratch_unmount >/dev/null 2>&1
55 echo "*** MKFS ***" >>$seqres.full
56 echo "" >>$seqres.full
57 _scratch_mkfs >>$seqres.full 2>&1 \
58 || _fail "mkfs failed"
61 mkdir -p $SCRATCH_MNT/fsstress
64 echo Running fsstress in serial:
66 while [ $i -lt $ITERATIONS ]; do
67 echo fsstress iteration: $i | tee -a $seqres.full
69 -d $SCRATCH_MNT/fsstress \
70 $fss_ops -S c >>$seqres.full 2>&1
78 echo Checking filesystem