xfstests: xfstests: move tests out of top level
PATCH 18/25 xfstests: convert tests to use new results directory
In reply to Dave ChinnerFrom: Dave Chinner <[email protected]>
Essentially the change is simply this. Converting:
... >> $seq.????
to:
.... >> $RESULT_DIR/$seq.????
so that output files are directed to the defined output directory.
sed to the rescue:
$ sed -i -e '/^seq=.*$/a seqres=$RESULT_DIR/$seq' -e 's/seq.full/seqres.full/' tests/*/*
will do most of the work automatically.
--- new | 3 ++- tests/btrfs/254 | 1 + tests/btrfs/264 | 1 + tests/btrfs/265 | 1 + tests/btrfs/276 | 27 ++++++++++++++------------- tests/btrfs/284 | 1 + tests/btrfs/313 | 9 +++++---- tests/ext4/271 | 3 ++- tests/ext4/301 | 5 +++-- tests/ext4/302 | 5 +++-- tests/ext4/303 | 5 +++-- tests/ext4/304 | 5 +++-- tests/generic/001 | 9 +++++---- tests/generic/002 | 1 + tests/generic/005 | 1 + tests/generic/006 | 1 + tests/generic/007 | 1 + tests/generic/010 | 5 +++-- tests/generic/011 | 7 ++++--- tests/generic/013 | 21 +++++++++++---------- tests/generic/014 | 1 + tests/generic/015 | 9 +++++---- tests/generic/020 | 9 +++++---- tests/generic/053 | 1 + tests/generic/062 | 15 ++++++++------- tests/generic/068 | 29 +++++++++++++++-------------- tests/generic/069 | 13 +++++++------ tests/generic/070 | 3 ++- tests/generic/074 | 11 ++++++----- tests/generic/075 | 7 ++++--- tests/generic/076 | 15 ++++++++------- tests/generic/077 | 21 +++++++++++---------- tests/generic/079 | 1 + tests/generic/083 | 15 ++++++++------- tests/generic/088 | 3 ++- tests/generic/089 | 7 ++++--- tests/generic/091 | 9 +++++---- tests/generic/093 | 3 ++- tests/generic/097 | 3 ++- tests/generic/099 | 3 ++- tests/generic/100 | 11 ++++++----- tests/generic/105 | 11 ++++++----- tests/generic/112 | 7 ++++--- tests/generic/113 | 1 + tests/generic/117 | 15 ++++++++------- tests/generic/120 | 1 + tests/generic/123 | 1 + tests/generic/124 | 1 + tests/generic/125 | 1 + tests/generic/126 | 1 + tests/generic/127 | 1 + tests/generic/128 | 1 + tests/generic/129 | 1 + tests/generic/130 | 1 + tests/generic/131 | 1 + tests/generic/132 | 1 + tests/generic/133 | 1 + tests/generic/135 | 1 + tests/generic/141 | 1 + tests/generic/169 | 15 ++++++++------- tests/generic/184 | 1 + tests/generic/192 | 9 +++++---- tests/generic/193 | 3 ++- tests/generic/198 | 3 ++- tests/generic/204 | 5 +++-- tests/generic/207 | 1 + tests/generic/208 | 1 + tests/generic/209 | 1 + tests/generic/210 | 1 + tests/generic/211 | 1 + tests/generic/212 | 1 + tests/generic/213 | 3 ++- tests/generic/214 | 3 ++- tests/generic/215 | 3 ++- tests/generic/219 | 15 ++++++++------- tests/generic/221 | 1 + tests/generic/223 | 13 +++++++------ tests/generic/224 | 7 ++++--- tests/generic/225 | 3 ++- tests/generic/226 | 9 +++++---- tests/generic/228 | 3 ++- tests/generic/230 | 41 +++++++++++++++++++++-------------------- tests/generic/231 | 9 +++++---- tests/generic/232 | 11 ++++++----- tests/generic/233 | 11 ++++++----- tests/generic/234 | 7 ++++--- tests/generic/235 | 13 +++++++------ tests/generic/236 | 1 + tests/generic/237 | 3 ++- tests/generic/239 | 1 + tests/generic/240 | 3 ++- tests/generic/241 | 5 +++-- tests/generic/245 | 1 + tests/generic/246 | 1 + tests/generic/247 | 1 + tests/generic/248 | 1 + tests/generic/249 | 7 ++++--- tests/generic/251 | 1 + tests/generic/255 | 1 + tests/generic/256 | 1 + tests/generic/257 | 3 ++- tests/generic/258 | 1 + tests/generic/260 | 1 + tests/generic/263 | 9 +++++---- tests/generic/269 | 7 ++++--- tests/generic/270 | 7 ++++--- tests/generic/273 | 7 ++++--- tests/generic/274 | 41 +++++++++++++++++++++-------------------- tests/generic/275 | 27 ++++++++++++++------------- tests/generic/277 | 1 + tests/generic/280 | 5 +++-- tests/generic/285 | 3 ++- tests/generic/286 | 35 ++++++++++++++++++----------------- tests/generic/288 | 1 + tests/generic/294 | 1 + tests/generic/299 | 7 ++++--- tests/generic/300 | 5 +++-- tests/shared/051 | 3 ++- tests/shared/218 | 15 ++++++++------- tests/shared/243 | 23 ++++++++++++----------- tests/shared/272 | 15 ++++++++------- tests/shared/289 | 13 +++++++------ tests/shared/298 | 1 + tests/shared/305 | 15 ++++++++------- tests/udf/098 | 3 ++- tests/udf/101 | 1 + tests/udf/102 | 1 + tests/xfs/003 | 1 + tests/xfs/004 | 17 +++++++++-------- tests/xfs/008 | 1 + tests/xfs/009 | 1 + tests/xfs/012 | 1 + tests/xfs/016 | 35 ++++++++++++++++++----------------- tests/xfs/017 | 31 ++++++++++++++++--------------- tests/xfs/018 | 3 ++- tests/xfs/019 | 3 ++- tests/xfs/021 | 5 +++-- tests/xfs/022 | 1 + tests/xfs/023 | 1 + tests/xfs/024 | 5 +++-- tests/xfs/025 | 1 + tests/xfs/026 | 1 + tests/xfs/027 | 1 + tests/xfs/028 | 3 ++- tests/xfs/029 | 1 + tests/xfs/030 | 1 + tests/xfs/031 | 13 +++++++------ tests/xfs/032 | 15 ++++++++------- tests/xfs/033 | 1 + tests/xfs/034 | 13 +++++++------ tests/xfs/035 | 1 + tests/xfs/036 | 1 + tests/xfs/037 | 1 + tests/xfs/038 | 1 + tests/xfs/039 | 1 + tests/xfs/040 | 7 ++++--- tests/xfs/041 | 5 +++-- tests/xfs/042 | 7 ++++--- tests/xfs/043 | 1 + tests/xfs/044 | 1 + tests/xfs/045 | 1 + tests/xfs/046 | 1 + tests/xfs/047 | 3 ++- tests/xfs/048 | 1 + tests/xfs/049 | 53 +++++++++++++++++++++++++++-------------------------- tests/xfs/050 | 31 ++++++++++++++++--------------- tests/xfs/052 | 19 ++++++++++--------- tests/xfs/054 | 7 ++++--- tests/xfs/055 | 1 + tests/xfs/056 | 1 + tests/xfs/057 | 1 + tests/xfs/058 | 1 + tests/xfs/059 | 1 + tests/xfs/060 | 1 + tests/xfs/061 | 1 + tests/xfs/063 | 1 + tests/xfs/064 | 9 +++++---- tests/xfs/065 | 1 + tests/xfs/066 | 1 + tests/xfs/067 | 9 +++++---- tests/xfs/071 | 17 +++++++++-------- tests/xfs/072 | 3 ++- tests/xfs/073 | 1 + tests/xfs/078 | 1 + tests/xfs/080 | 1 + tests/xfs/081 | 3 ++- tests/xfs/082 | 3 ++- tests/xfs/084 | 1 + tests/xfs/085 | 11 ++++++----- tests/xfs/086 | 13 +++++++------ tests/xfs/087 | 17 +++++++++-------- tests/xfs/090 | 1 + tests/xfs/092 | 1 + tests/xfs/094 | 1 + tests/xfs/095 | 1 + tests/xfs/096 | 5 +++-- tests/xfs/103 | 1 + tests/xfs/104 | 17 +++++++++-------- tests/xfs/106 | 5 +++-- tests/xfs/107 | 5 +++-- tests/xfs/108 | 15 ++++++++------- tests/xfs/109 | 3 ++- tests/xfs/110 | 1 + tests/xfs/111 | 1 + tests/xfs/114 | 31 ++++++++++++++++--------------- tests/xfs/115 | 11 ++++++----- tests/xfs/116 | 1 + tests/xfs/118 | 3 ++- tests/xfs/119 | 1 + tests/xfs/121 | 17 +++++++++-------- tests/xfs/122 | 7 ++++--- tests/xfs/134 | 5 +++-- tests/xfs/136 | 1 + tests/xfs/137 | 1 + tests/xfs/138 | 1 + tests/xfs/139 | 1 + tests/xfs/140 | 1 + tests/xfs/142 | 1 + tests/xfs/143 | 1 + tests/xfs/144 | 1 + tests/xfs/145 | 1 + tests/xfs/146 | 1 + tests/xfs/147 | 1 + tests/xfs/148 | 1 + tests/xfs/149 | 13 +++++++------ tests/xfs/150 | 1 + tests/xfs/151 | 3 ++- tests/xfs/152 | 1 + tests/xfs/153 | 1 + tests/xfs/154 | 1 + tests/xfs/155 | 1 + tests/xfs/156 | 5 +++-- tests/xfs/157 | 1 + tests/xfs/158 | 1 + tests/xfs/159 | 1 + tests/xfs/160 | 1 + tests/xfs/161 | 1 + tests/xfs/162 | 1 + tests/xfs/163 | 1 + tests/xfs/164 | 5 +++-- tests/xfs/165 | 7 ++++--- tests/xfs/166 | 5 +++-- tests/xfs/167 | 5 +++-- tests/xfs/168 | 5 +++-- tests/xfs/170 | 3 ++- tests/xfs/171 | 3 ++- tests/xfs/172 | 3 ++- tests/xfs/173 | 3 ++- tests/xfs/174 | 3 ++- tests/xfs/175 | 3 ++- tests/xfs/176 | 3 ++- tests/xfs/177 | 1 + tests/xfs/178 | 1 + tests/xfs/179 | 1 + tests/xfs/180 | 1 + tests/xfs/181 | 17 +++++++++-------- tests/xfs/182 | 1 + tests/xfs/183 | 1 + tests/xfs/185 | 1 + tests/xfs/186 | 7 ++++--- tests/xfs/187 | 5 +++-- tests/xfs/188 | 3 ++- tests/xfs/189 | 3 ++- tests/xfs/190 | 13 +++++++------ tests/xfs/191 | 5 +++-- tests/xfs/194 | 19 ++++++++++--------- tests/xfs/195 | 3 ++- tests/xfs/196 | 3 ++- tests/xfs/197 | 3 ++- tests/xfs/199 | 3 ++- tests/xfs/200 | 3 ++- tests/xfs/201 | 3 ++- tests/xfs/202 | 3 ++- tests/xfs/203 | 3 ++- tests/xfs/205 | 7 ++++--- tests/xfs/206 | 3 ++- tests/xfs/216 | 1 + tests/xfs/217 | 1 + tests/xfs/220 | 1 + tests/xfs/222 | 3 ++- tests/xfs/227 | 25 +++++++++++++------------ tests/xfs/229 | 1 + tests/xfs/238 | 1 + tests/xfs/242 | 1 + tests/xfs/244 | 17 +++++++++-------- tests/xfs/250 | 1 + tests/xfs/252 | 1 + tests/xfs/253 | 1 + tests/xfs/259 | 1 + tests/xfs/261 | 1 + tests/xfs/262 | 1 + tests/xfs/266 | 1 + tests/xfs/267 | 1 + tests/xfs/268 | 1 + tests/xfs/278 | 25 +++++++++++++------------ tests/xfs/279 | 11 ++++++----- tests/xfs/281 | 1 + tests/xfs/282 | 5 +++-- tests/xfs/283 | 5 +++-- tests/xfs/287 | 19 ++++++++++--------- tests/xfs/290 | 1 + tests/xfs/291 | 19 ++++++++++--------- tests/xfs/292 | 1 + tests/xfs/293 | 1 + tests/xfs/295 | 7 ++++--- tests/xfs/296 | 3 ++- tests/xfs/297 | 15 ++++++++------- 307 files changed, 1018 insertions(+), 711 deletions(-)
new +2 -1
@@ -106,6 +106,7 @@ cat <<End-of-File >$id # # creator seq=\`basename \$0\` +seqres=$RESULT_DIR/$seq echo "QA output created by \$seq" here=\`pwd\`
@@ -134,7 +135,7 @@ exit # optional stuff if your test has verbose output to help resolve problems #echo -#echo "If failure, check \$seq.full (this) and \$seq.full.ok (reference)" +#echo "If failure, check \$seqres.full (this) and \$seqres.full.ok (reference)" # success, all done status=0
tests/btrfs/254 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/btrfs/264 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/btrfs/265 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/btrfs/276 +14 -13
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -54,7 +55,7 @@ _require_nobigloopfs _require_btrfs inspect-internal _require_command "/usr/sbin/filefrag" -rm -f $seq.full +rm -f $seqres.full FILEFRAG_FILTER='if (/, blocksize (\d+)/) {$blocksize = $1; next} ($ext, '\ '$logical, $physical, $expected, $length, $flags) = (/^\s*(\d+)\s+(\d+)'\
@@ -68,18 +69,18 @@ FILEFRAG_FILTER='if (/, blocksize (\d+)/) {$blocksize = $1; next} ($ext, '\ # sample output: "1234#10#5678" -> physical 1234, length 10, logical 5678 _filter_extents() { - tee -a $seq.full | $PERL_PROG -ne "$FILEFRAG_FILTER" + tee -a $seqres.full | $PERL_PROG -ne "$FILEFRAG_FILTER" } _check_file_extents() { cmd="filefrag -v $1" - echo "# $cmd" >> $seq.full + echo "# $cmd" >> $seqres.full out=`$cmd | _filter_extents` if [ -z "$out" ]; then return 1 fi - echo "after filter: $out" >> $seq.full + echo "after filter: $out" >> $seqres.full echo $out return 0 }
@@ -95,9 +96,9 @@ _btrfs_inspect_addr() expect_inum=$4 file=$5 cmd="$BTRFS_UTIL_PROG inspect-internal logical-resolve -P $addr $mp" - echo "# $cmd" >> $seq.full + echo "# $cmd" >> $seqres.full out=`$cmd` - echo "$out" >> $seq.full + echo "$out" >> $seqres.full grep_expr="inode $expect_inum offset $expect_addr root" echo "$out" | grep "^$grep_expr 5$" >/dev/null ret=$?
@@ -128,9 +129,9 @@ _btrfs_inspect_inum() snap_name=$3 mp="$SCRATCH_MNT/$snap_name" cmd="$BTRFS_UTIL_PROG inspect-internal inode-resolve $inum $mp" - echo "# $cmd" >> $seq.full + echo "# $cmd" >> $seqres.full out=`$cmd` - echo "$out" >> $seq.full + echo "$out" >> $seqres.full grep_expr="^$file$" cnt=`echo "$out" | grep "$grep_expr" | wc -l` if [ $cnt -ge "1" ]; then
@@ -151,9 +152,9 @@ _btrfs_inspect_check() logical=$4 snap_name=$5 cmd="stat -c %i $file" - echo "# $cmd" >> $seq.full + echo "# $cmd" >> $seqres.full inum=`$cmd` - echo "$inum" >> $seq.full + echo "$inum" >> $seqres.full _btrfs_inspect_addr $SCRATCH_MNT $physical $logical $inum $file ret=$? if [ $ret -eq 0 ]; then
@@ -171,9 +172,9 @@ workout() snap_name=$4 umount $SCRATCH_DEV >/dev/null 2>&1 - echo "*** mkfs -dsize=$fsz" >>$seq.full - echo "" >>$seq.full - _scratch_mkfs_sized $fsz >>$seq.full 2>&1 \ + echo "*** mkfs -dsize=$fsz" >>$seqres.full + echo "" >>$seqres.full + _scratch_mkfs_sized $fsz >>$seqres.full 2>&1 \ || _fail "size=$fsz mkfs failed" run_check _scratch_mount # -w ensures that the only ops are ones which cause write I/O
tests/btrfs/284 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here="`pwd`" tmp=/tmp/$$
tests/btrfs/313 +5 -4
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "== QA output created by $seq" here=`pwd`
@@ -48,16 +49,16 @@ _supported_os Linux _require_scratch _require_scratch_dev_pool -rm -f $seq.full +rm -f $seqres.full FIRST_POOL_DEV=`echo $SCRATCH_DEV_POOL | awk '{print $1}'` LAST_POOL_DEV=`echo $SCRATCH_DEV_POOL | awk '{print $NF}'` TOTAL_DEVS=`echo $SCRATCH_DEV $SCRATCH_DEV_POOL | wc -w` LABEL=TestLabel.$seq -echo "Scratch $SCRATCH_DEV First $FIRST_POOL_DEV last $LAST_POOL_DEV Total $TOTAL_DEVS" > $seq.full +echo "Scratch $SCRATCH_DEV First $FIRST_POOL_DEV last $LAST_POOL_DEV Total $TOTAL_DEVS" > $seqres.full -_scratch_mkfs $SCRATCH_DEV_POOL >> $seq.full 2>&1 || _fail "mkfs failed" +_scratch_mkfs $SCRATCH_DEV_POOL >> $seqres.full 2>&1 || _fail "mkfs failed" # These have to be done unmounted...? echo "== Set filesystem label to $LABEL"
@@ -72,7 +73,7 @@ echo "== Show filesystem by label" $BTRFS_UTIL_PROG filesystem show $LABEL | _filter_btrfs_filesystem_show $TOTAL_DEVS UUID=`$BTRFS_UTIL_PROG filesystem show $LABEL | grep uuid: | awk '{print $NF}'` -echo "UUID $UUID" >> $seq.full +echo "UUID $UUID" >> $seqres.full echo "== Show filesystem by UUID" $BTRFS_UTIL_PROG filesystem show $UUID | _filter_btrfs_filesystem_show $TOTAL_DEVS $UUID
tests/ext4/271 +2 -1
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -40,7 +41,7 @@ _supported_os Linux _need_to_be_root _require_scratch -_scratch_mkfs_sized $((128 * 1024 * 1024)) >> $seq.full 2>&1 +_scratch_mkfs_sized $((128 * 1024 * 1024)) >> $seqres.full 2>&1 # -onoload and EXT4_SYNC_FL on file is important becase result in # metadata sync writes inside ext4_handle_dirty_metadata()
tests/ext4/301 +3 -2
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -101,13 +102,13 @@ _workout() echo "" echo " Start defragment activity" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; then
tests/ext4/302 +3 -2
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -117,13 +118,13 @@ _workout() echo "" echo " Start defragment activity" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; then
tests/ext4/303 +3 -2
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -127,13 +128,13 @@ _workout() echo "" echo " Start defragment activity" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; then
tests/ext4/304 +3 -2
@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -104,13 +105,13 @@ _workout() echo "" echo " Start defragment activity" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; then
tests/generic/001 +5 -4
@@ -32,6 +32,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checks
@@ -189,7 +190,7 @@ _mark_iteration() # _chain() { - $AWK_PROG -v full_file=$here/$seq.full -v verify=$verify <$tmp.config ' + $AWK_PROG -v full_file=$here/$seqres.full -v verify=$verify <$tmp.config ' BEGIN { nfile = 0 } /^\#/ { next } { file[nfile] = $1
@@ -237,7 +238,7 @@ END { srand('$iter') } } }' \ - | tee -a $here/$seq.full | sh + | tee -a $here/$seqres.full | sh } _check()
@@ -291,7 +292,7 @@ _cleanup() fi } -rm -f $here/$seq.full +rm -f $here/$seqres.full status=0 _cleanup status=1
@@ -305,7 +306,7 @@ _setup for iter in 1 2 3 4 5 do echo -n "iter $iter chain ... " - echo "iter $iter" >> $here/$seq.full + echo "iter $iter" >> $here/$seqres.full _chain _check if [ -f $tmp.bad ]
tests/generic/002 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checks
tests/generic/005 +1 -0
@@ -33,6 +33,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/006 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/007 +1 -0
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/010 +3 -2
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -59,11 +60,11 @@ _supported_os IRIX Linux _setup_testdir -rm -f $seq.full +rm -f $seqres.full cd $testdir -$here/src/dbtest -l 5 -n 1000 2>&1 | tee -a $here/$seq.full | _filter_dbtest +$here/src/dbtest -l 5 -n 1000 2>&1 | tee -a $here/$seqres.full | _filter_dbtest # success, all done exit
tests/generic/011 +4 -3
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" out=""
@@ -51,7 +52,7 @@ _setup_testdir out=$testdir/dirstress.$$ -rm -f $seq.full +rm -f $seqres.full _test() {
@@ -63,8 +64,8 @@ _test() if ! $here/src/dirstress -d $out -f $count $args >$tmp.out 2>&1 then echo " dirstress failed" - echo "*** TEST $test -d $out -f $count $args" >>$seq.full - cat $tmp.out >>$seq.full + echo "*** TEST $test -d $out -f $count $args" >>$seqres.full + cat $tmp.out >>$seqres.full status=1 fi }
tests/generic/013 +11 -10
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -73,15 +74,15 @@ _do_test() echo "fsstress.$_n : $_param" echo "-----------------------------------------------" # -m limits number of users/groups so check doesn't fail (malloc) later - dbgoutfile=$seq.full + dbgoutfile=$seqres.full if ! $FSSTRESS_PROG $_param $FSSTRESS_AVOID -v -m 8 -n $_count -d $out >>$dbgoutfile 2>&1 then - echo " fsstress (count=$_count) returned $? - see $seq.full" - echo "--------------------------------------" >>$here/$seq.full - echo "$_n - output from fsstress:" >>$here/$seq.full - echo "--------------------------------------" >>$here/$seq.full - echo "<NOT LOGGED>" >>$here/$seq.full - #cat $tmp.out >>$here/$seq.full + echo " fsstress (count=$_count) returned $? - see $seqres.full" + echo "--------------------------------------" >>$here/$seqres.full + echo "$_n - output from fsstress:" >>$here/$seqres.full + echo "--------------------------------------" >>$here/$seqres.full + echo "<NOT LOGGED>" >>$here/$seqres.full + #cat $tmp.out >>$here/$seqres.full status=1 fi
@@ -95,7 +96,7 @@ _supported_os IRIX Linux _setup_testdir -rm -f $here/$seq.full +rm -f $here/$seqres.full echo "brevity is wit..." count=1000
@@ -115,8 +116,8 @@ _do_test 2 "-p $procs -r" $count _do_test 3 "-p 4 -z -f rmdir=10 -f link=10 -f creat=10 -f mkdir=10 -f rename=30 -f stat=30 -f unlink=30 -f truncate=20" $count -# if all ok by here then probably don't need $seq.full -rm -f $seq.full +# if all ok by here then probably don't need $seqres.full +rm -f $seqres.full exit
tests/generic/014 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/015 +5 -4
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -56,7 +57,7 @@ _scratch_mkfs_sized `expr 50 \* 1024 \* 1024` >/dev/null 2>&1 \ || _fail "mkfs failed" _scratch_mount || _fail "mount failed" out=$SCRATCH_MNT/fillup.$$ -rm -f $seq.full +rm -f $seqres.full free0=`_free` if [ -z "$free0" ]
@@ -64,7 +65,7 @@ then echo " *** failed to get free space (0)" exit 1 fi -echo "free space at start $free0" >> $seq.full +echo "free space at start $free0" >> $seqres.full echo "fill disk:" # well, filesystem really - not disk
@@ -78,7 +79,7 @@ then echo " *** failed to get free space (1)" exit 1 fi -echo "free space after fill $free1" >> $seq.full +echo "free space after fill $free1" >> $seqres.full if [ ! -e $out ] then
@@ -116,7 +117,7 @@ then echo " *** failed to get free space (2)" exit 1 fi -echo "free space after delete $free2" >> $seq.full +echo "free space after delete $free2" >> $seqres.full echo -n " !!! " _within_tolerance "free space" $free2 $free0 1% -v
tests/generic/020 +5 -4
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -85,7 +86,7 @@ _require_attrs _setup_testdir -rm -f $seq.full +rm -f $seqres.full testfile=$testdir/attribute_$$
@@ -120,7 +121,7 @@ v=0 while [ $v -lt $MAX_ATTRS ] do - echo -n "value_$v" | attr -s "attribute_$v" $testfile >>$seq.full + echo -n "value_$v" | attr -s "attribute_$v" $testfile >>$seqres.full if [ $? -ne 0 ] then echo "!!! failed to add \"attribute_$v\""
@@ -133,7 +134,7 @@ done echo "*** check" # don't print it all out... getfattr --absolute-names $testfile \ - | tee -a $seq.full \ + | tee -a $seqres.full \ | $AWK_PROG ' /^#/ { next } /^[ ]*$/ { next }
@@ -145,7 +146,7 @@ echo "*** remove lots of attributes" v=0 while [ $v -lt $MAX_ATTRS ] do - if ! $ATTR_PROG -r "attribute_$v" $testfile >>$seq.full + if ! $ATTR_PROG -r "attribute_$v" $testfile >>$seqres.full then echo "!!! failed to remove \"attribute_$v\"" exit 1
tests/generic/053 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/062 +8 -7
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -75,7 +76,7 @@ _supported_os Linux _require_scratch _require_attrs -rm -f $tmp.backup1 $tmp.backup2 $seq.full +rm -f $tmp.backup1 $tmp.backup2 $seqres.full # real QA test starts here _scratch_mkfs > /dev/null 2>&1 || _fail "mkfs failed"
@@ -181,8 +182,8 @@ _backup() { # NB: no filtering of scratch here... (need to restore too) $GETFATTR_PROG --absolute-names -dh -R -m '.' $SCRATCH_MNT >$1 - echo BACKUP $1 >>$seq.full - cat $1 >> $seq.full + echo BACKUP $1 >>$seqres.full + cat $1 >> $seqres.full [ ! -s $1 ] && echo "warning: $1 (backup file) is empty" }
@@ -191,8 +192,8 @@ _backup $tmp.backup1 echo "*** clear out the scratch device" rm -fr $SCRATCH_MNT/* -echo "AFTER REMOVE" >>$seq.full -getfattr -L -R -m '.' $SCRATCH_MNT >>$seq.full +echo "AFTER REMOVE" >>$seqres.full +getfattr -L -R -m '.' $SCRATCH_MNT >>$seqres.full echo "*** reset test bed with no extended attributes" _create_test_bed
@@ -202,8 +203,8 @@ echo "*** restore everything" setfattr -h --restore=$tmp.backup1 _backup $tmp.backup2 -echo "AFTER RESTORE" >>$seq.full -getfattr -L -R -m '.' $SCRATCH_MNT >>$seq.full +echo "AFTER RESTORE" >>$seqres.full +getfattr -L -R -m '.' $SCRATCH_MNT >>$seqres.full echo "*** compare before and after backups" diff $tmp.backup1 $tmp.backup2
tests/generic/068 +15 -14
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -57,13 +58,13 @@ _require_freeze echo "*** init FS" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" touch $tmp.running
@@ -106,23 +107,23 @@ touch $tmp.running i=0 let ITERATIONS=$ITERATIONS-1 -echo | tee -a $seq.full +echo | tee -a $seqres.full while [ $i -le $ITERATIONS ] do - echo "*** iteration: $i" | tee -a $seq.full - echo "*** freezing \$SCRATCH_MNT" | tee -a $seq.full - xfs_freeze -f "$SCRATCH_MNT" | tee -a $seq.full + echo "*** iteration: $i" | tee -a $seqres.full + echo "*** freezing \$SCRATCH_MNT" | tee -a $seqres.full + xfs_freeze -f "$SCRATCH_MNT" | tee -a $seqres.full [ $? != 0 ] && echo xfs_freeze -f "$SCRATCH_MNT" failed | \ - tee -a $seq.full + tee -a $seqres.full sleep 2 - echo "*** thawing \$SCRATCH_MNT" | tee -a $seq.full - xfs_freeze -u "$SCRATCH_MNT" | tee -a $seq.full + echo "*** thawing \$SCRATCH_MNT" | tee -a $seqres.full + xfs_freeze -u "$SCRATCH_MNT" | tee -a $seqres.full [ $? != 0 ] && echo xfs_freeze -u "$SCRATCH_MNT" failed | \ - tee -a $seq.full + tee -a $seqres.full sleep 2 - echo | tee -a $seq.full + echo | tee -a $seqres.full let i=$i+1 done
tests/generic/069 +7 -6
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -39,7 +40,7 @@ _supported_fs generic _supported_os IRIX Linux _require_scratch -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1
@@ -60,19 +61,19 @@ done cd $here wait -ls -lh $SCRATCH_MNT >> $seq.full -echo "*** PIDs file" >> $seq.full -cat $SCRATCH_MNT/pids >> $seq.full +ls -lh $SCRATCH_MNT >> $seqres.full +echo "*** PIDs file" >> $seqres.full +cat $SCRATCH_MNT/pids >> $seqres.full cat $SCRATCH_MNT/pids | while read pid size do echo "*** checking file with $size integers" - echo checking pid=$pid size=$size >> $seq.full + echo checking pid=$pid size=$size >> $seqres.full $here/src/append_reader $SCRATCH_MNT/testfile.$pid status=$? [ $status -ne 0 ] && \ echo "maybe corrupt O_APPEND to $SCRATCH_MOUNT/testfile.$pid!" - echo status: $status >> $seq.full + echo status: $status >> $seqres.full done # success, all done
tests/generic/070 +2 -1
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -61,7 +62,7 @@ FSSTRESS_ARGS=`_scale_fsstress_args \ -f attr_set=100 \ -f attr_remove=100 \ -p 1 -n 10000 -S c` -$FSSTRESS_PROG $FSSTRESS_ARGS >$seq.full 2>&1 +$FSSTRESS_PROG $FSSTRESS_ARGS >$seqres.full 2>&1 status=$? exit
tests/generic/074 +6 -5
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -64,9 +65,9 @@ _do_test() echo "-----------------------------------------------" echo "fstest.$_n : $_filter_param" echo "-----------------------------------------------" - if ! $here/src/fstest $_param -p $out >>$seq.full + if ! $here/src/fstest $_param -p $out >>$seqres.full then - echo " fstest ($_param) returned $? - see $seq.full" + echo " fstest ($_param) returned $? - see $seqres.full" status=1 exit fi
@@ -107,7 +108,7 @@ _process_args() # real QA test starts here -rm -f $here/$seq.full +rm -f $here/$seqres.full _supported_fs generic _supported_os IRIX Linux
@@ -153,8 +154,8 @@ fi # can override the params here _process_args "$@" -echo "Params are for $param_type" >>$seq.full -echo "Params: n = $numchildren l = $numloops f = $numfiles" >>$seq.full +echo "Params are for $param_type" >>$seqres.full +echo "Params: n = $numchildren l = $numloops f = $numfiles" >>$seqres.full _setup_testdir
tests/generic/075 +4 -3
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -133,12 +134,12 @@ numops2=10000 # can override the params here _process_args "$@" -echo "Params are for $param_type" >>$seq.full -echo "Params: n = $numops1 N = $numops2 l = $filelen" >>$seq.full +echo "Params are for $param_type" >>$seqres.full +echo "Params: n = $numops1 N = $numops2 l = $filelen" >>$seqres.full _setup_testdir -rm -f $here/$seq.full +rm -f $here/$seqres.full echo "brevity is wit..." _check_test_fs
tests/generic/076 +8 -7
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -58,13 +59,13 @@ _require_scratch echo "*** init fs" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" echo "*** test concurrent block/fs access"
@@ -73,8 +74,8 @@ cat $SCRATCH_DEV >/dev/null & pid=$! FSSTRESS_ARGS=`_scale_fsstress_args -p 2 -n 2000 $FSSTRESS_AVOID` -echo "run fsstress with args: $FSSTRESS_ARGS" >>$seq.full -$FSSTRESS_PROG $FSSTRESS_ARGS >>$seq.full +echo "run fsstress with args: $FSSTRESS_ARGS" >>$seqres.full +$FSSTRESS_PROG $FSSTRESS_ARGS >>$seqres.full _lets_get_pidst _check_scratch_fs
tests/generic/077 +11 -10
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -56,29 +57,29 @@ _require_user echo "*** create filesystem" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full SIZE=`expr 50 \* 1024 \* 1024` -_scratch_mkfs_sized $SIZE >>$seq.full 2>&1 \ +_scratch_mkfs_sized $SIZE >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" mkdir $SCRATCH_MNT/subdir echo "*** set default ACL" setfacl -R -dm u:fsgqa:rwx,g::rwx,o::r-x,m::rwx $SCRATCH_MNT/subdir -echo "*** populate filesystem, pass #1" | tee -a $seq.full -cp -rf $filler $SCRATCH_MNT/subdir >$seq.full 2>&1 +echo "*** populate filesystem, pass #1" | tee -a $seqres.full +cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1 -echo "*** populate filesystem, pass #2" | tee -a $seq.full -cp -rf $filler $SCRATCH_MNT/subdir >$seq.full 2>&1 +echo "*** populate filesystem, pass #2" | tee -a $seqres.full +cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1 _check_scratch_fs echo "*** all done" -rm -f $seq.full +rm -f $seqres.full status=0 exit
tests/generic/079 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/083 +8 -7
@@ -33,6 +33,7 @@ seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -58,7 +59,7 @@ _supported_os IRIX Linux _require_scratch _require_no_large_scratch_dev -rm -f $seq.full +rm -f $seqres.full workout() {
@@ -68,22 +69,22 @@ workout() nops=$4 umount $SCRATCH_DEV >/dev/null 2>&1 - echo "*** mkfs -dsize=$fsz,agcount=$ags" >>$seq.full - echo "" >>$seq.full + echo "*** mkfs -dsize=$fsz,agcount=$ags" >>$seqres.full + echo "" >>$seqres.full if [ $FSTYP = xfs ] then - _scratch_mkfs_xfs -dsize=$fsz,agcount=$ags >>$seq.full 2>&1 \ + _scratch_mkfs_xfs -dsize=$fsz,agcount=$ags >>$seqres.full 2>&1 \ || _fail "size=$fsz,agcount=$ags mkfs failed" else - _scratch_mkfs_sized $fsz >>$seq.full 2>&1 \ + _scratch_mkfs_sized $fsz >>$seqres.full 2>&1 \ || _fail "size=$fsz mkfs failed" fi - _scratch_mount >>$seq.full 2>&1 \ + _scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" # -w ensures that the only ops are ones which cause write I/O FSSTRESS_ARGS=`_scale_fsstress_args -d $SCRATCH_MNT -w -p $procs -n $nops $FSSTRESS_AVOID` - $FSSTRESS_PROG $FSSTRESS_ARGS >>$seq.full + $FSSTRESS_PROG $FSSTRESS_ARGS >>$seqres.full _check_scratch_fs }
tests/generic/088 +2 -1
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -48,7 +49,7 @@ _supported_fs generic _supported_os IRIX Linux path=$TEST_DIR/t_access -src/t_access_root $path | tee $seq.full | _filter +src/t_access_root $path | tee $seqres.full | _filter # success, all done status=0
tests/generic/089 +4 -3
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" mtab_output=$TEST_DIR/mtab_output
@@ -51,7 +52,7 @@ addentries() _supported_fs generic _supported_os Linux -rm -f $seq.full +rm -f $seqres.full [ "X$TEST_DIR" = "X" ] && exit 1 cd $TEST_DIR rm -fr test
@@ -72,8 +73,8 @@ mtab() echo directory entries: ls | grep mtab - echo directory entries >> $here/$seq.full - ls -li >> $here/$seq.full + echo directory entries >> $here/$seqres.full + ls -li >> $here/$seqres.full } # directory with only a few entries
tests/generic/091 +5 -4
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -38,16 +39,16 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 _supported_fs generic _supported_os Linux -rm -f $seq.full +rm -f $seqres.full run_fsx() { - echo fsx $@ | tee -a $seq.full + echo fsx $@ | tee -a $seqres.full args=`echo $@ | sed -e "s/ BSIZE / $bsize /g" -e "s/ PSIZE / $psize /g"` rm -f $TEST_DIR/junk - $here/ltp/fsx $args $TEST_DIR/junk >>$seq.full 2>&1 + $here/ltp/fsx $args $TEST_DIR/junk >>$seqres.full 2>&1 if [ $? -ne 0 ]; then - cat $seq.full + cat $seqres.full exit 1 fi }
tests/generic/093 +2 -1
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq here=`pwd` tmp=/tmp/$$
@@ -62,7 +63,7 @@ _require_attrs [ -x $runas ] || _notrun "$runas executable not found" -rm -f $seq.full +rm -f $seqres.full _setup_testdir _need_to_be_root
tests/generic/097 +2 -1
@@ -28,6 +28,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -250,7 +251,7 @@ _check_scratch_fs # optional stuff if your test has verbose output to help resolve problems #echo -#echo "If failure, check $seq.full (this) and $seq.full.ok (reference)" +#echo "If failure, check $seqres.full (this) and $seq.full.ok (reference)" # success, all done status=0
tests/generic/099 +2 -1
@@ -24,6 +24,7 @@ # modifier seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -72,7 +73,7 @@ _cleanup() # -> this would be done by simultaneously matching on ACEs # -> interesting if it allows user to specify ACEs in any order # -rm -f $seq.full +rm -f $seqres.full #------------------------------------------------------- # real QA test starts here
tests/generic/100 +6 -5
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -54,17 +55,17 @@ DEPTH=5 POPULATED_DIR=$TEMP_DIR/populate_root SIZE=10 -rm -f $seq.full +rm -f $seqres.full # Clean up if file exist from prevous run rm -rf $POPULATED_DIR rm -f $TEMP_DIR/$TAR_FILE # Create the new directory structure -_populate_fs -n $NDIRS -f $NFILES -d $DEPTH -r $POPULATED_DIR -s $SIZE >>$here/$seq.full 2>&1 +_populate_fs -n $NDIRS -f $NFILES -d $DEPTH -r $POPULATED_DIR -s $SIZE >>$here/$seqres.full 2>&1 # Then tar up the directory structure -tar -cvf $TEMP_DIR/$TAR_FILE $POPULATED_DIR >>$here/$seq.full 2>&1 +tar -cvf $TEMP_DIR/$TAR_FILE $POPULATED_DIR >>$here/$seqres.full 2>&1 # create f/s _require_scratch
@@ -72,12 +73,12 @@ _setup_testdir # untar on f/s cd $testdir -tar -xRvf $TEMP_DIR/$TAR_FILE >>$here/$seq.full 2>&1 +tar -xRvf $TEMP_DIR/$TAR_FILE >>$here/$seqres.full 2>&1 cd $here # use diff -qr to compare -ls -R -l ${testdir}${POPULATED_DIR} >>$here/$seq.full 2>&1 +ls -R -l ${testdir}${POPULATED_DIR} >>$here/$seqres.full 2>&1 diff -qr $POPULATED_DIR ${testdir}${POPULATED_DIR} cd /
tests/generic/105 +6 -5
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -49,7 +50,7 @@ _supported_os IRIX Linux # real QA test starts here -rm -f $seq.full +rm -f $seqres.full _require_scratch _require_acls
@@ -57,11 +58,11 @@ _require_acls _acl_setup_ids umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" cd $SCRATCH_MNT
tests/generic/112 +4 -3
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -134,12 +135,12 @@ numops2=10000 # can override the params here _process_args "$@" -echo "Params are for $param_type" >>$seq.full -echo "Params: n = $numops1 N = $numops2 l = $filelen" >>$seq.full +echo "Params are for $param_type" >>$seqres.full +echo "Params: n = $numops1 N = $numops2 l = $filelen" >>$seqres.full _setup_testdir -rm -f $here/$seq.full +rm -f $here/$seqres.full echo "brevity is wit..." _check_test_fs
tests/generic/113 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/117 +8 -7
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -82,13 +83,13 @@ _setup_testdir _require_scratch _require_attrs -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" mkdir -p $SCRATCH_MNT/fsstress
@@ -97,10 +98,10 @@ echo echo Running fsstress in serial: i=0 while [ $i -lt $ITERATIONS ]; do - echo fsstress iteration: $i | tee -a $seq.full + echo fsstress iteration: $i | tee -a $seqres.full $FSSTRESS_PROG \ -d $SCRATCH_MNT/fsstress \ - $fss_ops -S c >>$seq.full 2>&1 + $fss_ops -S c >>$seqres.full 2>&1 let i=$i+1 done
tests/generic/120 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/123 +1 -0
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/124 +1 -0
@@ -27,6 +27,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/125 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/126 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/127 +1 -0
@@ -27,6 +27,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/128 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/129 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/130 +1 -0
@@ -32,6 +32,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/131 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/132 +1 -0
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/133 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/135 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/141 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/169 +8 -7
@@ -23,11 +23,12 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd` tmp=/tmp/$$ -rm -f $seq.full +rm -f $seqres.full status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15
@@ -56,10 +57,10 @@ _supported_os Linux _require_scratch -_scratch_mkfs >>$seq.full 2>&1 \ +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs scratch failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed: $MOUNT_OPTIONS" echo "# creating new file for io"
@@ -73,11 +74,11 @@ xfs_io -F -a -c "pwrite 0 5k" -c "fsync" \ | _show_wrote_and_stat_only echo "# unmounting scratch" -umount $SCRATCH_MNT>>$seq.full 2>&1 \ +umount $SCRATCH_MNT>>$seqres.full 2>&1 \ || _fail "unmount failed" echo "# mounting scratch" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed: $MOUNT_OPTIONS" echo "# stating file to confirm correct size"
@@ -90,11 +91,11 @@ xfs_io -F -f -c "pwrite 0 5" -c s -c "pwrite 5 5" \ | _show_wrote_and_stat_only echo "# unmounting scratch" -umount $SCRATCH_MNT>>$seq.full 2>&1 \ +umount $SCRATCH_MNT>>$seqres.full 2>&1 \ || _fail "unmount failed" echo "# mounting scratch" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed: $MOUNT_OPTIONS" echo "# stating file to confirm correct size"
tests/generic/184 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq - silence is golden" here=`pwd`
tests/generic/192 +5 -4
@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -53,20 +54,20 @@ delay=40 testfile=$TEST_DIR/testfile rm -f $testfile -rm -f $seq.full +rm -f $seqres.full echo test >$testfile -time1=`_access_time $testfile | tee -a $seq.full` +time1=`_access_time $testfile | tee -a $seqres.full` echo "sleep for $delay" sleep $delay # sleep to allow time to move on for access cat $testfile -time2=`_access_time $testfile | tee -a $seq.full` +time2=`_access_time $testfile | tee -a $seqres.full` cd / umount $TEST_DIR _test_mount -time3=`_access_time $testfile | tee -a $here/$seq.full` +time3=`_access_time $testfile | tee -a $here/$seqres.full` delta1=`expr $time2 - $time1` delta2=`expr $time3 - $time1`
tests/generic/193 +2 -1
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -247,5 +248,5 @@ _cleanup_files # success, all done echo "*** done" -rm -f $seq.full +rm -f $seqres.full status=0
tests/generic/198 +2 -1
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -47,7 +48,7 @@ _require_aiodio aiodio_sparse2 echo "Silence is golden." # real QA test starts here -rm -f $seq.full +rm -f $seqres.full rm -f "$TEST_DIR/aiodio_sparse*" $AIO_TEST "$TEST_DIR/aiodio_sparse"
tests/generic/204 +3 -2
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -44,7 +45,7 @@ _scratch_mount # fix the reserve block pool to a known size so that the enospc calculations # work out correctly. -_scratch_resvblks 1024 > $seq.full 2>&1 +_scratch_resvblks 1024 > $seqres.full 2>&1 for i in `seq 1 22500`; do echo -n > $SCRATCH_MNT/$i
@@ -53,5 +54,5 @@ done # success, all done echo "*** done" -rm -f $seq.full +rm -f $seqres.full status=0
tests/generic/207 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/208 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/209 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/210 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/211 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/212 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/213 +2 -1
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()
@@ -51,7 +52,7 @@ _supported_os Linux [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found" -rm -f $seq.full +rm -f $seqres.full _require_xfs_io_falloc
tests/generic/214 +2 -1
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()
@@ -49,7 +50,7 @@ _supported_os Linux [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found" -rm -f $seq.full +rm -f $seqres.full rm -f $TEST_DIR/ouch* _require_xfs_io_falloc
tests/generic/215 +2 -1
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()
@@ -79,5 +80,5 @@ fi # success, all done echo "*** done" -rm -f $seq.full +rm -f $seqres.full status=0
tests/generic/219 +8 -7
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -78,17 +79,17 @@ check_usage() test_accounting() { echo "### some controlled buffered, direct and mmapd IO (type=$type)" - echo "--- initiating parallel IO..." >>$seq.full + echo "--- initiating parallel IO..." >>$seqres.full # Small ios here because ext3 will account for indirect blocks too ... # 48k will fit w/o indirect for 4k blocks (default blocksize) $XFS_IO_PROG -F -c 'pwrite 0 48k' -c 'fsync' \ - $SCRATCH_MNT/buffer >>$seq.full 2>&1 & + $SCRATCH_MNT/buffer >>$seqres.full 2>&1 & $XFS_IO_PROG -F -c 'pwrite 0 48k' -d \ - $SCRATCH_MNT/direct >>$seq.full 2>&1 & + $SCRATCH_MNT/direct >>$seqres.full 2>&1 & $XFS_IO_PROG -F -c 't 48k' -c 'mm -rw 0 48k' -c 'mw 0 48k' -c 'ms -s' \ - $SCRATCH_MNT/mmap >>$seq.full 2>&1 & + $SCRATCH_MNT/mmap >>$seqres.full 2>&1 & wait - echo "--- completed parallel IO ($type)" >>$seq.full + echo "--- completed parallel IO ($type)" >>$seqres.full for file in $SCRATCH_MNT/{buffer,direct,mmap}; do $here/src/lstat64 $file | head -2 | _filter_scratch
@@ -103,10 +104,10 @@ test_accounting() } # real QA test starts here -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon $SCRATCH_MNT 2>/dev/null
tests/generic/221 +1 -0
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/223 +7 -6
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -47,7 +48,7 @@ _supported_os Linux _require_scratch _require_xfs_io_falloc -rm -f $seq.full +rm -f $seqres.full BLOCKSIZE=4096
@@ -57,7 +58,7 @@ for SUNIT_K in 8 16 32 64 128; do echo "=== mkfs with su $SUNIT_BLOCKS blocks x 4 ===" export MKFS_OPTIONS="" - _scratch_mkfs_geom $SUNIT_BYTES 4 $BLOCKSIZE >> $seq.full 2>&1 + _scratch_mkfs_geom $SUNIT_BYTES 4 $BLOCKSIZE >> $seqres.full 2>&1 _scratch_mount for SIZE_MULT in 1 2 8 64 256; do
@@ -67,10 +68,10 @@ for SUNIT_K in 8 16 32 64 128; do for FILE in 1 2 3 4; do xfs_io -F -f -c "falloc 0 $SIZE" \ $SCRATCH_MNT/file-$FILE-$SIZE-falloc \ - >> $seq.full 2>&1 + >> $seqres.full 2>&1 xfs_io -F -f -c "pwrite 0 $SIZE" \ $SCRATCH_MNT/file-$FILE-$SIZE-write \ - >> $seq.full 2>&1 + >> $seqres.full 2>&1 src/t_stripealign $SCRATCH_MNT/file-$FILE-$SIZE-falloc \ $SUNIT_BLOCKS | _filter_scratch src/t_stripealign $SCRATCH_MNT/file-$FILE-$SIZE-write \
@@ -80,7 +81,7 @@ for SUNIT_K in 8 16 32 64 128; do echo "=== Testing size 1g falloc on ${SUNIT_K}k stripe ===" xfs_io -F -f -c "falloc 0 1g" \ - $SCRATCH_MNT/file-1g-falloc >> $seq.full 2>&1 + $SCRATCH_MNT/file-1g-falloc >> $seqres.full 2>&1 src/t_stripealign $SCRATCH_MNT/file-1g-falloc $SUNIT_BLOCKS \ | _filter_scratch
@@ -88,7 +89,7 @@ for SUNIT_K in 8 16 32 64 128; do echo "=== Testing size 1073745920 falloc on ${SUNIT_K}k stripe ===" xfs_io -F -f -c "falloc 0 1073745920" \ - $SCRATCH_MNT/file-1073745920-falloc >> $seq.full 2>&1 + $SCRATCH_MNT/file-1073745920-falloc >> $seqres.full 2>&1 src/t_stripealign $SCRATCH_MNT/file-1073745920-falloc \ $SUNIT_BLOCKS | _filter_scratch
tests/generic/224 +4 -3
@@ -28,6 +28,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -53,12 +54,12 @@ _supported_os Linux _require_scratch # make a 1GB filesystem -_scratch_mkfs_sized `expr 1024 \* 1024 \* 1024` > $seq.full 2>&1 -_scratch_mount >> $seq.full 2>&1 +_scratch_mkfs_sized `expr 1024 \* 1024 \* 1024` > $seqres.full 2>&1 +_scratch_mount >> $seqres.full 2>&1 # set the reserved block pool to almost empty for XFS if [ "$FSTYP" = "xfs" ]; then - xfs_io -x -c "resblks 4" $SCRATCH_MNT >> $seq.full 2>&1 + xfs_io -x -c "resblks 4" $SCRATCH_MNT >> $seqres.full 2>&1 fi FILES=1000
tests/generic/225 +2 -1
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -48,7 +49,7 @@ _require_scratch _scratch_mkfs > /dev/null 2>&1 _scratch_mount > /dev/null 2>&1 -rm -f $seq.full +rm -f $seqres.full fiemapfile=$SCRATCH_MNT/$seq.fiemap fiemaplog=$SCRATCH_MNT/$seq.log
tests/generic/226 +5 -4
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -38,11 +39,11 @@ _supported_os Linux IRIX _require_scratch # real QA test starts here -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null echo "--> mkfs 256m filesystem" -_scratch_mkfs_sized `expr 256 \* 1024 \* 1024` >> $seq.full 2>&1 +_scratch_mkfs_sized `expr 256 \* 1024 \* 1024` >> $seqres.full 2>&1 _scratch_mount loops=16
@@ -54,7 +55,7 @@ echo "--> $loops buffered 64m writes in a loop" for I in `seq 1 $loops`; do echo -n "$I " xfs_io -F -f \ - -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seq.full + -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seqres.full rm -f $SCRATCH_MNT/test done
@@ -66,7 +67,7 @@ echo "--> $loops direct 64m writes in a loop" for I in `seq 1 $loops`; do echo -n "$I " xfs_io -F -f -d \ - -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seq.full + -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seqres.full rm -f $SCRATCH_MNT/test done
tests/generic/228 +2 -1
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()
@@ -49,7 +50,7 @@ _supported_os Linux [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found" -rm -f $seq.full +rm -f $seqres.full # Sanity check to see if fallocate works _require_xfs_io_falloc
tests/generic/230 +21 -20
87 lines not on this page · raw message
tests/generic/231 +5 -4
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -45,19 +46,19 @@ _fsx() echo "=== FSX Standard Mode, Memory Mapping, $tasks Tasks ===" for (( i = 1; i <= $tasks; i++ )); do SEED=$RANDOM - echo "ltp/fsx $FSX_ARGS -S $SEED $SCRATCH_MNT/fsx_file$i" >>$seq.full + echo "ltp/fsx $FSX_ARGS -S $SEED $SCRATCH_MNT/fsx_file$i" >>$seqres.full su $qa_user -c "ltp/fsx $FSX_ARGS -S $SEED \ $SCRATCH_MNT/fsx_file$i" >$tmp.output$i 2>&1 & done for (( i = 1; i <= $tasks; i++ )); do if ! wait %$i; then - cat $tmp.output$i | tee -a $seq.full + cat $tmp.output$i | tee -a $seqres.full wait return 1 fi $XFS_IO_PROG -F -c 'fsync' $SCRATCH_MNT/fsx_file$i - cat $tmp.output$i | tee -a $seq.full + cat $tmp.output$i | tee -a $seqres.full done return 0 }
@@ -70,7 +71,7 @@ _require_quota _require_user _need_to_be_root -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" chmod 777 $SCRATCH_MNT quotacheck -u -g $SCRATCH_MNT 2>/dev/null
tests/generic/232 +6 -5
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -38,7 +39,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 _filter_num() { - tee -a $here/$seq.full |\ + tee -a $here/$seqres.full |\ sed -e 's/[0-9][0-9]* inodes/I inodes/g' \ -e 's/[0-9][0-9]* paths/P paths/g' \ -e 's/seed = [0-9][0-9]*/seed = S/'
@@ -54,11 +55,11 @@ _fsstress() count=2000 args=`_scale_fsstress_args -d $out -n $count -p 7` - echo "fsstress $args" >> tee -a $here/$seq.full - if ! $FSSTRESS_PROG $args | tee -a $here/$seq.full | _filter_num + echo "fsstress $args" >> tee -a $here/$seqres.full + if ! $FSSTRESS_PROG $args | tee -a $here/$seqres.full | _filter_num then echo " fsstress $args returned $?" - cat $tmp.out | tee -a $here/$seq.full + cat $tmp.out | tee -a $here/$seqres.full status=1 fi }
@@ -70,7 +71,7 @@ _require_scratch _require_quota _need_to_be_root -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" chmod 777 $SCRATCH_MNT quotacheck -u -g $SCRATCH_MNT 2>/dev/null
tests/generic/233 +6 -5
@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -42,7 +43,7 @@ FSX_ARGS="-q -l $FSX_FILE_SIZE -o 65536 -S 191110531 -N 100000" _filter_num() { - tee -a $here/$seq.full |\ + tee -a $here/$seqres.full |\ sed -e 's/[0-9][0-9]* inodes/I inodes/g' \ -e 's/[0-9][0-9]* paths/P paths/g' \ -e 's/seed = [0-9][0-9]*/seed = S/'
@@ -61,11 +62,11 @@ _fsstress() -f rename=10 -f fsync=2 -f write=15 -f dwrite=15 \ -n $count -d $out -p 7` - echo "fsstress $args" >> tee -a $here/$seq.full - if ! su $qa_user -c "$FSSTRESS_PROG $args" | tee -a $here/$seq.full | _filter_num + echo "fsstress $args" >> tee -a $here/$seqres.full + if ! su $qa_user -c "$FSSTRESS_PROG $args" | tee -a $here/$seqres.full | _filter_num then echo " fsstress $args returned $?" - cat $tmp.out | tee -a $here/$seq.full + cat $tmp.out | tee -a $here/$seqres.full status=1 fi }
@@ -78,7 +79,7 @@ _require_quota _require_user _need_to_be_root -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" chmod 777 $SCRATCH_MNT quotacheck -u -g $SCRATCH_MNT 2>/dev/null
tests/generic/234 +4 -3
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -46,7 +47,7 @@ test_setting() idmod=200000 seed=$RANDOM RANDOM=$seed - echo "Starting test with procs=$procs, idmod=$idmod, and seed=$seed" >>$seq.full + echo "Starting test with procs=$procs, idmod=$idmod, and seed=$seed" >>$seqres.full for (( i = 0; i < $procs; i++ )); do ( SETUCOUNT=1; SETGCOUNT=1; SETUIDS[0]=0; SETGIDS[0]=0
@@ -93,9 +94,9 @@ _require_quota _need_to_be_root # real QA test starts here -rm -f $seq.full +rm -f $seqres.full -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon -u -g $SCRATCH_MNT 2>/dev/null
tests/generic/235 +7 -6
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -47,9 +48,9 @@ _require_user _need_to_be_root # real QA test starts here -rm -f $seq.full +rm -f $seqres.full -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon $SCRATCH_MNT 2>/dev/null
@@ -64,12 +65,12 @@ repquota -u -g $SCRATCH_MNT | grep -v "^root" | _filter_scratch # # We work around it by editing the context out of mtab. Sigh. sed -i "s#^$SCRATCH_DEV\(.*\),context=\"system_u:object_r:nfs_t:s0\"#$SCRATCH_DEV\1#" /etc/mtab -mount -o remount,ro $SCRATCH_DEV 2>&1 | tee -a $seq.full | _filter_scratch -touch $SCRATCH_MNT/failed 2>&1 | tee -a $seq.full | _filter_scratch -mount -o remount,rw $SCRATCH_DEV 2>&1 | tee -a $seq.full | _filter_scratch +mount -o remount,ro $SCRATCH_DEV 2>&1 | tee -a $seqres.full | _filter_scratch +touch $SCRATCH_MNT/failed 2>&1 | tee -a $seqres.full | _filter_scratch +mount -o remount,rw $SCRATCH_DEV 2>&1 | tee -a $seqres.full | _filter_scratch $XFS_IO_PROG -F -c 'pwrite 0 8k' -c 'fsync' \ - $SCRATCH_MNT/testfile >>$seq.full 2>&1 + $SCRATCH_MNT/testfile >>$seqres.full 2>&1 repquota -u -g $SCRATCH_MNT | grep -v "^root" | _filter_scratch umount $SCRATCH_DEV 2>/dev/null
tests/generic/236 +1 -0
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()
tests/generic/237 +2 -1
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -52,7 +53,7 @@ _supported_os Linux [ -x $runas ] || _notrun "$runas executable not found" -rm -f $seq.full +rm -f $seqres.full _setup_testdir
tests/generic/239 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/240 +2 -1
@@ -29,6 +29,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -55,7 +56,7 @@ _require_aiodio aiodio_sparse2 echo "Silence is golden." # real QA test starts here -rm -f $seq.full +rm -f $seqres.full rm -f $TEST_DIR/aiodio_sparse
tests/generic/241 +3 -2
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -47,12 +48,12 @@ _supported_os Linux echo "Silence is golden." # real QA test starts here -rm -f $seq.full +rm -f $seqres.full rm -rf $TEST_DIR/dbench mkdir $TEST_DIR/dbench -dbench -t 60 -D $TEST_DIR/dbench 4 >> $seq.full +dbench -t 60 -D $TEST_DIR/dbench 4 >> $seqres.full status=$? exit
tests/generic/245 +1 -0
@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/246 +1 -0
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/247 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/248 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/249 +4 -3
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -50,11 +51,11 @@ echo "Feel the serenity." SRC=$TEST_DIR/$seq.src DST=$TEST_DIR/$seq.dst -rm -f $seq.full +rm -f $seqres.full -$XFS_IO_PROG -F -f -c "pwrite -S 0xa5a55a5a 0 32768k" -c fsync $SRC >> $seq.full 2>&1 +$XFS_IO_PROG -F -f -c "pwrite -S 0xa5a55a5a 0 32768k" -c fsync $SRC >> $seqres.full 2>&1 [ $? -ne 0 ] && _fail "xfs_io pwrite failed" -$XFS_IO_PROG -F -f -c "sendfile -i $SRC 0 32768k" -c fsync $DST >> $seq.full 2>&1 +$XFS_IO_PROG -F -f -c "sendfile -i $SRC 0 32768k" -c fsync $DST >> $seqres.full 2>&1 [ $? -ne 0 ] && _fail "xfs_io sendfile failed" diff -q $SRC $DST
tests/generic/251 +1 -0
@@ -25,6 +25,7 @@ seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/255 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/256 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/257 +2 -1
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -50,5 +51,5 @@ src/t_dir_offset2 $TEST_DIR/ttt # success, all done echo "*** done" -rm -f $seq.full +rm -f $seqres.full status=0
tests/generic/258 +1 -0
@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/260 +1 -0
@@ -23,6 +23,7 @@ seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/263 +5 -4
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -38,16 +39,16 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 _supported_fs generic _supported_os Linux -rm -f $seq.full +rm -f $seqres.full run_fsx() { - echo fsx $@ | tee -a $seq.full + echo fsx $@ | tee -a $seqres.full args=`echo $@ | sed -e "s/ BSIZE / $bsize /g" -e "s/ PSIZE / $psize /g"` rm -f $TEST_DIR/junk - $here/ltp/fsx $args $TEST_DIR/junk >>$seq.full 2>&1 + $here/ltp/fsx $args $TEST_DIR/junk >>$seqres.full 2>&1 if [ $? -ne 0 ]; then - cat $seq.full + cat $seqres.full exit 1 fi }
tests/generic/269 +4 -3
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -44,7 +45,7 @@ _workout() enospc_time=2 out=$SCRATCH_MNT/fsstress.$$ args=`_scale_fsstress_args -p128 -n999999999 -f setattr=1 $FSSTRESS_AVOID -d $out` - echo "fsstress $args" >> $here/$seq.full + echo "fsstress $args" >> $here/$seqres.full $FSSTRESS_PROG $args > /dev/null 2>&1 & pid=$! echo "Run dd writers in parallel"
@@ -52,7 +53,7 @@ _workout() do # File will be opened with O_TRUNC each time dd if=/dev/zero of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M \ - >> $here/$seq.full 2>&1 + >> $here/$seqres.full 2>&1 sleep $enospc_time done kill $pid
@@ -65,7 +66,7 @@ _supported_os Linux _need_to_be_root _require_scratch -_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seq.full 2>&1 +_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount if ! _workout; then
tests/generic/270 +4 -3
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -47,7 +48,7 @@ _workout() enospc_time=2 out=$SCRATCH_MNT/fsstress.$$ args=`_scale_fsstress_args -p128 -n999999999 -f setattr=1 $FSSTRESS_AVOID -d $out` - echo "fsstress $args" >> $here/$seq.full + echo "fsstress $args" >> $here/$seqres.full # Grant chown capability cp $FSSTRESS_PROG $tmp.fsstress.bin if [ "`whereis setcap`" == "setcap:" ]; then
@@ -64,7 +65,7 @@ _workout() # File will be opened with O_TRUNC each time su $qa_user -c "dd if=/dev/zero \ of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M " \ - >> $here/$seq.full 2>&1 + >> $here/$seqres.full 2>&1 sleep $enospc_time done
@@ -80,7 +81,7 @@ _require_user _need_to_be_root _require_scratch -_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seq.full 2>&1 +_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" chmod 777 $SCRATCH_MNT quotacheck -u -g $SCRATCH_MNT 2>/dev/null
tests/generic/273 +4 -3
@@ -24,6 +24,7 @@ #creator seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -91,7 +92,7 @@ _porter() exit fi - cp -r $SCRATCH_MNT/origin $SCRATCH_MNT/sub_$_suffix >>$seq.full 2>&1 + cp -r $SCRATCH_MNT/origin $SCRATCH_MNT/sub_$_suffix >>$seqres.full 2>&1 if [ $? -ne 0 ] then echo "_porter $_suffix not complete"
@@ -129,10 +130,10 @@ echo "------------------------------" echo "start the workload" echo "------------------------------" -rm -f $seq.full +rm -f $seqres.full _scratch_unmount 2>/dev/null -_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seq.full 2>&1 +_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount _do_workload
tests/generic/274 +21 -20
75 lines not on this page · raw message
tests/generic/275 +14 -13
@@ -25,6 +25,7 @@ #creator seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -50,38 +51,38 @@ echo "------------------------------" echo "write until ENOSPC test" echo "------------------------------" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null -_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seq.full 2>&1 +_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount -dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=256K count=1 >>$seq.full 2>&1 +dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=256K count=1 >>$seqres.full 2>&1 [ $? -ne 0 ] && _fail "Error creating file" # Attempt to completely fill fs -dd if=/dev/zero of=$SCRATCH_MNT/tmp2 bs=1M >>$seq.full 2>&1 +dd if=/dev/zero of=$SCRATCH_MNT/tmp2 bs=1M >>$seqres.full 2>&1 sync -dd if=/dev/zero of=$SCRATCH_MNT/tmp3 bs=4K >>$seq.full 2>&1 +dd if=/dev/zero of=$SCRATCH_MNT/tmp3 bs=4K >>$seqres.full 2>&1 sync # Last effort, use O_SYNC -dd if=/dev/zero of=$SCRATCH_MNT/tmp4 bs=4K oflag=sync >>$seq.full 2>&1 +dd if=/dev/zero of=$SCRATCH_MNT/tmp4 bs=4K oflag=sync >>$seqres.full 2>&1 # Save space usage info to the full file -echo "Pre rm space:" >> $seq.full -df $SCRATCH_MNT >>$seq.full 2>&1 +echo "Pre rm space:" >> $seqres.full +df $SCRATCH_MNT >>$seqres.full 2>&1 # Should leave approx 256k free rm -f $SCRATCH_MNT/tmp1 sync -echo "Post rm space:" >> $seq.full -df $SCRATCH_MNT >>$seq.full 2>&1 +echo "Post rm space:" >> $seqres.full +df $SCRATCH_MNT >>$seqres.full 2>&1 _freespace=`df -k $SCRATCH_MNT | tail -n 1 | awk '{print $4}'` [ $_freespace -gt 1024 ] && _fail "could not sufficiently fill filesystem" # Try a write larger than available space -dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=1M count=1 >>$seq.full 2>&1 -echo "Bytes written until ENOSPC:" >>$seq.full -du $SCRATCH_MNT/tmp1 >>$seq.full +dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=1M count=1 >>$seqres.full 2>&1 +echo "Bytes written until ENOSPC:" >>$seqres.full +du $SCRATCH_MNT/tmp1 >>$seqres.full # And at least some of it should succeed. _filesize=`ls -l $SCRATCH_MNT/tmp1 | awk '{print $5}'`
tests/generic/277 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" status=1 # failure is the default!
tests/generic/280 +3 -2
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -51,10 +52,10 @@ _require_freeze _supported_os Linux _supported_fs generic -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon $SCRATCH_MNT 2>/dev/null
tests/generic/285 +2 -1
@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -48,7 +49,7 @@ _cleanup() eval "rm -f $BASE_TEST_FILE.*" } -$here/src/seek_sanity_test $BASE_TEST_FILE > $seq.full 2>&1 || +$here/src/seek_sanity_test $BASE_TEST_FILE > $seqres.full 2>&1 || _fail "seek sanity check failed!" # success, all done
tests/generic/286 +18 -17
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -61,11 +62,11 @@ test01() write_cmd="$write_cmd -c \"pwrite $offset 1m\"" done - echo "*** test01() create sparse file ***" >>$seq.full - eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seq.full 2>&1 || + echo "*** test01() create sparse file ***" >>$seqres.full + eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seqres.full 2>&1 || _fail "create sparse file failed!" - echo "*** test01() create sparse file done ***" >>$seq.full - echo >>$seq.full + echo "*** test01() create sparse file done ***" >>$seqres.full + echo >>$seqres.full $here/src/seek_copy_test $src $dest
@@ -89,11 +90,11 @@ test02() write_cmd="$write_cmd -c \"falloc $offset 3m\" -c \"pwrite $offset 1m\"" done - echo "*** test02() create sparse file ***" >>$seq.full - eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seq.full 2>&1 || + echo "*** test02() create sparse file ***" >>$seqres.full + eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seqres.full 2>&1 || _fail "create sparse file failed!" - echo "*** test02() create sparse file done ***" >>$seq.full - echo >>$seq.full + echo "*** test02() create sparse file done ***" >>$seqres.full + echo >>$seqres.full $here/src/seek_copy_test $src $dest
@@ -132,11 +133,11 @@ test03() write_cmd="$write_cmd -c \"pwrite $offset 10m\"" done - echo "*** test03() create sparse file ***" >>$seq.full - eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seq.full 2>&1 || + echo "*** test03() create sparse file ***" >>$seqres.full + eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seqres.full 2>&1 || _fail "create sparse file failed!" - echo "*** test03() create sparse file done ***" >>$seq.full - echo >>$seq.full + echo "*** test03() create sparse file done ***" >>$seqres.full + echo >>$seqres.full $here/src/seek_copy_test $src $dest test $(stat --printf "%s" $src) = $(stat --printf "%s" $dest) ||
@@ -174,11 +175,11 @@ test04() write_cmd="$write_cmd -c \"pwrite $offset 2m\"" done - echo "*** test04() create sparse file ***" >>$seq.full - eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seq.full 2>&1 || + echo "*** test04() create sparse file ***" >>$seqres.full + eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seqres.full 2>&1 || _fail "create sparse file failed!" - echo "*** test04() create sparse file done ***" >>$seq.full - echo >>$seq.full + echo "*** test04() create sparse file done ***" >>$seqres.full + echo >>$seqres.full $here/src/seek_copy_test $src $dest test $(stat --printf "%s" $src) = $(stat --printf "%s" $dest) ||
@@ -187,7 +188,7 @@ test04() cmp $src $dest || _fail "TEST04: file bytes check failed" } -rm -f $seq.full +rm -f $seqres.full test01 test02 test03
tests/generic/288 +1 -0
@@ -23,6 +23,7 @@ seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" status=0
tests/generic/294 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/generic/299 +4 -3
@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -114,7 +115,7 @@ _workout() echo "" echo "Run fio with random aio-dio pattern" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio & pid=$! echo "Start fallocate/truncate loop"
@@ -124,7 +125,7 @@ _workout() for ((k=1; k <= NUM_JOBS; k++)) do fallocate -l $FILE_SIZE $SCRATCH_MNT/direct_aio.$k.0 \ - >> $seq.full 2>&1 + >> $seqres.full 2>&1 done for ((k=1; k <= NUM_JOBS; k++)) do
@@ -137,7 +138,7 @@ _workout() wait $pid } -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; then
tests/generic/300 +3 -2
@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -127,13 +128,13 @@ _workout() echo "" echo "Run fio with random aio-dio pattern" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs_sized $FS_SIZE >> $seq.full 2>&1 +_scratch_mkfs_sized $FS_SIZE >> $seqres.full 2>&1 _scratch_mount if ! _workout; then
tests/shared/051 +2 -1
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq here=`pwd` tmp=/tmp/$$
@@ -73,7 +74,7 @@ _supported_os Linux [ -x $runas ] || _notrun "$runas executable not found" -rm -f $seq.full +rm -f $seqres.full _setup_testdir
tests/shared/218 +8 -7
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -59,36 +60,36 @@ rm -f $fragfile # Craft some fragmented files, defrag them, check the result. -echo "zero-length file:" | tee -a $seq.full +echo "zero-length file:" | tee -a $seqres.full touch $fragfile _defrag $fragfile -echo "Sparse file (no blocks):" | tee -a $seq.full +echo "Sparse file (no blocks):" | tee -a $seqres.full xfs_io -F -f -c "truncate 1m" $fragfile _defrag $fragfile -echo "Contiguous file:" | tee -a $seq.full +echo "Contiguous file:" | tee -a $seqres.full dd if=/dev/zero of=$fragfile bs=4k count=4 &>/dev/null _defrag $fragfile -echo "Write backwards sync, but contiguous - should defrag to 1 extent" | tee -a $seq.full +echo "Write backwards sync, but contiguous - should defrag to 1 extent" | tee -a $seqres.full for I in `seq 9 -1 0`; do dd if=/dev/zero of=$fragfile bs=4k count=1 conv=notrunc seek=$I oflag=sync &>/dev/null done _defrag $fragfile -echo "Write backwards sync leaving holes - defrag should do nothing" | tee -a $seq.full +echo "Write backwards sync leaving holes - defrag should do nothing" | tee -a $seqres.full for I in `seq 31 -2 0`; do dd if=/dev/zero of=$fragfile bs=4k count=1 conv=notrunc seek=$I oflag=sync &>/dev/null done _defrag $fragfile -echo "Write forwards sync leaving holes - defrag should do nothing" | tee -a $seq.full +echo "Write forwards sync leaving holes - defrag should do nothing" | tee -a $seqres.full for I in `seq 0 2 31`; do dd if=/dev/zero of=$fragfile bs=4k count=1 conv=notrunc seek=$I oflag=sync &>/dev/null done _defrag $fragfile -rm -f $seq.full +rm -f $seqres.full status=0 exit
tests/shared/243 +12 -11
@@ -42,6 +42,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -85,23 +86,23 @@ _check_ext4_eof_flag() # Ensure that the iflags value was parsed correctly. if [ -z ${iflags} ]; then - echo "iFlags value was not parsed successfully." >> $seq.full + echo "iFlags value was not parsed successfully." >> $seqres.full status=1 exit ${status} fi # Check if EOFBLOCKS_FL is set. if ((${iflags} & 0x400000)); then - echo "EOFBLOCK_FL bit is set." >> $seq.full + echo "EOFBLOCK_FL bit is set." >> $seqres.full bit_set=1 else - echo "EOFBLOCK_FL bit is not set." >> $seq.full + echo "EOFBLOCK_FL bit is not set." >> $seqres.full bit_set=0 fi # Check current bit state to expected value. if [ ${bit_set} -ne ${2} ]; then - echo "Error: Current bit state incorrect." >> $seq.full + echo "Error: Current bit state incorrect." >> $seqres.full status=1 exit ${status} fi
@@ -121,14 +122,14 @@ _supported_os Linux _require_xfs_io_falloc # Real QA test starts here. -rm -f $seq.full +rm -f $seqres.full # Remove any leftover files from last run. rm -f ${TEST_DIR}/test_? # Begin test cases. echo "Test 1: Fallocate 40960 bytes and write 4096 bytes (buffered io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f \ -c 'falloc -k 0 40960' \ -c 'pwrite 0 4096' \
@@ -136,7 +137,7 @@ ${XFS_IO_PROG} -F -f \ _check_ext4_eof_flag test_1 ${BIT_SET} echo "Test 2: Fallocate 40960 bytes and write 4096 bytes (direct io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f -d \ -c 'falloc -k 0 40960' \ -c 'pwrite 0 4096' \
@@ -144,7 +145,7 @@ ${XFS_IO_PROG} -F -f -d \ _check_ext4_eof_flag test_2 ${BIT_SET} echo "Test 3: Fallocate 40960 bytes and write 40960 bytes (buffered io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f \ -c 'falloc -k 0 40960' \ -c 'pwrite 0 40960' \
@@ -152,7 +153,7 @@ ${XFS_IO_PROG} -F -f \ _check_ext4_eof_flag test_3 ${BIT_NOT_SET} echo "Test 4: Fallocate 40960 bytes and write 40960 bytes (direct io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f -d \ -c 'falloc -k 0 40960' \ -c 'pwrite 0 40960' \
@@ -160,7 +161,7 @@ ${XFS_IO_PROG} -F -f -d \ _check_ext4_eof_flag test_4 ${BIT_NOT_SET} echo "Test 5: Fallocate 128k, seek 256k and write 4k block (buffered io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f \ -c 'falloc -k 0 128k' \ -c 'pwrite 256k 4k' \
@@ -168,7 +169,7 @@ ${XFS_IO_PROG} -F -f \ _check_ext4_eof_flag test_5 ${BIT_NOT_SET} echo "Test 6: Fallocate 128k, seek to 256k and write a 4k block (direct io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f -d \ -c 'falloc -k 0 128k' \ -c 'pwrite 256k 4k' \
tests/shared/272 +8 -7
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -51,11 +52,11 @@ _workout() do echo "OP write_opt: $write_opt 4M, \ -chattr_opt: $chattr_opt" >>$seq.full +chattr_opt: $chattr_opt" >>$seqres.full dd if=/dev/zero of=$SCRATCH_MNT/file.$idx \ bs=1M count=4 $write_opt \ - >> $seq.full 2>&1 || exit - chattr $chattr_opt $SCRATCH_MNT/file.$idx >> $seq.full \ + >> $seqres.full 2>&1 || exit + chattr $chattr_opt $SCRATCH_MNT/file.$idx >> $seqres.full \ || exit done done
@@ -69,11 +70,11 @@ chattr_opt: $chattr_opt" >>$seq.full do echo "OP write_opt: $write_opt ENOSPC, \ -chattr_opt: $chattr_opt" >>$seq.full +chattr_opt: $chattr_opt" >>$seqres.full dd if=/dev/zero of=$SCRATCH_MNT/file.$idx \ - bs=1M $write_opt >> $seq.full 2>&1 + bs=1M $write_opt >> $seqres.full 2>&1 chattr $chattr_opt $SCRATCH_MNT/file.$idx \ - >> $seq.full || exit + >> $seqres.full || exit done sync unlink $SCRATCH_MNT/file.$idx
@@ -86,7 +87,7 @@ _supported_os Linux _need_to_be_root _require_scratch -_scratch_mkfs_sized $((64 * 1024 * 1024)) >> $seq.full 2>&1 +_scratch_mkfs_sized $((64 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount if ! _workout; then
tests/shared/289 +7 -6
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -46,9 +47,9 @@ _supported_fs ext2 ext3 ext4 _supported_os Linux _require_scratch -rm -f $seq.full +rm -f $seqres.full -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 # Get the honest truth about block counts straight from metadata on disk TOTAL_BLOCKS=`dumpe2fs -h $SCRATCH_DEV 2>/dev/null \
@@ -86,10 +87,10 @@ _scratch_mount "-o bsddf" BSD_F_BLOCKS=`stat -f $SCRATCH_MNT | awk '/^Blocks/{print $3}'` umount $SCRATCH_MNT -# Echo data to $seq.full for analysis -echo "Overhead is $OVERHEAD blocks out of $TOTAL_BLOCKS ($FREE_BLOCKS free)" >> $seq.full -echo "MINIX free blocks $MINIX_F_BLOCKS" >> $seq.full -echo "BSD free blocks $BSD_F_BLOCKS" >> $seq.full +# Echo data to $seqres.full for analysis +echo "Overhead is $OVERHEAD blocks out of $TOTAL_BLOCKS ($FREE_BLOCKS free)" >> $seqres.full +echo "MINIX free blocks $MINIX_F_BLOCKS" >> $seqres.full +echo "BSD free blocks $BSD_F_BLOCKS" >> $seqres.full # minix should be exactly equal (hence tolerance of 0) _within_tolerance "minix f_blocks" $MINIX_F_BLOCKS $TOTAL_BLOCKS 0 -v
tests/shared/298 +1 -0
@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" status=1 # failure is the default!
tests/shared/305 +8 -7
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -61,7 +62,7 @@ disallow_fail_make_request() start_fail_scratch_dev() { echo "Force SCRATCH_DEV device failure" - echo " echo 1 > /sys/block/$SCRATCH_BDEV/make-it-fail" >> $here/$seq.full + echo " echo 1 > /sys/block/$SCRATCH_BDEV/make-it-fail" >> $here/$seqres.full echo 1 > /sys/block/$SCRATCH_BDEV/make-it-fail }
@@ -69,7 +70,7 @@ start_fail_scratch_dev() stop_fail_scratch_dev() { echo "Make SCRATCH_DEV device operable again" - echo " echo 0 > /sys/block/$SCRATCH_BDEV/make-it-fail" >> $here/$seq.full + echo " echo 0 > /sys/block/$SCRATCH_BDEV/make-it-fail" >> $here/$seqres.full echo 0 > /sys/block/$SCRATCH_BDEV/make-it-fail }
@@ -138,12 +139,12 @@ _workout() echo "" echo "Start fsstress.." echo "" - echo "fsstress $args" >> $here/$seq.full + echo "fsstress $args" >> $here/$seqres.full $FSSTRESS_PROG $args > /dev/null 2>&1 & fs_pid=$! echo "Start fio.." - cat $tmp-$seq.fio >> $seq.full - $FIO_PROG $tmp-$seq.fio >> $here/$seq.full 2>&1 & + cat $tmp-$seq.fio >> $seqres.full + $FIO_PROG $tmp-$seq.fio >> $here/$seqres.full 2>&1 & fio_pid=$! # Let's it work for awhile, and force device failure
@@ -153,7 +154,7 @@ _workout() # that so buffered write(2) may succeed, but any integrity operations # such as (sync, fsync, fdatasync, direct-io) should fail. dd if=/dev/zero of=$SCRATCH_MNT/touch_failed_filesystem count=1 bs=4k conv=fsync \ - >> $here/$seq.full 2>&1 && \ + >> $here/$seqres.full 2>&1 && \ _fail "failed: still able to perform integrity fsync on $SCRATCH_MNT" kill $fs_pid
@@ -175,7 +176,7 @@ _workout() # real QA test starts here -_scratch_mkfs >> $here/$seq.full 2>&1 || _fail "mkfs failed" +_scratch_mkfs >> $here/$seqres.full 2>&1 || _fail "mkfs failed" _scratch_mount || _fail "mount failed" allow_fail_make_request _workout
tests/udf/098 +2 -1
@@ -30,6 +30,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -268,7 +269,7 @@ _check_udf_filesystem $SCRATCH_DEV # optional stuff if your test has verbose output to help resolve problems #echo -#echo "If failure, check $seq.full (this) and $seq.full.ok (reference)" +#echo "If failure, check $seqres.full (this) and $seq.full.ok (reference)" # success, all done status=0
tests/udf/101 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/udf/102 +1 -0
@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/xfs/003 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checks
tests/xfs/004 +9 -8
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -39,8 +40,8 @@ trap "_cleanup" 0 1 2 3 15 _populate_scratch() { - echo "=== mkfs output ===" >>$seq.full - _scratch_mkfs_xfs | tee -a $seq.full | _filter_mkfs 2>$tmp.mkfs + echo "=== mkfs output ===" >>$seqres.full + _scratch_mkfs_xfs | tee -a $seqres.full | _filter_mkfs 2>$tmp.mkfs . $tmp.mkfs _scratch_mount dd if=/dev/zero of=$SCRATCH_MNT/foo count=200 bs=4096 >/dev/null 2>&1 &
@@ -64,7 +65,7 @@ _need_to_be_root _require_scratch _require_no_large_scratch_dev -rm -f $seq.full +rm -f $seqres.full _populate_scratch
@@ -72,16 +73,16 @@ _populate_scratch eval `$DF_PROG $SCRATCH_MNT 2>&1 \ | tail -1 | $AWK_PROG '{ printf "blocks=%u used=%u avail=%u\n", $3, $4, $5 }'` -echo "df gave: blocks=$blocks used=$used avail=$avail" >>$seq.full -echo "blocksize from mkfs is '$dbsize'" >>$seq.full +echo "df gave: blocks=$blocks used=$used avail=$avail" >>$seqres.full +echo "blocksize from mkfs is '$dbsize'" >>$seqres.full xfs_db -r -c "freesp -s" $SCRATCH_DEV >$tmp.xfs_db -echo "xfs_db for $SCRATCH_DEV" >>$seq.full -cat $tmp.xfs_db >>$seq.full +echo "xfs_db for $SCRATCH_DEV" >>$seqres.full +cat $tmp.xfs_db >>$seqres.full eval `$XFS_IO_PROG -x -c resblks $SCRATCH_MNT 2>&1 \ | $AWK_PROG '/available/ { printf "resblks=%u\n", $5 }'` -echo "resblks gave: resblks=$resblks" >>$seq.full +echo "resblks gave: resblks=$resblks" >>$seqres.full # check the 'blocks' field from freesp command is OK # since 2.6.18, df does not report the 4 blocks per AG that cannot
tests/xfs/008 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/xfs/009 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/xfs/012 +1 -0
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
tests/xfs/016 +18 -17
@@ -36,6 +36,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -72,7 +73,7 @@ _init() if _scratch_mkfs_xfs -N -K $force_opts >/dev/null 2>&1; then force_opts="-K $force_opts" fi - echo mkfs_xfs $force_opts $SCRATCH_DEV >>$seq.full + echo mkfs_xfs $force_opts $SCRATCH_DEV >>$seqres.full _scratch_mkfs_xfs $force_opts >$tmp.mkfs0 2>&1 [ $? -ne 0 ] && \ _notrun "Cannot mkfs for this test using MKFS_OPTIONS specified"
@@ -163,8 +164,8 @@ _check_corrupt() { f="c6c6c6c6" echo "*** check for corruption" - echo "expect $f..." >>$seq.full - xfs_db -r -c "fsblock $2" -c "print" $1 | head | tee -a $seq.full | \ + echo "expect $f..." >>$seqres.full + xfs_db -r -c "fsblock $2" -c "print" $1 | head | tee -a $seqres.full | \ grep -q -v "$f $f $f $f $f $f $f $f" && \ _fail "!!! block $2 corrupted!" }
@@ -177,7 +178,7 @@ _check_corrupt() _supported_fs xfs _supported_os Linux -rm -f $seq.full +rm -f $seqres.full # mkfs sizes log_size=2097152
@@ -187,15 +188,15 @@ _require_scratch _init block=`_after_log $SCRATCH_DEV` -echo "fsblock after log = $block" >>$seq.full +echo "fsblock after log = $block" >>$seqres.full _check_corrupt $SCRATCH_DEV $block actual_log_size=`_log_size` -echo "log size = $actual_log_size BB" >>$seq.full +echo "log size = $actual_log_size BB" >>$seqres.full head=`_log_head` -echo "log position = $head" >>$seq.full +echo "log position = $head" >>$seqres.full lsunit=`_log_sunit` -echo "log sunit = $lsunit" >>$seq.full +echo "log sunit = $lsunit" >>$seqres.full # sanity checks [ $actual_log_size -eq $log_size_bb ] || \
@@ -206,36 +207,36 @@ echo "log sunit = $lsunit" >>$seq.full # find how how many blocks per op for 100 ops # ignore the fact that it will also include an unmount record etc... # this should be small overall -echo " lots of traffic for sampling" >>$seq.full +echo " lots of traffic for sampling" >>$seqres.full sample_size_ops=100 _log_traffic $sample_size_ops head1=`_log_head` num_blocks=`expr $head1 - $head` blocks_per_op=`echo "scale=3; $num_blocks / $sample_size_ops" | bc` -echo "blocks_per_op = $blocks_per_op" >>$seq.full +echo "blocks_per_op = $blocks_per_op" >>$seqres.full num_expected_ops=`echo "$log_size_bb / $blocks_per_op" | bc` -echo "num_expected_ops = $num_expected_ops" >>$seq.full +echo "num_expected_ops = $num_expected_ops" >>$seqres.full num_expected_to_go=`echo "$num_expected_ops - $sample_size_ops" | bc` -echo "num_expected_to_go = $num_expected_to_go" >>$seq.full +echo "num_expected_to_go = $num_expected_to_go" >>$seqres.full -echo " lots more traffic" >>$seq.full +echo " lots more traffic" >>$seqres.full _log_traffic $num_expected_to_go head=`_log_head` -echo "log position = $head" >>$seq.full +echo "log position = $head" >>$seqres.full # e.g. 3891 near_end_min=`echo "0.95 * $log_size_bb" | bc | sed 's/\..*//'` -echo "near_end_min = $near_end_min" >>$seq.full +echo "near_end_min = $near_end_min" >>$seqres.full [ $head -gt $near_end_min -a $head -lt $log_size_bb ] || \ _fail "!!! unexpected near end log position $head" for c in `seq 0 20` do - echo " little traffic" >>$seq.full + echo " little traffic" >>$seqres.full _log_traffic 2 head=`_log_head` - echo "log position = $head" >>$seq.full + echo "log position = $head" >>$seqres.full _check_corrupt $SCRATCH_DEV $block done
tests/xfs/017 +16 -15
@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`
@@ -52,13 +53,13 @@ _require_no_large_scratch_dev echo "*** init FS" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs_xfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs_xfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" echo "*** test"
@@ -67,21 +68,21 @@ for l in 0 1 2 3 4 do echo " *** test $l" FSSTRESS_ARGS=`_scale_fsstress_args -d $SCRATCH_MNT -n 1000 $FSSTRESS_AVOID` - $FSSTRESS_PROG $FSSTRESS_ARGS >>$seq.full + $FSSTRESS_PROG $FSSTRESS_ARGS >>$seqres.full _scratch_mount -o remount,ro \ || _fail "remount ro failed" - echo "" >>$seq.full - echo "*** xfs_logprint ***" >>$seq.full - echo "" >>$seq.full - _scratch_xfs_logprint -tb | tee -a $seq.full \ + echo "" >>$seqres.full + echo "*** xfs_logprint ***" >>$seqres.full + echo "" >>$seqres.full + _scratch_xfs_logprint -tb | tee -a $seqres.full \ | head | grep -q "<CLEAN>" || _fail "DIRTY LOG"
Lines of this file are not shown. View the raw message.
tests/xfs/049 +27 -26
53 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 6 lines
1.7.10.4 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Part of the diff is not shown here. View the raw message.
Re: [PATCH 18/25] xfstests: convert tests to use new results directory
Looks OK.
Quoted 8,353 lines · Dave Chinner
From: Dave Chinner <[email protected]>
Essentially the change is simply this. Converting:
... >> $seq.????
to:
.... >> $RESULT_DIR/$seq.????
so that output files are directed to the defined output directory.
sed to the rescue:
$ sed -i -e '/^seq=.*$/a seqres=$RESULT_DIR/$seq' -e 's/seq.full/seqres.full/' tests/*/*will do most of the work automatically.
Signed-off-by Dave Chinner <[email protected]>--- new | 3 ++- tests/btrfs/254 | 1 + tests/btrfs/264 | 1 + tests/btrfs/265 | 1 + tests/btrfs/276 | 27 ++++++++++++++------------- tests/btrfs/284 | 1 + tests/btrfs/313 | 9 +++++---- tests/ext4/271 | 3 ++- tests/ext4/301 | 5 +++-- tests/ext4/302 | 5 +++-- tests/ext4/303 | 5 +++-- tests/ext4/304 | 5 +++-- tests/generic/001 | 9 +++++---- tests/generic/002 | 1 + tests/generic/005 | 1 + tests/generic/006 | 1 + tests/generic/007 | 1 + tests/generic/010 | 5 +++-- tests/generic/011 | 7 ++++--- tests/generic/013 | 21 +++++++++++---------- tests/generic/014 | 1 + tests/generic/015 | 9 +++++---- tests/generic/020 | 9 +++++---- tests/generic/053 | 1 + tests/generic/062 | 15 ++++++++------- tests/generic/068 | 29 +++++++++++++++-------------- tests/generic/069 | 13 +++++++------ tests/generic/070 | 3 ++- tests/generic/074 | 11 ++++++----- tests/generic/075 | 7 ++++--- tests/generic/076 | 15 ++++++++------- tests/generic/077 | 21 +++++++++++---------- tests/generic/079 | 1 + tests/generic/083 | 15 ++++++++------- tests/generic/088 | 3 ++- tests/generic/089 | 7 ++++--- tests/generic/091 | 9 +++++---- tests/generic/093 | 3 ++- tests/generic/097 | 3 ++- tests/generic/099 | 3 ++- tests/generic/100 | 11 ++++++----- tests/generic/105 | 11 ++++++----- tests/generic/112 | 7 ++++--- tests/generic/113 | 1 + tests/generic/117 | 15 ++++++++------- tests/generic/120 | 1 + tests/generic/123 | 1 + tests/generic/124 | 1 + tests/generic/125 | 1 + tests/generic/126 | 1 + tests/generic/127 | 1 + tests/generic/128 | 1 + tests/generic/129 | 1 + tests/generic/130 | 1 + tests/generic/131 | 1 + tests/generic/132 | 1 + tests/generic/133 | 1 + tests/generic/135 | 1 + tests/generic/141 | 1 + tests/generic/169 | 15 ++++++++------- tests/generic/184 | 1 + tests/generic/192 | 9 +++++---- tests/generic/193 | 3 ++- tests/generic/198 | 3 ++- tests/generic/204 | 5 +++-- tests/generic/207 | 1 + tests/generic/208 | 1 + tests/generic/209 | 1 + tests/generic/210 | 1 + tests/generic/211 | 1 + tests/generic/212 | 1 + tests/generic/213 | 3 ++- tests/generic/214 | 3 ++- tests/generic/215 | 3 ++- tests/generic/219 | 15 ++++++++------- tests/generic/221 | 1 + tests/generic/223 | 13 +++++++------ tests/generic/224 | 7 ++++--- tests/generic/225 | 3 ++- tests/generic/226 | 9 +++++---- tests/generic/228 | 3 ++- tests/generic/230 | 41 +++++++++++++++++++++-------------------- tests/generic/231 | 9 +++++---- tests/generic/232 | 11 ++++++----- tests/generic/233 | 11 ++++++----- tests/generic/234 | 7 ++++--- tests/generic/235 | 13 +++++++------ tests/generic/236 | 1 + tests/generic/237 | 3 ++- tests/generic/239 | 1 + tests/generic/240 | 3 ++- tests/generic/241 | 5 +++-- tests/generic/245 | 1 + tests/generic/246 | 1 + tests/generic/247 | 1 + tests/generic/248 | 1 + tests/generic/249 | 7 ++++--- tests/generic/251 | 1 + tests/generic/255 | 1 + tests/generic/256 | 1 + tests/generic/257 | 3 ++- tests/generic/258 | 1 + tests/generic/260 | 1 + tests/generic/263 | 9 +++++---- tests/generic/269 | 7 ++++--- tests/generic/270 | 7 ++++--- tests/generic/273 | 7 ++++--- tests/generic/274 | 41 +++++++++++++++++++++-------------------- tests/generic/275 | 27 ++++++++++++++------------- tests/generic/277 | 1 + tests/generic/280 | 5 +++-- tests/generic/285 | 3 ++- tests/generic/286 | 35 ++++++++++++++++++----------------- tests/generic/288 | 1 + tests/generic/294 | 1 + tests/generic/299 | 7 ++++--- tests/generic/300 | 5 +++-- tests/shared/051 | 3 ++- tests/shared/218 | 15 ++++++++------- tests/shared/243 | 23 ++++++++++++----------- tests/shared/272 | 15 ++++++++------- tests/shared/289 | 13 +++++++------ tests/shared/298 | 1 + tests/shared/305 | 15 ++++++++------- tests/udf/098 | 3 ++- tests/udf/101 | 1 + tests/udf/102 | 1 + tests/xfs/003 | 1 + tests/xfs/004 | 17 +++++++++-------- tests/xfs/008 | 1 + tests/xfs/009 | 1 + tests/xfs/012 | 1 + tests/xfs/016 | 35 ++++++++++++++++++----------------- tests/xfs/017 | 31 ++++++++++++++++--------------- tests/xfs/018 | 3 ++- tests/xfs/019 | 3 ++- tests/xfs/021 | 5 +++-- tests/xfs/022 | 1 + tests/xfs/023 | 1 + tests/xfs/024 | 5 +++-- tests/xfs/025 | 1 + tests/xfs/026 | 1 + tests/xfs/027 | 1 + tests/xfs/028 | 3 ++- tests/xfs/029 | 1 + tests/xfs/030 | 1 + tests/xfs/031 | 13 +++++++------ tests/xfs/032 | 15 ++++++++------- tests/xfs/033 | 1 + tests/xfs/034 | 13 +++++++------ tests/xfs/035 | 1 + tests/xfs/036 | 1 + tests/xfs/037 | 1 + tests/xfs/038 | 1 + tests/xfs/039 | 1 + tests/xfs/040 | 7 ++++--- tests/xfs/041 | 5 +++-- tests/xfs/042 | 7 ++++--- tests/xfs/043 | 1 + tests/xfs/044 | 1 + tests/xfs/045 | 1 + tests/xfs/046 | 1 + tests/xfs/047 | 3 ++- tests/xfs/048 | 1 + tests/xfs/049 | 53 +++++++++++++++++++++++++++-------------------------- tests/xfs/050 | 31 ++++++++++++++++--------------- tests/xfs/052 | 19 ++++++++++--------- tests/xfs/054 | 7 ++++--- tests/xfs/055 | 1 + tests/xfs/056 | 1 + tests/xfs/057 | 1 + tests/xfs/058 | 1 + tests/xfs/059 | 1 + tests/xfs/060 | 1 + tests/xfs/061 | 1 + tests/xfs/063 | 1 + tests/xfs/064 | 9 +++++---- tests/xfs/065 | 1 + tests/xfs/066 | 1 + tests/xfs/067 | 9 +++++---- tests/xfs/071 | 17 +++++++++-------- tests/xfs/072 | 3 ++- tests/xfs/073 | 1 + tests/xfs/078 | 1 + tests/xfs/080 | 1 + tests/xfs/081 | 3 ++- tests/xfs/082 | 3 ++- tests/xfs/084 | 1 + tests/xfs/085 | 11 ++++++----- tests/xfs/086 | 13 +++++++------ tests/xfs/087 | 17 +++++++++-------- tests/xfs/090 | 1 + tests/xfs/092 | 1 + tests/xfs/094 | 1 + tests/xfs/095 | 1 + tests/xfs/096 | 5 +++-- tests/xfs/103 | 1 + tests/xfs/104 | 17 +++++++++-------- tests/xfs/106 | 5 +++-- tests/xfs/107 | 5 +++-- tests/xfs/108 | 15 ++++++++------- tests/xfs/109 | 3 ++- tests/xfs/110 | 1 + tests/xfs/111 | 1 + tests/xfs/114 | 31 ++++++++++++++++--------------- tests/xfs/115 | 11 ++++++----- tests/xfs/116 | 1 + tests/xfs/118 | 3 ++- tests/xfs/119 | 1 + tests/xfs/121 | 17 +++++++++-------- tests/xfs/122 | 7 ++++--- tests/xfs/134 | 5 +++-- tests/xfs/136 | 1 + tests/xfs/137 | 1 + tests/xfs/138 | 1 + tests/xfs/139 | 1 + tests/xfs/140 | 1 + tests/xfs/142 | 1 + tests/xfs/143 | 1 + tests/xfs/144 | 1 + tests/xfs/145 | 1 + tests/xfs/146 | 1 + tests/xfs/147 | 1 + tests/xfs/148 | 1 + tests/xfs/149 | 13 +++++++------ tests/xfs/150 | 1 + tests/xfs/151 | 3 ++- tests/xfs/152 | 1 + tests/xfs/153 | 1 + tests/xfs/154 | 1 + tests/xfs/155 | 1 + tests/xfs/156 | 5 +++-- tests/xfs/157 | 1 + tests/xfs/158 | 1 + tests/xfs/159 | 1 + tests/xfs/160 | 1 + tests/xfs/161 | 1 + tests/xfs/162 | 1 + tests/xfs/163 | 1 + tests/xfs/164 | 5 +++-- tests/xfs/165 | 7 ++++--- tests/xfs/166 | 5 +++-- tests/xfs/167 | 5 +++-- tests/xfs/168 | 5 +++-- tests/xfs/170 | 3 ++- tests/xfs/171 | 3 ++- tests/xfs/172 | 3 ++- tests/xfs/173 | 3 ++- tests/xfs/174 | 3 ++- tests/xfs/175 | 3 ++- tests/xfs/176 | 3 ++- tests/xfs/177 | 1 + tests/xfs/178 | 1 + tests/xfs/179 | 1 + tests/xfs/180 | 1 + tests/xfs/181 | 17 +++++++++-------- tests/xfs/182 | 1 + tests/xfs/183 | 1 + tests/xfs/185 | 1 + tests/xfs/186 | 7 ++++--- tests/xfs/187 | 5 +++-- tests/xfs/188 | 3 ++- tests/xfs/189 | 3 ++- tests/xfs/190 | 13 +++++++------ tests/xfs/191 | 5 +++-- tests/xfs/194 | 19 ++++++++++--------- tests/xfs/195 | 3 ++- tests/xfs/196 | 3 ++- tests/xfs/197 | 3 ++- tests/xfs/199 | 3 ++- tests/xfs/200 | 3 ++- tests/xfs/201 | 3 ++- tests/xfs/202 | 3 ++- tests/xfs/203 | 3 ++- tests/xfs/205 | 7 ++++--- tests/xfs/206 | 3 ++- tests/xfs/216 | 1 + tests/xfs/217 | 1 + tests/xfs/220 | 1 + tests/xfs/222 | 3 ++- tests/xfs/227 | 25 +++++++++++++------------ tests/xfs/229 | 1 + tests/xfs/238 | 1 + tests/xfs/242 | 1 + tests/xfs/244 | 17 +++++++++-------- tests/xfs/250 | 1 + tests/xfs/252 | 1 + tests/xfs/253 | 1 + tests/xfs/259 | 1 + tests/xfs/261 | 1 + tests/xfs/262 | 1 + tests/xfs/266 | 1 + tests/xfs/267 | 1 + tests/xfs/268 | 1 + tests/xfs/278 | 25 +++++++++++++------------ tests/xfs/279 | 11 ++++++----- tests/xfs/281 | 1 + tests/xfs/282 | 5 +++-- tests/xfs/283 | 5 +++-- tests/xfs/287 | 19 ++++++++++--------- tests/xfs/290 | 1 + tests/xfs/291 | 19 ++++++++++--------- tests/xfs/292 | 1 + tests/xfs/293 | 1 + tests/xfs/295 | 7 ++++--- tests/xfs/296 | 3 ++- tests/xfs/297 | 15 ++++++++------- 307 files changed, 1018 insertions(+), 711 deletions(-)new +2
-1@@ -106,6 +106,7 @@ cat <<End-of-File >$id # # creator seq=\`basename \$0\` +seqres=$RESULT_DIR/$seq echo "QA output created by \$seq" here=\`pwd\`@@ -134,7 +135,7 @@ exit # optional stuff if your test has verbose output to help resolve problems #echo -#echo "If failure, check \$seq.full (this) and \$seq.full.ok (reference)" +#echo "If failure, check \$seqres.full (this) and \$seqres.full.ok (reference)" # success, all done status=0tests/btrfs/254 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/btrfs/264 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/btrfs/265 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/btrfs/276 +14
-13@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -54,7 +55,7 @@ _require_nobigloopfs _require_btrfs inspect-internal _require_command "/usr/sbin/filefrag" -rm -f $seq.full +rm -f $seqres.full FILEFRAG_FILTER='if (/, blocksize (\d+)/) {$blocksize = $1; next} ($ext, '\ '$logical, $physical, $expected, $length, $flags) = (/^\s*(\d+)\s+(\d+)'\@@ -68,18 +69,18 @@ FILEFRAG_FILTER='if (/, blocksize (\d+)/) {$blocksize = $1; next} ($ext, '\ # sample output: "1234#10#5678" -> physical 1234, length 10, logical 5678 _filter_extents() { - tee -a $seq.full | $PERL_PROG -ne "$FILEFRAG_FILTER" + tee -a $seqres.full | $PERL_PROG -ne "$FILEFRAG_FILTER" } _check_file_extents() { cmd="filefrag -v $1" - echo "# $cmd" >> $seq.full + echo "# $cmd" >> $seqres.full out=`$cmd | _filter_extents` if [ -z "$out" ]; then return 1 fi - echo "after filter: $out" >> $seq.full + echo "after filter: $out" >> $seqres.full echo $out return 0 }@@ -95,9 +96,9 @@ _btrfs_inspect_addr() expect_inum=$4 file=$5 cmd="$BTRFS_UTIL_PROG inspect-internal logical-resolve -P $addr $mp" - echo "# $cmd" >> $seq.full + echo "# $cmd" >> $seqres.full out=`$cmd` - echo "$out" >> $seq.full + echo "$out" >> $seqres.full grep_expr="inode $expect_inum offset $expect_addr root" echo "$out" | grep "^$grep_expr 5$" >/dev/null ret=$?@@ -128,9 +129,9 @@ _btrfs_inspect_inum() snap_name=$3 mp="$SCRATCH_MNT/$snap_name" cmd="$BTRFS_UTIL_PROG inspect-internal inode-resolve $inum $mp" - echo "# $cmd" >> $seq.full + echo "# $cmd" >> $seqres.full out=`$cmd` - echo "$out" >> $seq.full + echo "$out" >> $seqres.full grep_expr="^$file$" cnt=`echo "$out" | grep "$grep_expr" | wc -l` if [ $cnt -ge "1" ]; then@@ -151,9 +152,9 @@ _btrfs_inspect_check() logical=$4 snap_name=$5 cmd="stat -c %i $file" - echo "# $cmd" >> $seq.full + echo "# $cmd" >> $seqres.full inum=`$cmd` - echo "$inum" >> $seq.full + echo "$inum" >> $seqres.full _btrfs_inspect_addr $SCRATCH_MNT $physical $logical $inum $file ret=$? if [ $ret -eq 0 ]; then@@ -171,9 +172,9 @@ workout() snap_name=$4 umount $SCRATCH_DEV >/dev/null 2>&1 - echo "*** mkfs -dsize=$fsz" >>$seq.full - echo "" >>$seq.full - _scratch_mkfs_sized $fsz >>$seq.full 2>&1 \ + echo "*** mkfs -dsize=$fsz" >>$seqres.full + echo "" >>$seqres.full + _scratch_mkfs_sized $fsz >>$seqres.full 2>&1 \ || _fail "size=$fsz mkfs failed" run_check _scratch_mount # -w ensures that the only ops are ones which cause write I/Otests/btrfs/284 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here="`pwd`" tmp=/tmp/$$tests/btrfs/313 +5
-4@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "== QA output created by $seq" here=`pwd`@@ -48,16 +49,16 @@ _supported_os Linux _require_scratch _require_scratch_dev_pool -rm -f $seq.full +rm -f $seqres.full FIRST_POOL_DEV=`echo $SCRATCH_DEV_POOL | awk '{print $1}'` LAST_POOL_DEV=`echo $SCRATCH_DEV_POOL | awk '{print $NF}'` TOTAL_DEVS=`echo $SCRATCH_DEV $SCRATCH_DEV_POOL | wc -w` LABEL=TestLabel.$seq -echo "Scratch $SCRATCH_DEV First $FIRST_POOL_DEV last $LAST_POOL_DEV Total $TOTAL_DEVS" > $seq.full +echo "Scratch $SCRATCH_DEV First $FIRST_POOL_DEV last $LAST_POOL_DEV Total $TOTAL_DEVS" > $seqres.full -_scratch_mkfs $SCRATCH_DEV_POOL >> $seq.full 2>&1 || _fail "mkfs failed" +_scratch_mkfs $SCRATCH_DEV_POOL >> $seqres.full 2>&1 || _fail "mkfs failed" # These have to be done unmounted...? echo "== Set filesystem label to $LABEL"@@ -72,7 +73,7 @@ echo "== Show filesystem by label" $BTRFS_UTIL_PROG filesystem show $LABEL | _filter_btrfs_filesystem_show $TOTAL_DEVS UUID=`$BTRFS_UTIL_PROG filesystem show $LABEL | grep uuid: | awk '{print $NF}'` -echo "UUID $UUID" >> $seq.full +echo "UUID $UUID" >> $seqres.full echo "== Show filesystem by UUID" $BTRFS_UTIL_PROG filesystem show $UUID | _filter_btrfs_filesystem_show $TOTAL_DEVS $UUIDtests/ext4/271 +2
-1@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -40,7 +41,7 @@ _supported_os Linux _need_to_be_root _require_scratch -_scratch_mkfs_sized $((128 * 1024 * 1024)) >> $seq.full 2>&1 +_scratch_mkfs_sized $((128 * 1024 * 1024)) >> $seqres.full 2>&1 # -onoload and EXT4_SYNC_FL on file is important becase result in # metadata sync writes inside ext4_handle_dirty_metadata()tests/ext4/301 +3
-2@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -101,13 +102,13 @@ _workout() echo "" echo " Start defragment activity" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; thentests/ext4/302 +3
-2@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -117,13 +118,13 @@ _workout() echo "" echo " Start defragment activity" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; thentests/ext4/303 +3
-2@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -127,13 +128,13 @@ _workout() echo "" echo " Start defragment activity" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; thentests/ext4/304 +3
-2@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -104,13 +105,13 @@ _workout() echo "" echo " Start defragment activity" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; thentests/generic/001 +5
-4@@ -32,6 +32,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checks@@ -189,7 +190,7 @@ _mark_iteration() # _chain() { - $AWK_PROG -v full_file=$here/$seq.full -v verify=$verify <$tmp.config ' + $AWK_PROG -v full_file=$here/$seqres.full -v verify=$verify <$tmp.config ' BEGIN { nfile = 0 } /^\#/ { next } { file[nfile] = $1@@ -237,7 +238,7 @@ END { srand('$iter') } } }' \ - | tee -a $here/$seq.full | sh + | tee -a $here/$seqres.full | sh } _check()@@ -291,7 +292,7 @@ _cleanup() fi } -rm -f $here/$seq.full +rm -f $here/$seqres.full status=0 _cleanup status=1@@ -305,7 +306,7 @@ _setup for iter in 1 2 3 4 5 do echo -n "iter $iter chain ... " - echo "iter $iter" >> $here/$seq.full + echo "iter $iter" >> $here/$seqres.full _chain _check if [ -f $tmp.bad ]tests/generic/002 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checkstests/generic/005 +1
-0@@ -33,6 +33,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/006 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/007 +1
-0@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/010 +3
-2@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -59,11 +60,11 @@ _supported_os IRIX Linux _setup_testdir -rm -f $seq.full +rm -f $seqres.full cd $testdir -$here/src/dbtest -l 5 -n 1000 2>&1 | tee -a $here/$seq.full | _filter_dbtest +$here/src/dbtest -l 5 -n 1000 2>&1 | tee -a $here/$seqres.full | _filter_dbtest # success, all done exittests/generic/011 +4
-3@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" out=""@@ -51,7 +52,7 @@ _setup_testdir out=$testdir/dirstress.$$ -rm -f $seq.full +rm -f $seqres.full _test() {@@ -63,8 +64,8 @@ _test() if ! $here/src/dirstress -d $out -f $count $args >$tmp.out 2>&1 then echo " dirstress failed" - echo "*** TEST $test -d $out -f $count $args" >>$seq.full - cat $tmp.out >>$seq.full + echo "*** TEST $test -d $out -f $count $args" >>$seqres.full + cat $tmp.out >>$seqres.full status=1 fi }tests/generic/013 +11
-10@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -73,15 +74,15 @@ _do_test() echo "fsstress.$_n : $_param" echo "-----------------------------------------------" # -m limits number of users/groups so check doesn't fail (malloc) later - dbgoutfile=$seq.full + dbgoutfile=$seqres.full if ! $FSSTRESS_PROG $_param $FSSTRESS_AVOID -v -m 8 -n $_count -d $out >>$dbgoutfile 2>&1 then - echo " fsstress (count=$_count) returned $? - see $seq.full" - echo "--------------------------------------" >>$here/$seq.full - echo "$_n - output from fsstress:" >>$here/$seq.full - echo "--------------------------------------" >>$here/$seq.full - echo "<NOT LOGGED>" >>$here/$seq.full - #cat $tmp.out >>$here/$seq.full + echo " fsstress (count=$_count) returned $? - see $seqres.full" + echo "--------------------------------------" >>$here/$seqres.full + echo "$_n - output from fsstress:" >>$here/$seqres.full + echo "--------------------------------------" >>$here/$seqres.full + echo "<NOT LOGGED>" >>$here/$seqres.full + #cat $tmp.out >>$here/$seqres.full status=1 fi@@ -95,7 +96,7 @@ _supported_os IRIX Linux _setup_testdir -rm -f $here/$seq.full +rm -f $here/$seqres.full echo "brevity is wit..." count=1000@@ -115,8 +116,8 @@ _do_test 2 "-p $procs -r" $count _do_test 3 "-p 4 -z -f rmdir=10 -f link=10 -f creat=10 -f mkdir=10 -f rename=30 -f stat=30 -f unlink=30 -f truncate=20" $count -# if all ok by here then probably don't need $seq.full -rm -f $seq.full +# if all ok by here then probably don't need $seqres.full +rm -f $seqres.full exittests/generic/014 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/015 +5
-4@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -56,7 +57,7 @@ _scratch_mkfs_sized `expr 50 \* 1024 \* 1024` >/dev/null 2>&1 \ || _fail "mkfs failed" _scratch_mount || _fail "mount failed" out=$SCRATCH_MNT/fillup.$$ -rm -f $seq.full +rm -f $seqres.full free0=`_free` if [ -z "$free0" ]@@ -64,7 +65,7 @@ then echo " *** failed to get free space (0)" exit 1 fi -echo "free space at start $free0" >> $seq.full +echo "free space at start $free0" >> $seqres.full echo "fill disk:" # well, filesystem really - not disk@@ -78,7 +79,7 @@ then echo " *** failed to get free space (1)" exit 1 fi -echo "free space after fill $free1" >> $seq.full +echo "free space after fill $free1" >> $seqres.full if [ ! -e $out ] then@@ -116,7 +117,7 @@ then echo " *** failed to get free space (2)" exit 1 fi -echo "free space after delete $free2" >> $seq.full +echo "free space after delete $free2" >> $seqres.full echo -n " !!! " _within_tolerance "free space" $free2 $free0 1% -vtests/generic/020 +5
-4@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -85,7 +86,7 @@ _require_attrs _setup_testdir -rm -f $seq.full +rm -f $seqres.full testfile=$testdir/attribute_$$@@ -120,7 +121,7 @@ v=0 while [ $v -lt $MAX_ATTRS ] do - echo -n "value_$v" | attr -s "attribute_$v" $testfile >>$seq.full + echo -n "value_$v" | attr -s "attribute_$v" $testfile >>$seqres.full if [ $? -ne 0 ] then echo "!!! failed to add \"attribute_$v\""@@ -133,7 +134,7 @@ done echo "*** check" # don't print it all out... getfattr --absolute-names $testfile \ - | tee -a $seq.full \ + | tee -a $seqres.full \ | $AWK_PROG ' /^#/ { next } /^[ ]*$/ { next }@@ -145,7 +146,7 @@ echo "*** remove lots of attributes" v=0 while [ $v -lt $MAX_ATTRS ] do - if ! $ATTR_PROG -r "attribute_$v" $testfile >>$seq.full + if ! $ATTR_PROG -r "attribute_$v" $testfile >>$seqres.full then echo "!!! failed to remove \"attribute_$v\"" exit 1tests/generic/053 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/062 +8
-7@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -75,7 +76,7 @@ _supported_os Linux _require_scratch _require_attrs -rm -f $tmp.backup1 $tmp.backup2 $seq.full +rm -f $tmp.backup1 $tmp.backup2 $seqres.full # real QA test starts here _scratch_mkfs > /dev/null 2>&1 || _fail "mkfs failed"@@ -181,8 +182,8 @@ _backup() { # NB: no filtering of scratch here... (need to restore too) $GETFATTR_PROG --absolute-names -dh -R -m '.' $SCRATCH_MNT >$1 - echo BACKUP $1 >>$seq.full - cat $1 >> $seq.full + echo BACKUP $1 >>$seqres.full + cat $1 >> $seqres.full [ ! -s $1 ] && echo "warning: $1 (backup file) is empty" }@@ -191,8 +192,8 @@ _backup $tmp.backup1 echo "*** clear out the scratch device" rm -fr $SCRATCH_MNT/* -echo "AFTER REMOVE" >>$seq.full -getfattr -L -R -m '.' $SCRATCH_MNT >>$seq.full +echo "AFTER REMOVE" >>$seqres.full +getfattr -L -R -m '.' $SCRATCH_MNT >>$seqres.full echo "*** reset test bed with no extended attributes" _create_test_bed@@ -202,8 +203,8 @@ echo "*** restore everything" setfattr -h --restore=$tmp.backup1 _backup $tmp.backup2 -echo "AFTER RESTORE" >>$seq.full -getfattr -L -R -m '.' $SCRATCH_MNT >>$seq.full +echo "AFTER RESTORE" >>$seqres.full +getfattr -L -R -m '.' $SCRATCH_MNT >>$seqres.full echo "*** compare before and after backups" diff $tmp.backup1 $tmp.backup2tests/generic/068 +15
-14@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -57,13 +58,13 @@ _require_freeze echo "*** init FS" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" touch $tmp.running@@ -106,23 +107,23 @@ touch $tmp.running i=0 let ITERATIONS=$ITERATIONS-1 -echo | tee -a $seq.full +echo | tee -a $seqres.full while [ $i -le $ITERATIONS ] do - echo "*** iteration: $i" | tee -a $seq.full - echo "*** freezing \$SCRATCH_MNT" | tee -a $seq.full - xfs_freeze -f "$SCRATCH_MNT" | tee -a $seq.full + echo "*** iteration: $i" | tee -a $seqres.full + echo "*** freezing \$SCRATCH_MNT" | tee -a $seqres.full + xfs_freeze -f "$SCRATCH_MNT" | tee -a $seqres.full [ $? != 0 ] && echo xfs_freeze -f "$SCRATCH_MNT" failed | \ - tee -a $seq.full + tee -a $seqres.full sleep 2 - echo "*** thawing \$SCRATCH_MNT" | tee -a $seq.full - xfs_freeze -u "$SCRATCH_MNT" | tee -a $seq.full + echo "*** thawing \$SCRATCH_MNT" | tee -a $seqres.full + xfs_freeze -u "$SCRATCH_MNT" | tee -a $seqres.full [ $? != 0 ] && echo xfs_freeze -u "$SCRATCH_MNT" failed | \ - tee -a $seq.full + tee -a $seqres.full sleep 2 - echo | tee -a $seq.full + echo | tee -a $seqres.full let i=$i+1 donetests/generic/069 +7
-6@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -39,7 +40,7 @@ _supported_fs generic _supported_os IRIX Linux _require_scratch -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1@@ -60,19 +61,19 @@ done cd $here wait -ls -lh $SCRATCH_MNT >> $seq.full -echo "*** PIDs file" >> $seq.full -cat $SCRATCH_MNT/pids >> $seq.full +ls -lh $SCRATCH_MNT >> $seqres.full +echo "*** PIDs file" >> $seqres.full +cat $SCRATCH_MNT/pids >> $seqres.full cat $SCRATCH_MNT/pids | while read pid size do echo "*** checking file with $size integers" - echo checking pid=$pid size=$size >> $seq.full + echo checking pid=$pid size=$size >> $seqres.full $here/src/append_reader $SCRATCH_MNT/testfile.$pid status=$? [ $status -ne 0 ] && \ echo "maybe corrupt O_APPEND to $SCRATCH_MOUNT/testfile.$pid!" - echo status: $status >> $seq.full + echo status: $status >> $seqres.full done # success, all donetests/generic/070 +2
-1@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -61,7 +62,7 @@ FSSTRESS_ARGS=`_scale_fsstress_args \ -f attr_set=100 \ -f attr_remove=100 \ -p 1 -n 10000 -S c` -$FSSTRESS_PROG $FSSTRESS_ARGS >$seq.full 2>&1 +$FSSTRESS_PROG $FSSTRESS_ARGS >$seqres.full 2>&1 status=$? exittests/generic/074 +6
-5@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -64,9 +65,9 @@ _do_test() echo "-----------------------------------------------" echo "fstest.$_n : $_filter_param" echo "-----------------------------------------------" - if ! $here/src/fstest $_param -p $out >>$seq.full + if ! $here/src/fstest $_param -p $out >>$seqres.full then - echo " fstest ($_param) returned $? - see $seq.full" + echo " fstest ($_param) returned $? - see $seqres.full" status=1 exit fi@@ -107,7 +108,7 @@ _process_args() # real QA test starts here -rm -f $here/$seq.full +rm -f $here/$seqres.full _supported_fs generic _supported_os IRIX Linux@@ -153,8 +154,8 @@ fi # can override the params here _process_args "$@" -echo "Params are for $param_type" >>$seq.full -echo "Params: n = $numchildren l = $numloops f = $numfiles" >>$seq.full +echo "Params are for $param_type" >>$seqres.full +echo "Params: n = $numchildren l = $numloops f = $numfiles" >>$seqres.full _setup_testdirtests/generic/075 +4
-3@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -133,12 +134,12 @@ numops2=10000 # can override the params here _process_args "$@" -echo "Params are for $param_type" >>$seq.full -echo "Params: n = $numops1 N = $numops2 l = $filelen" >>$seq.full +echo "Params are for $param_type" >>$seqres.full +echo "Params: n = $numops1 N = $numops2 l = $filelen" >>$seqres.full _setup_testdir -rm -f $here/$seq.full +rm -f $here/$seqres.full echo "brevity is wit..." _check_test_fstests/generic/076 +8
-7@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -58,13 +59,13 @@ _require_scratch echo "*** init fs" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" echo "*** test concurrent block/fs access"@@ -73,8 +74,8 @@ cat $SCRATCH_DEV >/dev/null & pid=$! FSSTRESS_ARGS=`_scale_fsstress_args -p 2 -n 2000 $FSSTRESS_AVOID` -echo "run fsstress with args: $FSSTRESS_ARGS" >>$seq.full -$FSSTRESS_PROG $FSSTRESS_ARGS >>$seq.full +echo "run fsstress with args: $FSSTRESS_ARGS" >>$seqres.full +$FSSTRESS_PROG $FSSTRESS_ARGS >>$seqres.full _lets_get_pidst _check_scratch_fstests/generic/077 +11
-10@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -56,29 +57,29 @@ _require_user echo "*** create filesystem" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full SIZE=`expr 50 \* 1024 \* 1024` -_scratch_mkfs_sized $SIZE >>$seq.full 2>&1 \ +_scratch_mkfs_sized $SIZE >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" mkdir $SCRATCH_MNT/subdir echo "*** set default ACL" setfacl -R -dm u:fsgqa:rwx,g::rwx,o::r-x,m::rwx $SCRATCH_MNT/subdir -echo "*** populate filesystem, pass #1" | tee -a $seq.full -cp -rf $filler $SCRATCH_MNT/subdir >$seq.full 2>&1 +echo "*** populate filesystem, pass #1" | tee -a $seqres.full +cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1 -echo "*** populate filesystem, pass #2" | tee -a $seq.full -cp -rf $filler $SCRATCH_MNT/subdir >$seq.full 2>&1 +echo "*** populate filesystem, pass #2" | tee -a $seqres.full +cp -rf $filler $SCRATCH_MNT/subdir >$seqres.full 2>&1 _check_scratch_fs echo "*** all done" -rm -f $seq.full +rm -f $seqres.full status=0 exittests/generic/079 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/083 +8
-7@@ -33,6 +33,7 @@ seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -58,7 +59,7 @@ _supported_os IRIX Linux _require_scratch _require_no_large_scratch_dev -rm -f $seq.full +rm -f $seqres.full workout() {@@ -68,22 +69,22 @@ workout() nops=$4 umount $SCRATCH_DEV >/dev/null 2>&1 - echo "*** mkfs -dsize=$fsz,agcount=$ags" >>$seq.full - echo "" >>$seq.full + echo "*** mkfs -dsize=$fsz,agcount=$ags" >>$seqres.full + echo "" >>$seqres.full if [ $FSTYP = xfs ] then - _scratch_mkfs_xfs -dsize=$fsz,agcount=$ags >>$seq.full 2>&1 \ + _scratch_mkfs_xfs -dsize=$fsz,agcount=$ags >>$seqres.full 2>&1 \ || _fail "size=$fsz,agcount=$ags mkfs failed" else - _scratch_mkfs_sized $fsz >>$seq.full 2>&1 \ + _scratch_mkfs_sized $fsz >>$seqres.full 2>&1 \ || _fail "size=$fsz mkfs failed" fi - _scratch_mount >>$seq.full 2>&1 \ + _scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" # -w ensures that the only ops are ones which cause write I/O FSSTRESS_ARGS=`_scale_fsstress_args -d $SCRATCH_MNT -w -p $procs -n $nops $FSSTRESS_AVOID` - $FSSTRESS_PROG $FSSTRESS_ARGS >>$seq.full + $FSSTRESS_PROG $FSSTRESS_ARGS >>$seqres.full _check_scratch_fs }tests/generic/088 +2
-1@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -48,7 +49,7 @@ _supported_fs generic _supported_os IRIX Linux path=$TEST_DIR/t_access -src/t_access_root $path | tee $seq.full | _filter +src/t_access_root $path | tee $seqres.full | _filter # success, all done status=0tests/generic/089 +4
-3@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" mtab_output=$TEST_DIR/mtab_output@@ -51,7 +52,7 @@ addentries() _supported_fs generic _supported_os Linux -rm -f $seq.full +rm -f $seqres.full [ "X$TEST_DIR" = "X" ] && exit 1 cd $TEST_DIR rm -fr test@@ -72,8 +73,8 @@ mtab() echo directory entries: ls | grep mtab - echo directory entries >> $here/$seq.full - ls -li >> $here/$seq.full + echo directory entries >> $here/$seqres.full + ls -li >> $here/$seqres.full } # directory with only a few entriestests/generic/091 +5
-4@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -38,16 +39,16 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 _supported_fs generic _supported_os Linux -rm -f $seq.full +rm -f $seqres.full run_fsx() { - echo fsx $@ | tee -a $seq.full + echo fsx $@ | tee -a $seqres.full args=`echo $@ | sed -e "s/ BSIZE / $bsize /g" -e "s/ PSIZE / $psize /g"` rm -f $TEST_DIR/junk - $here/ltp/fsx $args $TEST_DIR/junk >>$seq.full 2>&1 + $here/ltp/fsx $args $TEST_DIR/junk >>$seqres.full 2>&1 if [ $? -ne 0 ]; then - cat $seq.full + cat $seqres.full exit 1 fi }tests/generic/093 +2
-1@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq here=`pwd` tmp=/tmp/$$@@ -62,7 +63,7 @@ _require_attrs [ -x $runas ] || _notrun "$runas executable not found" -rm -f $seq.full +rm -f $seqres.full _setup_testdir _need_to_be_roottests/generic/097 +2
-1@@ -28,6 +28,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -250,7 +251,7 @@ _check_scratch_fs # optional stuff if your test has verbose output to help resolve problems #echo -#echo "If failure, check $seq.full (this) and $seq.full.ok (reference)" +#echo "If failure, check $seqres.full (this) and $seq.full.ok (reference)" # success, all done status=0tests/generic/099 +2
-1@@ -24,6 +24,7 @@ # modifier seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -72,7 +73,7 @@ _cleanup() # -> this would be done by simultaneously matching on ACEs # -> interesting if it allows user to specify ACEs in any order # -rm -f $seq.full +rm -f $seqres.full #------------------------------------------------------- # real QA test starts heretests/generic/100 +6
-5@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -54,17 +55,17 @@ DEPTH=5 POPULATED_DIR=$TEMP_DIR/populate_root SIZE=10 -rm -f $seq.full +rm -f $seqres.full # Clean up if file exist from prevous run rm -rf $POPULATED_DIR rm -f $TEMP_DIR/$TAR_FILE # Create the new directory structure -_populate_fs -n $NDIRS -f $NFILES -d $DEPTH -r $POPULATED_DIR -s $SIZE >>$here/$seq.full 2>&1 +_populate_fs -n $NDIRS -f $NFILES -d $DEPTH -r $POPULATED_DIR -s $SIZE >>$here/$seqres.full 2>&1 # Then tar up the directory structure -tar -cvf $TEMP_DIR/$TAR_FILE $POPULATED_DIR >>$here/$seq.full 2>&1 +tar -cvf $TEMP_DIR/$TAR_FILE $POPULATED_DIR >>$here/$seqres.full 2>&1 # create f/s _require_scratch@@ -72,12 +73,12 @@ _setup_testdir # untar on f/s cd $testdir -tar -xRvf $TEMP_DIR/$TAR_FILE >>$here/$seq.full 2>&1 +tar -xRvf $TEMP_DIR/$TAR_FILE >>$here/$seqres.full 2>&1 cd $here # use diff -qr to compare -ls -R -l ${testdir}${POPULATED_DIR} >>$here/$seq.full 2>&1 +ls -R -l ${testdir}${POPULATED_DIR} >>$here/$seqres.full 2>&1 diff -qr $POPULATED_DIR ${testdir}${POPULATED_DIR} cd /tests/generic/105 +6
-5@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -49,7 +50,7 @@ _supported_os IRIX Linux # real QA test starts here -rm -f $seq.full +rm -f $seqres.full _require_scratch _require_acls@@ -57,11 +58,11 @@ _require_acls _acl_setup_ids umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" cd $SCRATCH_MNTtests/generic/112 +4
-3@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -134,12 +135,12 @@ numops2=10000 # can override the params here _process_args "$@" -echo "Params are for $param_type" >>$seq.full -echo "Params: n = $numops1 N = $numops2 l = $filelen" >>$seq.full +echo "Params are for $param_type" >>$seqres.full +echo "Params: n = $numops1 N = $numops2 l = $filelen" >>$seqres.full _setup_testdir -rm -f $here/$seq.full +rm -f $here/$seqres.full echo "brevity is wit..." _check_test_fstests/generic/113 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/117 +8
-7@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -82,13 +83,13 @@ _setup_testdir _require_scratch _require_attrs -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" mkdir -p $SCRATCH_MNT/fsstress@@ -97,10 +98,10 @@ echo echo Running fsstress in serial: i=0 while [ $i -lt $ITERATIONS ]; do - echo fsstress iteration: $i | tee -a $seq.full + echo fsstress iteration: $i | tee -a $seqres.full $FSSTRESS_PROG \ -d $SCRATCH_MNT/fsstress \ - $fss_ops -S c >>$seq.full 2>&1 + $fss_ops -S c >>$seqres.full 2>&1 let i=$i+1 donetests/generic/120 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/123 +1
-0@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/124 +1
-0@@ -27,6 +27,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/125 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/126 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/127 +1
-0@@ -27,6 +27,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/128 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/129 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/130 +1
-0@@ -32,6 +32,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/131 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/132 +1
-0@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/133 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/135 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/141 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/169 +8
-7@@ -23,11 +23,12 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd` tmp=/tmp/$$ -rm -f $seq.full +rm -f $seqres.full status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15@@ -56,10 +57,10 @@ _supported_os Linux _require_scratch -_scratch_mkfs >>$seq.full 2>&1 \ +_scratch_mkfs >>$seqres.full 2>&1 \ || _fail "mkfs scratch failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed: $MOUNT_OPTIONS" echo "# creating new file for io"@@ -73,11 +74,11 @@ xfs_io -F -a -c "pwrite 0 5k" -c "fsync" \ | _show_wrote_and_stat_only echo "# unmounting scratch" -umount $SCRATCH_MNT>>$seq.full 2>&1 \ +umount $SCRATCH_MNT>>$seqres.full 2>&1 \ || _fail "unmount failed" echo "# mounting scratch" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed: $MOUNT_OPTIONS" echo "# stating file to confirm correct size"@@ -90,11 +91,11 @@ xfs_io -F -f -c "pwrite 0 5" -c s -c "pwrite 5 5" \ | _show_wrote_and_stat_only echo "# unmounting scratch" -umount $SCRATCH_MNT>>$seq.full 2>&1 \ +umount $SCRATCH_MNT>>$seqres.full 2>&1 \ || _fail "unmount failed" echo "# mounting scratch" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed: $MOUNT_OPTIONS" echo "# stating file to confirm correct size"tests/generic/184 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq - silence is golden" here=`pwd`tests/generic/192 +5
-4@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -53,20 +54,20 @@ delay=40 testfile=$TEST_DIR/testfile rm -f $testfile -rm -f $seq.full +rm -f $seqres.full echo test >$testfile -time1=`_access_time $testfile | tee -a $seq.full` +time1=`_access_time $testfile | tee -a $seqres.full` echo "sleep for $delay" sleep $delay # sleep to allow time to move on for access cat $testfile -time2=`_access_time $testfile | tee -a $seq.full` +time2=`_access_time $testfile | tee -a $seqres.full` cd / umount $TEST_DIR _test_mount -time3=`_access_time $testfile | tee -a $here/$seq.full` +time3=`_access_time $testfile | tee -a $here/$seqres.full` delta1=`expr $time2 - $time1` delta2=`expr $time3 - $time1`tests/generic/193 +2
-1@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -247,5 +248,5 @@ _cleanup_files # success, all done echo "*** done" -rm -f $seq.full +rm -f $seqres.full status=0tests/generic/198 +2
-1@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -47,7 +48,7 @@ _require_aiodio aiodio_sparse2 echo "Silence is golden." # real QA test starts here -rm -f $seq.full +rm -f $seqres.full rm -f "$TEST_DIR/aiodio_sparse*" $AIO_TEST "$TEST_DIR/aiodio_sparse"tests/generic/204 +3
-2@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -44,7 +45,7 @@ _scratch_mount # fix the reserve block pool to a known size so that the enospc calculations # work out correctly. -_scratch_resvblks 1024 > $seq.full 2>&1 +_scratch_resvblks 1024 > $seqres.full 2>&1 for i in `seq 1 22500`; do echo -n > $SCRATCH_MNT/$i@@ -53,5 +54,5 @@ done # success, all done echo "*** done" -rm -f $seq.full +rm -f $seqres.full status=0tests/generic/207 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/208 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/209 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/210 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/211 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/212 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/213 +2
-1@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()@@ -51,7 +52,7 @@ _supported_os Linux [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found" -rm -f $seq.full +rm -f $seqres.full _require_xfs_io_falloctests/generic/214 +2
-1@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()@@ -49,7 +50,7 @@ _supported_os Linux [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found" -rm -f $seq.full +rm -f $seqres.full rm -f $TEST_DIR/ouch* _require_xfs_io_falloctests/generic/215 +2
-1@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()@@ -79,5 +80,5 @@ fi # success, all done echo "*** done" -rm -f $seq.full +rm -f $seqres.full status=0tests/generic/219 +8
-7@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -78,17 +79,17 @@ check_usage() test_accounting() { echo "### some controlled buffered, direct and mmapd IO (type=$type)" - echo "--- initiating parallel IO..." >>$seq.full + echo "--- initiating parallel IO..." >>$seqres.full # Small ios here because ext3 will account for indirect blocks too ... # 48k will fit w/o indirect for 4k blocks (default blocksize) $XFS_IO_PROG -F -c 'pwrite 0 48k' -c 'fsync' \ - $SCRATCH_MNT/buffer >>$seq.full 2>&1 & + $SCRATCH_MNT/buffer >>$seqres.full 2>&1 & $XFS_IO_PROG -F -c 'pwrite 0 48k' -d \ - $SCRATCH_MNT/direct >>$seq.full 2>&1 & + $SCRATCH_MNT/direct >>$seqres.full 2>&1 & $XFS_IO_PROG -F -c 't 48k' -c 'mm -rw 0 48k' -c 'mw 0 48k' -c 'ms -s' \ - $SCRATCH_MNT/mmap >>$seq.full 2>&1 & + $SCRATCH_MNT/mmap >>$seqres.full 2>&1 & wait - echo "--- completed parallel IO ($type)" >>$seq.full + echo "--- completed parallel IO ($type)" >>$seqres.full for file in $SCRATCH_MNT/{buffer,direct,mmap}; do $here/src/lstat64 $file | head -2 | _filter_scratch@@ -103,10 +104,10 @@ test_accounting() } # real QA test starts here -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon $SCRATCH_MNT 2>/dev/nulltests/generic/221 +1
-0@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/223 +7
-6@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -47,7 +48,7 @@ _supported_os Linux _require_scratch _require_xfs_io_falloc -rm -f $seq.full +rm -f $seqres.full BLOCKSIZE=4096@@ -57,7 +58,7 @@ for SUNIT_K in 8 16 32 64 128; do echo "=== mkfs with su $SUNIT_BLOCKS blocks x 4 ===" export MKFS_OPTIONS="" - _scratch_mkfs_geom $SUNIT_BYTES 4 $BLOCKSIZE >> $seq.full 2>&1 + _scratch_mkfs_geom $SUNIT_BYTES 4 $BLOCKSIZE >> $seqres.full 2>&1 _scratch_mount for SIZE_MULT in 1 2 8 64 256; do@@ -67,10 +68,10 @@ for SUNIT_K in 8 16 32 64 128; do for FILE in 1 2 3 4; do xfs_io -F -f -c "falloc 0 $SIZE" \ $SCRATCH_MNT/file-$FILE-$SIZE-falloc \ - >> $seq.full 2>&1 + >> $seqres.full 2>&1 xfs_io -F -f -c "pwrite 0 $SIZE" \ $SCRATCH_MNT/file-$FILE-$SIZE-write \ - >> $seq.full 2>&1 + >> $seqres.full 2>&1 src/t_stripealign $SCRATCH_MNT/file-$FILE-$SIZE-falloc \ $SUNIT_BLOCKS | _filter_scratch src/t_stripealign $SCRATCH_MNT/file-$FILE-$SIZE-write \@@ -80,7 +81,7 @@ for SUNIT_K in 8 16 32 64 128; do echo "=== Testing size 1g falloc on ${SUNIT_K}k stripe ===" xfs_io -F -f -c "falloc 0 1g" \ - $SCRATCH_MNT/file-1g-falloc >> $seq.full 2>&1 + $SCRATCH_MNT/file-1g-falloc >> $seqres.full 2>&1 src/t_stripealign $SCRATCH_MNT/file-1g-falloc $SUNIT_BLOCKS \ | _filter_scratch@@ -88,7 +89,7 @@ for SUNIT_K in 8 16 32 64 128; do echo "=== Testing size 1073745920 falloc on ${SUNIT_K}k stripe ===" xfs_io -F -f -c "falloc 0 1073745920" \ - $SCRATCH_MNT/file-1073745920-falloc >> $seq.full 2>&1 + $SCRATCH_MNT/file-1073745920-falloc >> $seqres.full 2>&1 src/t_stripealign $SCRATCH_MNT/file-1073745920-falloc \ $SUNIT_BLOCKS | _filter_scratchtests/generic/224 +4
-3@@ -28,6 +28,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -53,12 +54,12 @@ _supported_os Linux _require_scratch # make a 1GB filesystem -_scratch_mkfs_sized `expr 1024 \* 1024 \* 1024` > $seq.full 2>&1 -_scratch_mount >> $seq.full 2>&1 +_scratch_mkfs_sized `expr 1024 \* 1024 \* 1024` > $seqres.full 2>&1 +_scratch_mount >> $seqres.full 2>&1 # set the reserved block pool to almost empty for XFS if [ "$FSTYP" = "xfs" ]; then - xfs_io -x -c "resblks 4" $SCRATCH_MNT >> $seq.full 2>&1 + xfs_io -x -c "resblks 4" $SCRATCH_MNT >> $seqres.full 2>&1 fi FILES=1000tests/generic/225 +2
-1@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -48,7 +49,7 @@ _require_scratch _scratch_mkfs > /dev/null 2>&1 _scratch_mount > /dev/null 2>&1 -rm -f $seq.full +rm -f $seqres.full fiemapfile=$SCRATCH_MNT/$seq.fiemap fiemaplog=$SCRATCH_MNT/$seq.logtests/generic/226 +5
-4@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -38,11 +39,11 @@ _supported_os Linux IRIX _require_scratch # real QA test starts here -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null echo "--> mkfs 256m filesystem" -_scratch_mkfs_sized `expr 256 \* 1024 \* 1024` >> $seq.full 2>&1 +_scratch_mkfs_sized `expr 256 \* 1024 \* 1024` >> $seqres.full 2>&1 _scratch_mount loops=16@@ -54,7 +55,7 @@ echo "--> $loops buffered 64m writes in a loop" for I in `seq 1 $loops`; do echo -n "$I " xfs_io -F -f \ - -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seq.full + -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seqres.full rm -f $SCRATCH_MNT/test done@@ -66,7 +67,7 @@ echo "--> $loops direct 64m writes in a loop" for I in `seq 1 $loops`; do echo -n "$I " xfs_io -F -f -d \ - -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seq.full + -c "pwrite ${buffer} 0 64m" $SCRATCH_MNT/test >> $seqres.full rm -f $SCRATCH_MNT/test donetests/generic/228 +2
-1@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()@@ -49,7 +50,7 @@ _supported_os Linux [ -n "$XFS_IO_PROG" ] || _notrun "xfs_io executable not found" -rm -f $seq.full +rm -f $seqres.full # Sanity check to see if fallocate works _require_xfs_io_falloctests/generic/230 +21
-20@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -58,49 +59,49 @@ test_files() test_enforcement() { echo "### some buffered IO (type=$type)" - echo "--- initiating IO..." >>$seq.full + echo "--- initiating IO..." >>$seqres.full # Firstly fit below block soft limit echo "Write 900k..." su $qa_user -c "$XFS_IO_PROG -F -c 'pwrite 0 900k' -c fsync \ - $SCRATCH_MNT/file1" 2>&1 >>$seq.full | tee -a $seq.full - repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seq.full 2>&1 + $SCRATCH_MNT/file1" 2>&1 >>$seqres.full | tee -a $seq.full + repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1 # Secondly overcome block soft limit echo "Rewrite 1001k..." su $qa_user -c "$XFS_IO_PROG -F -c 'pwrite 0 1001k' -c fsync \ - $SCRATCH_MNT/file1" 2>&1 >>$seq.full | tee -a $seq.full - repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seq.full 2>&1 + $SCRATCH_MNT/file1" 2>&1 >>$seqres.full | tee -a $seq.full + repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1 # Now try to overcome block hardlimit echo "Write 1000k..." su $qa_user -c "$XFS_IO_PROG -F -c 'pwrite 0 1000k' -c fsync \ - $SCRATCH_MNT/file2" 2>&1 >>$seq.full | tee -a $seq.full - repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seq.full 2>&1 + $SCRATCH_MNT/file2" 2>&1 >>$seqres.full | tee -a $seq.full + repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1 # Now sleep for grace time and check that softlimit got enforced sleep $((grace+1)) echo "Write 4096..." su $qa_user -c "$XFS_IO_PROG -F -c 'truncate 0' -c 'pwrite 0 4096' \ - $SCRATCH_MNT/file2" 2>&1 >>$seq.full | tee -a $seq.full - repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seq.full 2>&1 + $SCRATCH_MNT/file2" 2>&1 >>$seqres.full | tee -a $seq.full + repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1 # And now the softlimit test for inodes # First reset space limits so that we don't have problems with # space reservations on XFS setquota -$type $qa_user 0 0 3 5 $SCRATCH_MNT echo "Touch 3+4" su $qa_user -c "touch $SCRATCH_MNT/file3 $SCRATCH_MNT/file4" \ - 2>&1 >>$seq.full | _filter_scratch | tee -a $seq.full - repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seq.full 2>&1 + 2>&1 >>$seqres.full | _filter_scratch | tee -a $seq.full + repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1 # Try to exceed inode hardlimit echo "Touch 5+6" su $qa_user -c "touch $SCRATCH_MNT/file5 $SCRATCH_MNT/file6" \ - 2>&1 >>$seq.full | _filter_scratch | tee -a $seq.full - repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seq.full 2>&1 + 2>&1 >>$seqres.full | _filter_scratch | tee -a $seq.full + repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1 # Wait and check grace time enforcement - rm -f $SCRATCH_MNT/file5 >>$seq.full 2>&1 + rm -f $SCRATCH_MNT/file5 >>$seqres.full 2>&1 sleep $((grace+1)) echo "Touch 5" - su $qa_user -c "touch $SCRATCH_MNT/file5" 2>&1 >>$seq.full | - _filter_scratch | tee -a $seq.full - repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seq.full 2>&1 - echo "--- completed IO ($type)" >>$seq.full + su $qa_user -c "touch $SCRATCH_MNT/file5" 2>&1 >>$seqres.full | + _filter_scratch | tee -a $seqres.full + repquota -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1 + echo "--- completed IO ($type)" >>$seqres.full } cleanup_files()@@ -109,11 +110,11 @@ cleanup_files() } # real QA test starts here -rm -f $seq.full +rm -f $seqres.full grace=2 -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon $SCRATCH_MNT 2>/dev/nulltests/generic/231 +5
-4@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -45,19 +46,19 @@ _fsx() echo "=== FSX Standard Mode, Memory Mapping, $tasks Tasks ===" for (( i = 1; i <= $tasks; i++ )); do SEED=$RANDOM - echo "ltp/fsx $FSX_ARGS -S $SEED $SCRATCH_MNT/fsx_file$i" >>$seq.full + echo "ltp/fsx $FSX_ARGS -S $SEED $SCRATCH_MNT/fsx_file$i" >>$seqres.full su $qa_user -c "ltp/fsx $FSX_ARGS -S $SEED \ $SCRATCH_MNT/fsx_file$i" >$tmp.output$i 2>&1 & done for (( i = 1; i <= $tasks; i++ )); do if ! wait %$i; then - cat $tmp.output$i | tee -a $seq.full + cat $tmp.output$i | tee -a $seqres.full wait return 1 fi $XFS_IO_PROG -F -c 'fsync' $SCRATCH_MNT/fsx_file$i - cat $tmp.output$i | tee -a $seq.full + cat $tmp.output$i | tee -a $seqres.full done return 0 }@@ -70,7 +71,7 @@ _require_quota _require_user _need_to_be_root -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" chmod 777 $SCRATCH_MNT quotacheck -u -g $SCRATCH_MNT 2>/dev/nulltests/generic/232 +6
-5@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -38,7 +39,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 _filter_num() { - tee -a $here/$seq.full |\ + tee -a $here/$seqres.full |\ sed -e 's/[0-9][0-9]* inodes/I inodes/g' \ -e 's/[0-9][0-9]* paths/P paths/g' \ -e 's/seed = [0-9][0-9]*/seed = S/'@@ -54,11 +55,11 @@ _fsstress() count=2000 args=`_scale_fsstress_args -d $out -n $count -p 7` - echo "fsstress $args" >> tee -a $here/$seq.full - if ! $FSSTRESS_PROG $args | tee -a $here/$seq.full | _filter_num + echo "fsstress $args" >> tee -a $here/$seqres.full + if ! $FSSTRESS_PROG $args | tee -a $here/$seqres.full | _filter_num then echo " fsstress $args returned $?" - cat $tmp.out | tee -a $here/$seq.full + cat $tmp.out | tee -a $here/$seqres.full status=1 fi }@@ -70,7 +71,7 @@ _require_scratch _require_quota _need_to_be_root -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" chmod 777 $SCRATCH_MNT quotacheck -u -g $SCRATCH_MNT 2>/dev/nulltests/generic/233 +6
-5@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -42,7 +43,7 @@ FSX_ARGS="-q -l $FSX_FILE_SIZE -o 65536 -S 191110531 -N 100000" _filter_num() { - tee -a $here/$seq.full |\ + tee -a $here/$seqres.full |\ sed -e 's/[0-9][0-9]* inodes/I inodes/g' \ -e 's/[0-9][0-9]* paths/P paths/g' \ -e 's/seed = [0-9][0-9]*/seed = S/'@@ -61,11 +62,11 @@ _fsstress() -f rename=10 -f fsync=2 -f write=15 -f dwrite=15 \ -n $count -d $out -p 7` - echo "fsstress $args" >> tee -a $here/$seq.full - if ! su $qa_user -c "$FSSTRESS_PROG $args" | tee -a $here/$seq.full | _filter_num + echo "fsstress $args" >> tee -a $here/$seqres.full + if ! su $qa_user -c "$FSSTRESS_PROG $args" | tee -a $here/$seqres.full | _filter_num then echo " fsstress $args returned $?" - cat $tmp.out | tee -a $here/$seq.full + cat $tmp.out | tee -a $here/$seqres.full status=1 fi }@@ -78,7 +79,7 @@ _require_quota _require_user _need_to_be_root -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" chmod 777 $SCRATCH_MNT quotacheck -u -g $SCRATCH_MNT 2>/dev/nulltests/generic/234 +4
-3@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -46,7 +47,7 @@ test_setting() idmod=200000 seed=$RANDOM RANDOM=$seed - echo "Starting test with procs=$procs, idmod=$idmod, and seed=$seed" >>$seq.full + echo "Starting test with procs=$procs, idmod=$idmod, and seed=$seed" >>$seqres.full for (( i = 0; i < $procs; i++ )); do ( SETUCOUNT=1; SETGCOUNT=1; SETUIDS[0]=0; SETGIDS[0]=0@@ -93,9 +94,9 @@ _require_quota _need_to_be_root # real QA test starts here -rm -f $seq.full +rm -f $seqres.full -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon -u -g $SCRATCH_MNT 2>/dev/nulltests/generic/235 +7
-6@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -47,9 +48,9 @@ _require_user _need_to_be_root # real QA test starts here -rm -f $seq.full +rm -f $seqres.full -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon $SCRATCH_MNT 2>/dev/null@@ -64,12 +65,12 @@ repquota -u -g $SCRATCH_MNT | grep -v "^root" | _filter_scratch # # We work around it by editing the context out of mtab. Sigh. sed -i "s#^$SCRATCH_DEV\(.*\),context=\"system_u:object_r:nfs_t:s0\"#$SCRATCH_DEV\1#" /etc/mtab -mount -o remount,ro $SCRATCH_DEV 2>&1 | tee -a $seq.full | _filter_scratch -touch $SCRATCH_MNT/failed 2>&1 | tee -a $seq.full | _filter_scratch -mount -o remount,rw $SCRATCH_DEV 2>&1 | tee -a $seq.full | _filter_scratch +mount -o remount,ro $SCRATCH_DEV 2>&1 | tee -a $seqres.full | _filter_scratch +touch $SCRATCH_MNT/failed 2>&1 | tee -a $seqres.full | _filter_scratch +mount -o remount,rw $SCRATCH_DEV 2>&1 | tee -a $seqres.full | _filter_scratch $XFS_IO_PROG -F -c 'pwrite 0 8k' -c 'fsync' \ - $SCRATCH_MNT/testfile >>$seq.full 2>&1 + $SCRATCH_MNT/testfile >>$seqres.full 2>&1 repquota -u -g $SCRATCH_MNT | grep -v "^root" | _filter_scratch umount $SCRATCH_DEV 2>/dev/nulltests/generic/236 +1
-0@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" _cleanup()tests/generic/237 +2
-1@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -52,7 +53,7 @@ _supported_os Linux [ -x $runas ] || _notrun "$runas executable not found" -rm -f $seq.full +rm -f $seqres.full _setup_testdirtests/generic/239 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/240 +2
-1@@ -29,6 +29,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -55,7 +56,7 @@ _require_aiodio aiodio_sparse2 echo "Silence is golden." # real QA test starts here -rm -f $seq.full +rm -f $seqres.full rm -f $TEST_DIR/aiodio_sparsetests/generic/241 +3
-2@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -47,12 +48,12 @@ _supported_os Linux echo "Silence is golden." # real QA test starts here -rm -f $seq.full +rm -f $seqres.full rm -rf $TEST_DIR/dbench mkdir $TEST_DIR/dbench -dbench -t 60 -D $TEST_DIR/dbench 4 >> $seq.full +dbench -t 60 -D $TEST_DIR/dbench 4 >> $seqres.full status=$? exittests/generic/245 +1
-0@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/246 +1
-0@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/247 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/248 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/249 +4
-3@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -50,11 +51,11 @@ echo "Feel the serenity." SRC=$TEST_DIR/$seq.src DST=$TEST_DIR/$seq.dst -rm -f $seq.full +rm -f $seqres.full -$XFS_IO_PROG -F -f -c "pwrite -S 0xa5a55a5a 0 32768k" -c fsync $SRC >> $seq.full 2>&1 +$XFS_IO_PROG -F -f -c "pwrite -S 0xa5a55a5a 0 32768k" -c fsync $SRC >> $seqres.full 2>&1 [ $? -ne 0 ] && _fail "xfs_io pwrite failed" -$XFS_IO_PROG -F -f -c "sendfile -i $SRC 0 32768k" -c fsync $DST >> $seq.full 2>&1 +$XFS_IO_PROG -F -f -c "sendfile -i $SRC 0 32768k" -c fsync $DST >> $seqres.full 2>&1 [ $? -ne 0 ] && _fail "xfs_io sendfile failed" diff -q $SRC $DSTtests/generic/251 +1
-0@@ -25,6 +25,7 @@ seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/255 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/256 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/257 +2
-1@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -50,5 +51,5 @@ src/t_dir_offset2 $TEST_DIR/ttt # success, all done echo "*** done" -rm -f $seq.full +rm -f $seqres.full status=0tests/generic/258 +1
-0@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/260 +1
-0@@ -23,6 +23,7 @@ seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/263 +5
-4@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -38,16 +39,16 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 _supported_fs generic _supported_os Linux -rm -f $seq.full +rm -f $seqres.full run_fsx() { - echo fsx $@ | tee -a $seq.full + echo fsx $@ | tee -a $seqres.full args=`echo $@ | sed -e "s/ BSIZE / $bsize /g" -e "s/ PSIZE / $psize /g"` rm -f $TEST_DIR/junk - $here/ltp/fsx $args $TEST_DIR/junk >>$seq.full 2>&1 + $here/ltp/fsx $args $TEST_DIR/junk >>$seqres.full 2>&1 if [ $? -ne 0 ]; then - cat $seq.full + cat $seqres.full exit 1 fi }tests/generic/269 +4
-3@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -44,7 +45,7 @@ _workout() enospc_time=2 out=$SCRATCH_MNT/fsstress.$$ args=`_scale_fsstress_args -p128 -n999999999 -f setattr=1 $FSSTRESS_AVOID -d $out` - echo "fsstress $args" >> $here/$seq.full + echo "fsstress $args" >> $here/$seqres.full $FSSTRESS_PROG $args > /dev/null 2>&1 & pid=$! echo "Run dd writers in parallel"@@ -52,7 +53,7 @@ _workout() do # File will be opened with O_TRUNC each time dd if=/dev/zero of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M \ - >> $here/$seq.full 2>&1 + >> $here/$seqres.full 2>&1 sleep $enospc_time done kill $pid@@ -65,7 +66,7 @@ _supported_os Linux _need_to_be_root _require_scratch -_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seq.full 2>&1 +_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount if ! _workout; thentests/generic/270 +4
-3@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -47,7 +48,7 @@ _workout() enospc_time=2 out=$SCRATCH_MNT/fsstress.$$ args=`_scale_fsstress_args -p128 -n999999999 -f setattr=1 $FSSTRESS_AVOID -d $out` - echo "fsstress $args" >> $here/$seq.full + echo "fsstress $args" >> $here/$seqres.full # Grant chown capability cp $FSSTRESS_PROG $tmp.fsstress.bin if [ "`whereis setcap`" == "setcap:" ]; then@@ -64,7 +65,7 @@ _workout() # File will be opened with O_TRUNC each time su $qa_user -c "dd if=/dev/zero \ of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M " \ - >> $here/$seq.full 2>&1 + >> $here/$seqres.full 2>&1 sleep $enospc_time done@@ -80,7 +81,7 @@ _require_user _need_to_be_root _require_scratch -_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seq.full 2>&1 +_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" chmod 777 $SCRATCH_MNT quotacheck -u -g $SCRATCH_MNT 2>/dev/nulltests/generic/273 +4
-3@@ -24,6 +24,7 @@ #creator seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -91,7 +92,7 @@ _porter() exit fi - cp -r $SCRATCH_MNT/origin $SCRATCH_MNT/sub_$_suffix >>$seq.full 2>&1 + cp -r $SCRATCH_MNT/origin $SCRATCH_MNT/sub_$_suffix >>$seqres.full 2>&1 if [ $? -ne 0 ] then echo "_porter $_suffix not complete"@@ -129,10 +130,10 @@ echo "------------------------------" echo "start the workload" echo "------------------------------" -rm -f $seq.full +rm -f $seqres.full _scratch_unmount 2>/dev/null -_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seq.full 2>&1 +_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount _do_workloadtests/generic/274 +21
-20@@ -26,6 +26,7 @@ #creator seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -53,48 +54,48 @@ echo "------------------------------" echo "preallocation test" echo "------------------------------" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null -_scratch_mkfs_sized $((1 * 1024 * 1024 * 1024)) >>$seq.full 2>&1 +_scratch_mkfs_sized $((1 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount # Create a 4k file and Allocate 4M past EOF on that file xfs_io -F -f -c "pwrite 0 4k" -c "falloc -k 4k 4m" $SCRATCH_MNT/test \ - >>$seq.full 2>&1 || _fail "failed to create test file" + >>$seqres.full 2>&1 || _fail "failed to create test file" # Fill the rest of the fs completely -# Note, this will show ENOSPC errors in $seq.full, that's ok. -echo "Fill fs with 1M IOs; ENOSPC expected" >> $seq.full -dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=1M >>$seq.full 2>&1 -echo "Fill fs with 4K IOs; ENOSPC expected" >> $seq.full -dd if=/dev/zero of=$SCRATCH_MNT/tmp2 bs=4K >>$seq.full 2>&1 +# Note, this will show ENOSPC errors in $seqres.full, that's ok. +echo "Fill fs with 1M IOs; ENOSPC expected" >> $seqres.full +dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=1M >>$seqres.full 2>&1 +echo "Fill fs with 4K IOs; ENOSPC expected" >> $seqres.full +dd if=/dev/zero of=$SCRATCH_MNT/tmp2 bs=4K >>$seqres.full 2>&1 sync # Last effort, use O_SYNC -echo "Fill fs with 4K DIOs; ENOSPC expected" >> $seq.full -dd if=/dev/zero of=$SCRATCH_MNT/tmp3 bs=4K oflag=sync >>$seq.full 2>&1 +echo "Fill fs with 4K DIOs; ENOSPC expected" >> $seqres.full +dd if=/dev/zero of=$SCRATCH_MNT/tmp3 bs=4K oflag=sync >>$seqres.full 2>&1 # Save space usage info -echo "Post-fill space:" >> $seq.full -df $SCRATCH_MNT >>$seq.full 2>&1 +echo "Post-fill space:" >> $seqres.full +df $SCRATCH_MNT >>$seqres.full 2>&1 # Now attempt a write into all of the preallocated space - # in a very nasty way, badly fragmenting it and then filling it in. -echo "Fill in prealloc space; fragment at offsets:" >> $seq.full +echo "Fill in prealloc space; fragment at offsets:" >> $seqres.full for i in `seq 1 2 1023`; do - echo -n "$i " >> $seq.full + echo -n "$i " >> $seqres.full dd if=/dev/zero of=$SCRATCH_MNT/test seek=$i bs=4K count=1 conv=notrunc \ - >>$seq.full 2>/dev/null || _fail "failed to write to test file" + >>$seqres.full 2>/dev/null || _fail "failed to write to test file" done sync -echo >> $seq.full -echo "Fill in prealloc space; fill holes at offsets:" >> $seq.full +echo >> $seqres.full +echo "Fill in prealloc space; fill holes at offsets:" >> $seqres.full for i in `seq 2 2 1023`; do - echo -n "$i " >> $seq.full + echo -n "$i " >> $seqres.full dd if=/dev/zero of=$SCRATCH_MNT/test seek=$i bs=4K count=1 conv=notrunc \ - >>$seq.full 2>/dev/null || _fail "failed to fill test file" + >>$seqres.full 2>/dev/null || _fail "failed to fill test file" done sync -echo >> $seq.full +echo >> $seqres.full echo "done" exittests/generic/275 +14
-13@@ -25,6 +25,7 @@ #creator seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -50,38 +51,38 @@ echo "------------------------------" echo "write until ENOSPC test" echo "------------------------------" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null -_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seq.full 2>&1 +_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1 _scratch_mount -dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=256K count=1 >>$seq.full 2>&1 +dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=256K count=1 >>$seqres.full 2>&1 [ $? -ne 0 ] && _fail "Error creating file" # Attempt to completely fill fs -dd if=/dev/zero of=$SCRATCH_MNT/tmp2 bs=1M >>$seq.full 2>&1 +dd if=/dev/zero of=$SCRATCH_MNT/tmp2 bs=1M >>$seqres.full 2>&1 sync -dd if=/dev/zero of=$SCRATCH_MNT/tmp3 bs=4K >>$seq.full 2>&1 +dd if=/dev/zero of=$SCRATCH_MNT/tmp3 bs=4K >>$seqres.full 2>&1 sync # Last effort, use O_SYNC -dd if=/dev/zero of=$SCRATCH_MNT/tmp4 bs=4K oflag=sync >>$seq.full 2>&1 +dd if=/dev/zero of=$SCRATCH_MNT/tmp4 bs=4K oflag=sync >>$seqres.full 2>&1 # Save space usage info to the full file -echo "Pre rm space:" >> $seq.full -df $SCRATCH_MNT >>$seq.full 2>&1 +echo "Pre rm space:" >> $seqres.full +df $SCRATCH_MNT >>$seqres.full 2>&1 # Should leave approx 256k free rm -f $SCRATCH_MNT/tmp1 sync -echo "Post rm space:" >> $seq.full -df $SCRATCH_MNT >>$seq.full 2>&1 +echo "Post rm space:" >> $seqres.full +df $SCRATCH_MNT >>$seqres.full 2>&1 _freespace=`df -k $SCRATCH_MNT | tail -n 1 | awk '{print $4}'` [ $_freespace -gt 1024 ] && _fail "could not sufficiently fill filesystem" # Try a write larger than available space -dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=1M count=1 >>$seq.full 2>&1 -echo "Bytes written until ENOSPC:" >>$seq.full -du $SCRATCH_MNT/tmp1 >>$seq.full +dd if=/dev/zero of=$SCRATCH_MNT/tmp1 bs=1M count=1 >>$seqres.full 2>&1 +echo "Bytes written until ENOSPC:" >>$seqres.full +du $SCRATCH_MNT/tmp1 >>$seqres.full # And at least some of it should succeed. _filesize=`ls -l $SCRATCH_MNT/tmp1 | awk '{print $5}'`tests/generic/277 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" status=1 # failure is the default!tests/generic/280 +3
-2@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -51,10 +52,10 @@ _require_freeze _supported_os Linux _supported_fs generic -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV 2>/dev/null -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount "-o usrquota,grpquota" quotacheck -u -g $SCRATCH_MNT 2>/dev/null quotaon $SCRATCH_MNT 2>/dev/nulltests/generic/285 +2
-1@@ -26,6 +26,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -48,7 +49,7 @@ _cleanup() eval "rm -f $BASE_TEST_FILE.*" } -$here/src/seek_sanity_test $BASE_TEST_FILE > $seq.full 2>&1 || +$here/src/seek_sanity_test $BASE_TEST_FILE > $seqres.full 2>&1 || _fail "seek sanity check failed!" # success, all donetests/generic/286 +18
-17@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -61,11 +62,11 @@ test01() write_cmd="$write_cmd -c \"pwrite $offset 1m\"" done - echo "*** test01() create sparse file ***" >>$seq.full - eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seq.full 2>&1 || + echo "*** test01() create sparse file ***" >>$seqres.full + eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seqres.full 2>&1 || _fail "create sparse file failed!" - echo "*** test01() create sparse file done ***" >>$seq.full - echo >>$seq.full + echo "*** test01() create sparse file done ***" >>$seqres.full + echo >>$seqres.full $here/src/seek_copy_test $src $dest@@ -89,11 +90,11 @@ test02() write_cmd="$write_cmd -c \"falloc $offset 3m\" -c \"pwrite $offset 1m\"" done - echo "*** test02() create sparse file ***" >>$seq.full - eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seq.full 2>&1 || + echo "*** test02() create sparse file ***" >>$seqres.full + eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seqres.full 2>&1 || _fail "create sparse file failed!" - echo "*** test02() create sparse file done ***" >>$seq.full - echo >>$seq.full + echo "*** test02() create sparse file done ***" >>$seqres.full + echo >>$seqres.full $here/src/seek_copy_test $src $dest@@ -132,11 +133,11 @@ test03() write_cmd="$write_cmd -c \"pwrite $offset 10m\"" done - echo "*** test03() create sparse file ***" >>$seq.full - eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seq.full 2>&1 || + echo "*** test03() create sparse file ***" >>$seqres.full + eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seqres.full 2>&1 || _fail "create sparse file failed!" - echo "*** test03() create sparse file done ***" >>$seq.full - echo >>$seq.full + echo "*** test03() create sparse file done ***" >>$seqres.full + echo >>$seqres.full $here/src/seek_copy_test $src $dest test $(stat --printf "%s" $src) = $(stat --printf "%s" $dest) ||@@ -174,11 +175,11 @@ test04() write_cmd="$write_cmd -c \"pwrite $offset 2m\"" done - echo "*** test04() create sparse file ***" >>$seq.full - eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seq.full 2>&1 || + echo "*** test04() create sparse file ***" >>$seqres.full + eval ${XFS_IO_PROG} -F -f "${write_cmd}" $src >>$seqres.full 2>&1 || _fail "create sparse file failed!" - echo "*** test04() create sparse file done ***" >>$seq.full - echo >>$seq.full + echo "*** test04() create sparse file done ***" >>$seqres.full + echo >>$seqres.full $here/src/seek_copy_test $src $dest test $(stat --printf "%s" $src) = $(stat --printf "%s" $dest) ||@@ -187,7 +188,7 @@ test04() cmp $src $dest || _fail "TEST04: file bytes check failed" } -rm -f $seq.full +rm -f $seqres.full test01 test02 test03tests/generic/288 +1
-0@@ -23,6 +23,7 @@ seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" status=0tests/generic/294 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/generic/299 +4
-3@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -114,7 +115,7 @@ _workout() echo "" echo "Run fio with random aio-dio pattern" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio & pid=$! echo "Start fallocate/truncate loop"@@ -124,7 +125,7 @@ _workout() for ((k=1; k <= NUM_JOBS; k++)) do fallocate -l $FILE_SIZE $SCRATCH_MNT/direct_aio.$k.0 \ - >> $seq.full 2>&1 + >> $seqres.full 2>&1 done for ((k=1; k <= NUM_JOBS; k++)) do@@ -137,7 +138,7 @@ _workout() wait $pid } -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 _scratch_mount if ! _workout; thentests/generic/300 +3
-2@@ -25,6 +25,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -127,13 +128,13 @@ _workout() echo "" echo "Run fio with random aio-dio pattern" echo "" - cat $tmp-$seq.fio >> $seq.full + cat $tmp-$seq.fio >> $seqres.full run_check $FIO_PROG $tmp-$seq.fio } _require_fio $tmp-$seq.fio -_scratch_mkfs_sized $FS_SIZE >> $seq.full 2>&1 +_scratch_mkfs_sized $FS_SIZE >> $seqres.full 2>&1 _scratch_mount if ! _workout; thentests/shared/051 +2
-1@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq here=`pwd` tmp=/tmp/$$@@ -73,7 +74,7 @@ _supported_os Linux [ -x $runas ] || _notrun "$runas executable not found" -rm -f $seq.full +rm -f $seqres.full _setup_testdirtests/shared/218 +8
-7@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -59,36 +60,36 @@ rm -f $fragfile # Craft some fragmented files, defrag them, check the result. -echo "zero-length file:" | tee -a $seq.full +echo "zero-length file:" | tee -a $seqres.full touch $fragfile _defrag $fragfile -echo "Sparse file (no blocks):" | tee -a $seq.full +echo "Sparse file (no blocks):" | tee -a $seqres.full xfs_io -F -f -c "truncate 1m" $fragfile _defrag $fragfile -echo "Contiguous file:" | tee -a $seq.full +echo "Contiguous file:" | tee -a $seqres.full dd if=/dev/zero of=$fragfile bs=4k count=4 &>/dev/null _defrag $fragfile -echo "Write backwards sync, but contiguous - should defrag to 1 extent" | tee -a $seq.full +echo "Write backwards sync, but contiguous - should defrag to 1 extent" | tee -a $seqres.full for I in `seq 9 -1 0`; do dd if=/dev/zero of=$fragfile bs=4k count=1 conv=notrunc seek=$I oflag=sync &>/dev/null done _defrag $fragfile -echo "Write backwards sync leaving holes - defrag should do nothing" | tee -a $seq.full +echo "Write backwards sync leaving holes - defrag should do nothing" | tee -a $seqres.full for I in `seq 31 -2 0`; do dd if=/dev/zero of=$fragfile bs=4k count=1 conv=notrunc seek=$I oflag=sync &>/dev/null done _defrag $fragfile -echo "Write forwards sync leaving holes - defrag should do nothing" | tee -a $seq.full +echo "Write forwards sync leaving holes - defrag should do nothing" | tee -a $seqres.full for I in `seq 0 2 31`; do dd if=/dev/zero of=$fragfile bs=4k count=1 conv=notrunc seek=$I oflag=sync &>/dev/null done _defrag $fragfile -rm -f $seq.full +rm -f $seqres.full status=0 exittests/shared/243 +12
-11@@ -42,6 +42,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -85,23 +86,23 @@ _check_ext4_eof_flag() # Ensure that the iflags value was parsed correctly. if [ -z ${iflags} ]; then - echo "iFlags value was not parsed successfully." >> $seq.full + echo "iFlags value was not parsed successfully." >> $seqres.full status=1 exit ${status} fi # Check if EOFBLOCKS_FL is set. if ((${iflags} & 0x400000)); then - echo "EOFBLOCK_FL bit is set." >> $seq.full + echo "EOFBLOCK_FL bit is set." >> $seqres.full bit_set=1 else - echo "EOFBLOCK_FL bit is not set." >> $seq.full + echo "EOFBLOCK_FL bit is not set." >> $seqres.full bit_set=0 fi # Check current bit state to expected value. if [ ${bit_set} -ne ${2} ]; then - echo "Error: Current bit state incorrect." >> $seq.full + echo "Error: Current bit state incorrect." >> $seqres.full status=1 exit ${status} fi@@ -121,14 +122,14 @@ _supported_os Linux _require_xfs_io_falloc # Real QA test starts here. -rm -f $seq.full +rm -f $seqres.full # Remove any leftover files from last run. rm -f ${TEST_DIR}/test_? # Begin test cases. echo "Test 1: Fallocate 40960 bytes and write 4096 bytes (buffered io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f \ -c 'falloc -k 0 40960' \ -c 'pwrite 0 4096' \@@ -136,7 +137,7 @@ ${XFS_IO_PROG} -F -f \ _check_ext4_eof_flag test_1 ${BIT_SET} echo "Test 2: Fallocate 40960 bytes and write 4096 bytes (direct io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f -d \ -c 'falloc -k 0 40960' \ -c 'pwrite 0 4096' \@@ -144,7 +145,7 @@ ${XFS_IO_PROG} -F -f -d \ _check_ext4_eof_flag test_2 ${BIT_SET} echo "Test 3: Fallocate 40960 bytes and write 40960 bytes (buffered io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f \ -c 'falloc -k 0 40960' \ -c 'pwrite 0 40960' \@@ -152,7 +153,7 @@ ${XFS_IO_PROG} -F -f \ _check_ext4_eof_flag test_3 ${BIT_NOT_SET} echo "Test 4: Fallocate 40960 bytes and write 40960 bytes (direct io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f -d \ -c 'falloc -k 0 40960' \ -c 'pwrite 0 40960' \@@ -160,7 +161,7 @@ ${XFS_IO_PROG} -F -f -d \ _check_ext4_eof_flag test_4 ${BIT_NOT_SET} echo "Test 5: Fallocate 128k, seek 256k and write 4k block (buffered io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f \ -c 'falloc -k 0 128k' \ -c 'pwrite 256k 4k' \@@ -168,7 +169,7 @@ ${XFS_IO_PROG} -F -f \ _check_ext4_eof_flag test_5 ${BIT_NOT_SET} echo "Test 6: Fallocate 128k, seek to 256k and write a 4k block (direct io)." \ - >> $seq.full + >> $seqres.full ${XFS_IO_PROG} -F -f -d \ -c 'falloc -k 0 128k' \ -c 'pwrite 256k 4k' \tests/shared/272 +8
-7@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -51,11 +52,11 @@ _workout() do echo "OP write_opt: $write_opt 4M, \ -chattr_opt: $chattr_opt" >>$seq.full +chattr_opt: $chattr_opt" >>$seqres.full dd if=/dev/zero of=$SCRATCH_MNT/file.$idx \ bs=1M count=4 $write_opt \ - >> $seq.full 2>&1 || exit - chattr $chattr_opt $SCRATCH_MNT/file.$idx >> $seq.full \ + >> $seqres.full 2>&1 || exit + chattr $chattr_opt $SCRATCH_MNT/file.$idx >> $seqres.full \ || exit done done@@ -69,11 +70,11 @@ chattr_opt: $chattr_opt" >>$seq.full do echo "OP write_opt: $write_opt ENOSPC, \ -chattr_opt: $chattr_opt" >>$seq.full +chattr_opt: $chattr_opt" >>$seqres.full dd if=/dev/zero of=$SCRATCH_MNT/file.$idx \ - bs=1M $write_opt >> $seq.full 2>&1 + bs=1M $write_opt >> $seqres.full 2>&1 chattr $chattr_opt $SCRATCH_MNT/file.$idx \ - >> $seq.full || exit + >> $seqres.full || exit done sync unlink $SCRATCH_MNT/file.$idx@@ -86,7 +87,7 @@ _supported_os Linux _need_to_be_root _require_scratch -_scratch_mkfs_sized $((64 * 1024 * 1024)) >> $seq.full 2>&1 +_scratch_mkfs_sized $((64 * 1024 * 1024)) >> $seqres.full 2>&1 _scratch_mount if ! _workout; thentests/shared/289 +7
-6@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -46,9 +47,9 @@ _supported_fs ext2 ext3 ext4 _supported_os Linux _require_scratch -rm -f $seq.full +rm -f $seqres.full -_scratch_mkfs >> $seq.full 2>&1 +_scratch_mkfs >> $seqres.full 2>&1 # Get the honest truth about block counts straight from metadata on disk TOTAL_BLOCKS=`dumpe2fs -h $SCRATCH_DEV 2>/dev/null \@@ -86,10 +87,10 @@ _scratch_mount "-o bsddf" BSD_F_BLOCKS=`stat -f $SCRATCH_MNT | awk '/^Blocks/{print $3}'` umount $SCRATCH_MNT -# Echo data to $seq.full for analysis -echo "Overhead is $OVERHEAD blocks out of $TOTAL_BLOCKS ($FREE_BLOCKS free)" >> $seq.full -echo "MINIX free blocks $MINIX_F_BLOCKS" >> $seq.full -echo "BSD free blocks $BSD_F_BLOCKS" >> $seq.full +# Echo data to $seqres.full for analysis +echo "Overhead is $OVERHEAD blocks out of $TOTAL_BLOCKS ($FREE_BLOCKS free)" >> $seqres.full +echo "MINIX free blocks $MINIX_F_BLOCKS" >> $seqres.full +echo "BSD free blocks $BSD_F_BLOCKS" >> $seqres.full # minix should be exactly equal (hence tolerance of 0) _within_tolerance "minix f_blocks" $MINIX_F_BLOCKS $TOTAL_BLOCKS 0 -vtests/shared/298 +1
-0@@ -22,6 +22,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" status=1 # failure is the default!tests/shared/305 +8
-7@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -61,7 +62,7 @@ disallow_fail_make_request() start_fail_scratch_dev() { echo "Force SCRATCH_DEV device failure" - echo " echo 1 > /sys/block/$SCRATCH_BDEV/make-it-fail" >> $here/$seq.full + echo " echo 1 > /sys/block/$SCRATCH_BDEV/make-it-fail" >> $here/$seqres.full echo 1 > /sys/block/$SCRATCH_BDEV/make-it-fail }@@ -69,7 +70,7 @@ start_fail_scratch_dev() stop_fail_scratch_dev() { echo "Make SCRATCH_DEV device operable again" - echo " echo 0 > /sys/block/$SCRATCH_BDEV/make-it-fail" >> $here/$seq.full + echo " echo 0 > /sys/block/$SCRATCH_BDEV/make-it-fail" >> $here/$seqres.full echo 0 > /sys/block/$SCRATCH_BDEV/make-it-fail }@@ -138,12 +139,12 @@ _workout() echo "" echo "Start fsstress.." echo "" - echo "fsstress $args" >> $here/$seq.full + echo "fsstress $args" >> $here/$seqres.full $FSSTRESS_PROG $args > /dev/null 2>&1 & fs_pid=$! echo "Start fio.." - cat $tmp-$seq.fio >> $seq.full - $FIO_PROG $tmp-$seq.fio >> $here/$seq.full 2>&1 & + cat $tmp-$seq.fio >> $seqres.full + $FIO_PROG $tmp-$seq.fio >> $here/$seqres.full 2>&1 & fio_pid=$! # Let's it work for awhile, and force device failure@@ -153,7 +154,7 @@ _workout() # that so buffered write(2) may succeed, but any integrity operations # such as (sync, fsync, fdatasync, direct-io) should fail. dd if=/dev/zero of=$SCRATCH_MNT/touch_failed_filesystem count=1 bs=4k conv=fsync \ - >> $here/$seq.full 2>&1 && \ + >> $here/$seqres.full 2>&1 && \ _fail "failed: still able to perform integrity fsync on $SCRATCH_MNT" kill $fs_pid@@ -175,7 +176,7 @@ _workout() # real QA test starts here -_scratch_mkfs >> $here/$seq.full 2>&1 || _fail "mkfs failed" +_scratch_mkfs >> $here/$seqres.full 2>&1 || _fail "mkfs failed" _scratch_mount || _fail "mount failed" allow_fail_make_request _workouttests/udf/098 +2
-1@@ -30,6 +30,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -268,7 +269,7 @@ _check_udf_filesystem $SCRATCH_DEV # optional stuff if your test has verbose output to help resolve problems #echo -#echo "If failure, check $seq.full (this) and $seq.full.ok (reference)" +#echo "If failure, check $seqres.full (this) and $seq.full.ok (reference)" # success, all done status=0tests/udf/101 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/udf/102 +1
-0@@ -24,6 +24,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/xfs/003 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checkstests/xfs/004 +9
-8@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -39,8 +40,8 @@ trap "_cleanup" 0 1 2 3 15 _populate_scratch() { - echo "=== mkfs output ===" >>$seq.full - _scratch_mkfs_xfs | tee -a $seq.full | _filter_mkfs 2>$tmp.mkfs + echo "=== mkfs output ===" >>$seqres.full + _scratch_mkfs_xfs | tee -a $seqres.full | _filter_mkfs 2>$tmp.mkfs . $tmp.mkfs _scratch_mount dd if=/dev/zero of=$SCRATCH_MNT/foo count=200 bs=4096 >/dev/null 2>&1 &@@ -64,7 +65,7 @@ _need_to_be_root _require_scratch _require_no_large_scratch_dev -rm -f $seq.full +rm -f $seqres.full _populate_scratch@@ -72,16 +73,16 @@ _populate_scratch eval `$DF_PROG $SCRATCH_MNT 2>&1 \ | tail -1 | $AWK_PROG '{ printf "blocks=%u used=%u avail=%u\n", $3, $4, $5 }'` -echo "df gave: blocks=$blocks used=$used avail=$avail" >>$seq.full -echo "blocksize from mkfs is '$dbsize'" >>$seq.full +echo "df gave: blocks=$blocks used=$used avail=$avail" >>$seqres.full +echo "blocksize from mkfs is '$dbsize'" >>$seqres.full xfs_db -r -c "freesp -s" $SCRATCH_DEV >$tmp.xfs_db -echo "xfs_db for $SCRATCH_DEV" >>$seq.full -cat $tmp.xfs_db >>$seq.full +echo "xfs_db for $SCRATCH_DEV" >>$seqres.full +cat $tmp.xfs_db >>$seqres.full eval `$XFS_IO_PROG -x -c resblks $SCRATCH_MNT 2>&1 \ | $AWK_PROG '/available/ { printf "resblks=%u\n", $5 }'` -echo "resblks gave: resblks=$resblks" >>$seq.full +echo "resblks gave: resblks=$resblks" >>$seqres.full # check the 'blocks' field from freesp command is OK # since 2.6.18, df does not report the 4 blocks per AG that cannottests/xfs/008 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/xfs/009 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/xfs/012 +1
-0@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`tests/xfs/016 +18
-17@@ -36,6 +36,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -72,7 +73,7 @@ _init() if _scratch_mkfs_xfs -N -K $force_opts >/dev/null 2>&1; then force_opts="-K $force_opts" fi - echo mkfs_xfs $force_opts $SCRATCH_DEV >>$seq.full + echo mkfs_xfs $force_opts $SCRATCH_DEV >>$seqres.full _scratch_mkfs_xfs $force_opts >$tmp.mkfs0 2>&1 [ $? -ne 0 ] && \ _notrun "Cannot mkfs for this test using MKFS_OPTIONS specified"@@ -163,8 +164,8 @@ _check_corrupt() { f="c6c6c6c6" echo "*** check for corruption" - echo "expect $f..." >>$seq.full - xfs_db -r -c "fsblock $2" -c "print" $1 | head | tee -a $seq.full | \ + echo "expect $f..." >>$seqres.full + xfs_db -r -c "fsblock $2" -c "print" $1 | head | tee -a $seqres.full | \ grep -q -v "$f $f $f $f $f $f $f $f" && \ _fail "!!! block $2 corrupted!" }@@ -177,7 +178,7 @@ _check_corrupt() _supported_fs xfs _supported_os Linux -rm -f $seq.full +rm -f $seqres.full # mkfs sizes log_size=2097152@@ -187,15 +188,15 @@ _require_scratch _init block=`_after_log $SCRATCH_DEV` -echo "fsblock after log = $block" >>$seq.full +echo "fsblock after log = $block" >>$seqres.full _check_corrupt $SCRATCH_DEV $block actual_log_size=`_log_size` -echo "log size = $actual_log_size BB" >>$seq.full +echo "log size = $actual_log_size BB" >>$seqres.full head=`_log_head` -echo "log position = $head" >>$seq.full +echo "log position = $head" >>$seqres.full lsunit=`_log_sunit` -echo "log sunit = $lsunit" >>$seq.full +echo "log sunit = $lsunit" >>$seqres.full # sanity checks [ $actual_log_size -eq $log_size_bb ] || \@@ -206,36 +207,36 @@ echo "log sunit = $lsunit" >>$seq.full # find how how many blocks per op for 100 ops # ignore the fact that it will also include an unmount record etc... # this should be small overall -echo " lots of traffic for sampling" >>$seq.full +echo " lots of traffic for sampling" >>$seqres.full sample_size_ops=100 _log_traffic $sample_size_ops head1=`_log_head` num_blocks=`expr $head1 - $head` blocks_per_op=`echo "scale=3; $num_blocks / $sample_size_ops" | bc` -echo "blocks_per_op = $blocks_per_op" >>$seq.full +echo "blocks_per_op = $blocks_per_op" >>$seqres.full num_expected_ops=`echo "$log_size_bb / $blocks_per_op" | bc` -echo "num_expected_ops = $num_expected_ops" >>$seq.full +echo "num_expected_ops = $num_expected_ops" >>$seqres.full num_expected_to_go=`echo "$num_expected_ops - $sample_size_ops" | bc` -echo "num_expected_to_go = $num_expected_to_go" >>$seq.full +echo "num_expected_to_go = $num_expected_to_go" >>$seqres.full -echo " lots more traffic" >>$seq.full +echo " lots more traffic" >>$seqres.full _log_traffic $num_expected_to_go head=`_log_head` -echo "log position = $head" >>$seq.full +echo "log position = $head" >>$seqres.full # e.g. 3891 near_end_min=`echo "0.95 * $log_size_bb" | bc | sed 's/\..*//'` -echo "near_end_min = $near_end_min" >>$seq.full +echo "near_end_min = $near_end_min" >>$seqres.full [ $head -gt $near_end_min -a $head -lt $log_size_bb ] || \ _fail "!!! unexpected near end log position $head" for c in `seq 0 20` do - echo " little traffic" >>$seq.full + echo " little traffic" >>$seqres.full _log_traffic 2 head=`_log_head` - echo "log position = $head" >>$seq.full + echo "log position = $head" >>$seqres.full _check_corrupt $SCRATCH_DEV $block donetests/xfs/017 +16
-15@@ -23,6 +23,7 @@ # seq=`basename $0` +seqres=$RESULT_DIR/$seq echo "QA output created by $seq" here=`pwd`@@ -52,13 +53,13 @@ _require_no_large_scratch_dev echo "*** init FS" -rm -f $seq.full +rm -f $seqres.full umount $SCRATCH_DEV >/dev/null 2>&1 -echo "*** MKFS ***" >>$seq.full -echo "" >>$seq.full -_scratch_mkfs_xfs >>$seq.full 2>&1 \ +echo "*** MKFS ***" >>$seqres.full +echo "" >>$seqres.full +_scratch_mkfs_xfs >>$seqres.full 2>&1 \ || _fail "mkfs failed" -_scratch_mount >>$seq.full 2>&1 \ +_scratch_mount >>$seqres.full 2>&1 \ || _fail "mount failed" echo "*** test"@@ -67,21 +68,21 @@ for l in 0 1 2 3 4 do echo " *** test $l" FSSTRESS_ARGS=`_scale_fsstress_args -d $SCRATCH_MNT -n 1000 $FSSTRESS_AVOID` - $FSSTRESS_PROG $FSSTRESS_ARGS >>$seq.full + $FSSTRESS_PROG $FSSTRESS_ARGS >>$seqres.full _scratch_mount -o remount,ro \ || _fail "remount ro failed" - echo "" >>$seq.full - echo "*** xfs_logprint ***" >>$seq.full - echo "" >>$seq.full - _scratch_xfs_logprint -tb | tee -a $seq.full \ + echo "" >>$seqres.full + echo "*** xfs_logprint ***" >>$seqres.full + echo "" >>$seqres.full + _scratch_xfs_logprint -tb | tee -a $seqres.full \ | head | grep -q "<CLEAN>" || _fail "DIRTY LOG"Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 6 lines
1.7.10.4 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
Part of the diff is not shown here. View the raw message.
PATCH 19/25 xfstests: fix _link_out_file callers
In reply to Dave ChinnerFrom: Dave Chinner <[email protected]>
Currently the callers pass $seq, rather than the full path to the test. As a result, it creates the link in the top level directory and it points nowhere. Fix it to create the link in the correct place.
--- common.rc | 26 +++++++++++++------------- tests/generic/088 | 3 ++- tests/generic/097 | 7 ++++--- tests/xfs/018 | 9 +++++---- tests/xfs/022 | 3 ++- tests/xfs/023 | 3 ++- tests/xfs/030 | 3 ++- tests/xfs/031 | 3 ++- tests/xfs/033 | 3 ++- tests/xfs/035 | 3 ++- tests/xfs/036 | 3 ++- tests/xfs/039 | 3 ++- tests/xfs/043 | 3 ++- tests/xfs/055 | 3 ++- tests/xfs/071 | 7 ++++--- tests/xfs/082 | 9 +++++---- tests/xfs/096 | 7 ++++--- tests/xfs/146 | 3 ++- 18 files changed, 59 insertions(+), 42 deletions(-)
common.rc +13 -13
@@ -1760,19 +1760,19 @@ _cleanup_testdir() _link_out_file() { - if [ -z "$1" ]; then - echo Error must pass \$seq. - exit - fi - rm -f $1 - if [ "`uname`" == "IRIX64" ] || [ "`uname`" == "IRIX" ]; then - ln -s $1.irix $1 - elif [ "`uname`" == "Linux" ]; then - ln -s $1.linux $1 - else - echo Error test $seq does not run on the operating system: `uname` - exit - fi + if [ -z "$1" -o -z "$2" ]; then + echo Error must pass src and dst. + exit + fi + rm -f $2 + if [ "`uname`" == "IRIX64" ] || [ "`uname`" == "IRIX" ]; then + ln -s $1.irix $2 + elif [ "`uname`" == "Linux" ]; then + ln -s $1.linux $2 + else + echo Error test $seq does not run on the operating system: `uname` + exit + fi } _die()
tests/generic/088 +2 -1
@@ -23,6 +23,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -42,7 +43,7 @@ _filter() } # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs generic
tests/generic/097 +4 -3
@@ -27,6 +27,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -63,11 +64,11 @@ _umount_and_mount() # link correct .out file # This is done bacause udf and xfs print attrs in different orders. -rm -rf $seq.out +rm -rf $seqfull.out if [ "$FSTYP" == "xfs" ]; then - ln -s $seq.out.xfs $seq.out + ln -s $seq.out.xfs $seqfull.out else - ln -s $seq.out.udf $seq.out + ln -s $seq.out.udf $seqfull.out fi # real QA test starts here
tests/xfs/018 +5 -4
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -53,7 +54,7 @@ _require_scratch _require_v2log # link correct .out file -_link_out_file $seq.op +_link_out_file $seq.op $seqfull.op echo "*** init FS"
@@ -88,13 +89,13 @@ do _check_log _print_operation - _cmp_op_output $seq.op $filtered + _cmp_op_output $seqfull.op $filtered _print_transaction_inode $start_blk - _cmp_output $seq.trans_inode $filtered + _cmp_output $seqfull.trans_inode $filtered _print_transaction_buf $start_blk - _cmp_output $seq.trans_buf $filtered + _cmp_output $seqfull.trans_buf $filtered done # got thru it all so we may have success
tests/xfs/022 +2 -1
@@ -25,6 +25,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -38,7 +39,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfs
tests/xfs/023 +2 -1
@@ -23,6 +23,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -37,7 +38,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfs
tests/xfs/030 +2 -1
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -45,7 +46,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.repair # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # nuke the superblock, AGI, AGF, AGFL; then try repair the damage #
tests/xfs/031 +2 -1
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -38,7 +39,7 @@ rm -f $seqres.full . ./common.filter # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out _check_repair() {
tests/xfs/033 +2 -1
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -45,7 +46,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.repair # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # nuke the root, rt bitmap, and rt summary inodes #
tests/xfs/035 +2 -1
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -36,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfs
tests/xfs/036 +2 -1
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -36,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfs
tests/xfs/039 +2 -1
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -36,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfs
tests/xfs/043 +2 -1
@@ -24,6 +24,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -38,7 +39,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfs
tests/xfs/055 +2 -1
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -36,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfs
tests/xfs/071 +4 -3
@@ -21,6 +21,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -44,11 +45,11 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 bitsperlong=`src/feature -w` # link correct .out file -rm -f $seq.out +rm -f $seqfull.out if [ "$bitsperlong" -eq 32 ]; then - ln -s $seq.out.32 $seq.out + ln -s $seq.out.32 $seqfull.out else - ln -s $seq.out.64 $seq.out + ln -s $seq.out.64 $seqfull.out fi _filter_io()
tests/xfs/082 +5 -4
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -54,7 +55,7 @@ _require_scratch _require_v2log # link correct .out file -_link_out_file $seq.op +_link_out_file $seq.op $seqfull.op echo "*** init FS" umount $SCRATCH_DEV >/dev/null 2>&1
@@ -118,14 +119,14 @@ for s in sync nosync ; do : else _print_operation - _cmp_op_output $seq.op $filtered + _cmp_op_output $seqfull.op $filtered fi _print_transaction_inode $start - _cmp_output $seq.trans_inode $filtered + _cmp_output $seqfull.trans_inode $filtered _print_transaction_buf $start - _cmp_output $seq.trans_buf $filtered + _cmp_output $seqfull.trans_buf $filtered done done
tests/xfs/096 +4 -3
@@ -23,6 +23,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -99,11 +100,11 @@ _require_scratch _require_v2log # choose .out file based on internal/external log -rm -f $seq.out +rm -f $seqfull.out if [ "$USE_EXTERNAL" = yes ]; then - ln -s $seq.external $seq.out + ln -s $seq.external $seqfull.out else - ln -s $seq.internal $seq.out + ln -s $seq.internal $seqfull.out fi # maximum log record size
tests/xfs/146 +2 -1
@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"
@@ -52,7 +53,7 @@ _supported_fs xfs _supported_os Linux IRIX # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out _require_scratch _scratch_mkfs_xfs >/dev/null 2>&1
Signature · 6 lines
1.7.10.4 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Re: [PATCH 19/25] xfstests: fix _link_out_file callers
Looks OK.
Quoted 483 lines · Dave Chinner
From: Dave Chinner <[email protected]>
Currently the callers pass $seq, rather than the full path to the test. As a result, it creates the link in the top level directory and it points nowhere. Fix it to create the link in the correct place.
Signed-off-by Dave Chinner <[email protected]>--- common.rc | 26 +++++++++++++------------- tests/generic/088 | 3 ++- tests/generic/097 | 7 ++++--- tests/xfs/018 | 9 +++++---- tests/xfs/022 | 3 ++- tests/xfs/023 | 3 ++- tests/xfs/030 | 3 ++- tests/xfs/031 | 3 ++- tests/xfs/033 | 3 ++- tests/xfs/035 | 3 ++- tests/xfs/036 | 3 ++- tests/xfs/039 | 3 ++- tests/xfs/043 | 3 ++- tests/xfs/055 | 3 ++- tests/xfs/071 | 7 ++++--- tests/xfs/082 | 9 +++++---- tests/xfs/096 | 7 ++++--- tests/xfs/146 | 3 ++- 18 files changed, 59 insertions(+), 42 deletions(-)common.rc +13
-13@@ -1760,19 +1760,19 @@ _cleanup_testdir() _link_out_file() { - if [ -z "$1" ]; then - echo Error must pass \$seq. - exit - fi - rm -f $1 - if [ "`uname`" == "IRIX64" ] || [ "`uname`" == "IRIX" ]; then - ln -s $1.irix $1 - elif [ "`uname`" == "Linux" ]; then - ln -s $1.linux $1 - else - echo Error test $seq does not run on the operating system: `uname` - exit - fi + if [ -z "$1" -o -z "$2" ]; then + echo Error must pass src and dst. + exit + fi + rm -f $2 + if [ "`uname`" == "IRIX64" ] || [ "`uname`" == "IRIX" ]; then + ln -s $1.irix $2 + elif [ "`uname`" == "Linux" ]; then + ln -s $1.linux $2 + else + echo Error test $seq does not run on the operating system: `uname` + exit + fi } _die()tests/generic/088 +2
-1@@ -23,6 +23,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -42,7 +43,7 @@ _filter() } # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs generictests/generic/097 +4
-3@@ -27,6 +27,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -63,11 +64,11 @@ _umount_and_mount() # link correct .out file # This is done bacause udf and xfs print attrs in different orders. -rm -rf $seq.out +rm -rf $seqfull.out if [ "$FSTYP" == "xfs" ]; then - ln -s $seq.out.xfs $seq.out + ln -s $seq.out.xfs $seqfull.out else - ln -s $seq.out.udf $seq.out + ln -s $seq.out.udf $seqfull.out fi # real QA test starts heretests/xfs/018 +5
-4@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -53,7 +54,7 @@ _require_scratch _require_v2log # link correct .out file -_link_out_file $seq.op +_link_out_file $seq.op $seqfull.op echo "*** init FS"@@ -88,13 +89,13 @@ do _check_log _print_operation - _cmp_op_output $seq.op $filtered + _cmp_op_output $seqfull.op $filtered _print_transaction_inode $start_blk - _cmp_output $seq.trans_inode $filtered + _cmp_output $seqfull.trans_inode $filtered _print_transaction_buf $start_blk - _cmp_output $seq.trans_buf $filtered + _cmp_output $seqfull.trans_buf $filtered done # got thru it all so we may have successtests/xfs/022 +2
-1@@ -25,6 +25,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -38,7 +39,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfstests/xfs/023 +2
-1@@ -23,6 +23,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -37,7 +38,7 @@ trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfstests/xfs/030 +2
-1@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -45,7 +46,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.repair # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # nuke the superblock, AGI, AGF, AGFL; then try repair the damage #tests/xfs/031 +2
-1@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -38,7 +39,7 @@ rm -f $seqres.full . ./common.filter # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out _check_repair() {tests/xfs/033 +2
-1@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -45,7 +46,7 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 . ./common.repair # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # nuke the root, rt bitmap, and rt summary inodes #tests/xfs/035 +2
-1@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -36,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfstests/xfs/036 +2
-1@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -36,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfstests/xfs/039 +2
-1@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -36,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfstests/xfs/043 +2
-1@@ -24,6 +24,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -38,7 +39,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfstests/xfs/055 +2
-1@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -36,7 +37,7 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 . ./common.dump # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out # real QA test starts here _supported_fs xfstests/xfs/071 +4
-3@@ -21,6 +21,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -44,11 +45,11 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 bitsperlong=`src/feature -w` # link correct .out file -rm -f $seq.out +rm -f $seqfull.out if [ "$bitsperlong" -eq 32 ]; then - ln -s $seq.out.32 $seq.out + ln -s $seq.out.32 $seqfull.out else - ln -s $seq.out.64 $seq.out + ln -s $seq.out.64 $seqfull.out fi _filter_io()tests/xfs/082 +5
-4@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -54,7 +55,7 @@ _require_scratch _require_v2log # link correct .out file -_link_out_file $seq.op +_link_out_file $seq.op $seqfull.op echo "*** init FS" umount $SCRATCH_DEV >/dev/null 2>&1@@ -118,14 +119,14 @@ for s in sync nosync ; do : else _print_operation - _cmp_op_output $seq.op $filtered + _cmp_op_output $seqfull.op $filtered fi _print_transaction_inode $start - _cmp_output $seq.trans_inode $filtered + _cmp_output $seqfull.trans_inode $filtered _print_transaction_buf $start - _cmp_output $seq.trans_buf $filtered + _cmp_output $seqfull.trans_buf $filtered done donetests/xfs/096 +4
-3@@ -23,6 +23,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -99,11 +100,11 @@ _require_scratch _require_v2log # choose .out file based on internal/external log -rm -f $seq.out +rm -f $seqfull.out if [ "$USE_EXTERNAL" = yes ]; then - ln -s $seq.external $seq.out + ln -s $seq.external $seqfull.out else - ln -s $seq.internal $seq.out + ln -s $seq.internal $seqfull.out fi # maximum log record sizetests/xfs/146 +2
-1@@ -22,6 +22,7 @@ #----------------------------------------------------------------------- # +seqfull=$0 seq=`basename $0` seqres=$RESULT_DIR/$seq echo "QA output created by $seq"@@ -52,7 +53,7 @@ _supported_fs xfs _supported_os Linux IRIX # link correct .out file -_link_out_file $seq.out +_link_out_file $seq.out $seqfull.out _require_scratch _scratch_mkfs_xfs >/dev/null 2>&1Signature · 6 lines
1.7.10.4 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
PATCH 20/25 xfstests: introduce a common directory
In reply to Dave ChinnerFrom: Dave Chinner <[email protected]>
Introduce a top level common directory and move all the common.* files into it. Because there is now a directory named common, the prefix can be dropped from all the files. Convert all the tests to use this new directory for including common files.
for f in common.*; do \ git mv `echo -n "$f " ; echo $f | sed -e 's;n\.;n/;'` \
done
--- check | 10 +++++----- common.attr => common/attr | 0 common.config => common/config | 0 common.defrag => common/defrag | 0 common.dmapi => common/dmapi | 0 common.dump => common/dump | 0 common.filestreams => common/filestreams | 0 common.filter => common/filter | 0 btrfs.filter => common/filter.btrfs | 0 common.log => common/log | 0 common.punch => common/punch | 2 +- common.quota => common/quota | 0 common.rc => common/rc | 2 +- common.repair => common/repair | 0 common.scsi_debug => common/scsi_debug | 0 tests/btrfs/254 | 4 ++-- tests/btrfs/264 | 4 ++-- tests/btrfs/265 | 4 ++-- tests/btrfs/276 | 4 ++-- tests/btrfs/284 | 6 +++--- tests/btrfs/313 | 4 ++-- tests/ext4/271 | 4 ++-- tests/ext4/301 | 6 +++--- tests/ext4/302 | 6 +++--- tests/ext4/303 | 6 +++--- tests/ext4/304 | 6 +++--- tests/generic/001 | 4 ++-- tests/generic/002 | 4 ++-- tests/generic/005 | 4 ++-- tests/generic/006 | 4 ++-- tests/generic/007 | 4 ++-- tests/generic/010 | 4 ++-- tests/generic/011 | 4 ++-- tests/generic/013 | 4 ++-- tests/generic/014 | 4 ++-- tests/generic/015 | 4 ++-- tests/generic/020 | 6 +++--- tests/generic/053 | 6 +++--- tests/generic/062 | 6 +++--- tests/generic/068 | 4 ++-- tests/generic/069 | 4 ++-- tests/generic/070 | 6 +++--- tests/generic/074 | 4 ++-- tests/generic/075 | 4 ++-- tests/generic/076 | 4 ++-- tests/generic/077 | 6 +++--- tests/generic/079 | 6 +++--- tests/generic/083 | 4 ++-- tests/generic/088 | 4 ++-- tests/generic/089 | 4 ++-- tests/generic/091 | 4 ++-- tests/generic/093 | 6 +++--- tests/generic/097 | 4 ++-- tests/generic/099 | 6 +++--- tests/generic/100 | 6 +++--- tests/generic/105 | 6 +++--- tests/generic/112 | 4 ++-- tests/generic/113 | 4 ++-- tests/generic/117 | 6 +++--- tests/generic/120 | 4 ++-- tests/generic/123 | 4 ++-- tests/generic/124 | 4 ++-- tests/generic/125 | 4 ++-- tests/generic/126 | 4 ++-- tests/generic/127 | 4 ++-- tests/generic/128 | 4 ++-- tests/generic/129 | 4 ++-- tests/generic/130 | 4 ++-- tests/generic/131 | 4 ++-- tests/generic/132 | 4 ++-- tests/generic/133 | 4 ++-- tests/generic/135 | 4 ++-- tests/generic/141 | 4 ++-- tests/generic/169 | 4 ++-- tests/generic/184 | 4 ++-- tests/generic/192 | 4 ++-- tests/generic/193 | 4 ++-- tests/generic/198 | 4 ++-- tests/generic/204 | 4 ++-- tests/generic/207 | 4 ++-- tests/generic/208 | 4 ++-- tests/generic/209 | 4 ++-- tests/generic/210 | 4 ++-- tests/generic/211 | 4 ++-- tests/generic/212 | 4 ++-- tests/generic/213 | 4 ++-- tests/generic/214 | 4 ++-- tests/generic/215 | 4 ++-- tests/generic/219 | 6 +++--- tests/generic/221 | 2 +- tests/generic/223 | 4 ++-- tests/generic/224 | 4 ++-- tests/generic/225 | 4 ++-- tests/generic/226 | 2 +- tests/generic/228 | 2 +- tests/generic/230 | 6 +++--- tests/generic/231 | 6 +++--- tests/generic/232 | 6 +++--- tests/generic/233 | 6 +++--- tests/generic/234 | 6 +++--- tests/generic/235 | 6 +++--- tests/generic/236 | 2 +- tests/generic/237 | 6 +++--- tests/generic/239 | 4 ++-- tests/generic/240 | 4 ++-- tests/generic/241 | 4 ++-- tests/generic/245 | 4 ++-- tests/generic/246 | 4 ++-- tests/generic/247 | 4 ++-- tests/generic/248 | 4 ++-- tests/generic/249 | 4 ++-- tests/generic/251 | 4 ++-- tests/generic/255 | 6 +++--- tests/generic/256 | 6 +++--- tests/generic/257 | 4 ++-- tests/generic/258 | 2 +- tests/generic/260 | 4 ++-- tests/generic/263 | 4 ++-- tests/generic/269 | 4 ++-- tests/generic/270 | 6 +++--- tests/generic/273 | 4 ++-- tests/generic/274 | 4 ++-- tests/generic/275 | 4 ++-- tests/generic/277 | 4 ++-- tests/generic/280 | 6 +++--- tests/generic/285 | 4 ++-- tests/generic/286 | 4 ++-- tests/generic/288 | 4 ++-- tests/generic/294 | 4 ++-- tests/generic/299 | 4 ++-- tests/generic/300 | 4 ++-- tests/shared/051 | 6 +++--- tests/shared/218 | 6 +++--- tests/shared/243 | 4 ++-- tests/shared/272 | 4 ++-- tests/shared/289 | 4 ++-- tests/shared/298 | 4 ++-- tests/shared/305 | 6 +++--- tests/udf/098 | 4 ++-- tests/udf/101 | 4 ++-- tests/udf/102 | 4 ++-- tests/xfs/003 | 4 ++-- tests/xfs/004 | 4 ++-- tests/xfs/008 | 4 ++-- tests/xfs/009 | 4 ++-- tests/xfs/012 | 4 ++-- tests/xfs/016 | 4 ++-- tests/xfs/017 | 4 ++-- tests/xfs/018 | 6 +++--- tests/xfs/019 | 4 ++-- tests/xfs/021 | 6 +++--- tests/xfs/022 | 4 ++-- tests/xfs/023 | 4 ++-- tests/xfs/024 | 4 ++-- tests/xfs/025 | 4 ++-- tests/xfs/026 | 4 ++-- tests/xfs/027 | 4 ++-- tests/xfs/028 | 4 ++-- tests/xfs/029 | 4 ++-- tests/xfs/030 | 6 +++--- tests/xfs/031 | 6 +++--- tests/xfs/032 | 4 ++-- tests/xfs/033 | 6 +++--- tests/xfs/034 | 4 ++-- tests/xfs/035 | 4 ++-- tests/xfs/036 | 4 ++-- tests/xfs/037 | 4 ++-- tests/xfs/038 | 4 ++-- tests/xfs/039 | 4 ++-- tests/xfs/040 | 4 ++-- tests/xfs/041 | 4 ++-- tests/xfs/042 | 4 ++-- tests/xfs/043 | 4 ++-- tests/xfs/044 | 4 ++-- tests/xfs/045 | 4 ++-- tests/xfs/046 | 4 ++-- tests/xfs/047 | 4 ++-- tests/xfs/048 | 4 ++-- tests/xfs/049 | 4 ++-- tests/xfs/050 | 6 +++--- tests/xfs/052 | 6 +++--- tests/xfs/054 | 6 +++--- tests/xfs/055 | 4 ++-- tests/xfs/056 | 4 ++-- tests/xfs/057 | 4 ++-- tests/xfs/058 | 4 ++-- tests/xfs/059 | 4 ++-- tests/xfs/060 | 4 ++-- tests/xfs/061 | 4 ++-- tests/xfs/063 | 8 ++++---- tests/xfs/064 | 6 +++--- tests/xfs/065 | 6 +++--- tests/xfs/066 | 6 +++--- tests/xfs/067 | 6 +++--- tests/xfs/071 | 4 ++-- tests/xfs/072 | 4 ++-- tests/xfs/073 | 4 ++-- tests/xfs/078 | 4 ++-- tests/xfs/080 | 4 ++-- tests/xfs/081 | 8 ++++---- tests/xfs/082 | 6 +++--- tests/xfs/084 | 4 ++-- tests/xfs/085 | 6 +++--- tests/xfs/086 | 6 +++--- tests/xfs/087 | 8 ++++---- tests/xfs/090 | 4 ++-- tests/xfs/092 | 4 ++-- tests/xfs/094 | 4 ++-- tests/xfs/095 | 6 +++--- tests/xfs/096 | 6 +++--- tests/xfs/103 | 4 ++-- tests/xfs/104 | 4 ++-- tests/xfs/106 | 6 +++--- tests/xfs/107 | 6 +++--- tests/xfs/108 | 6 +++--- tests/xfs/109 | 4 ++-- tests/xfs/110 | 4 ++-- tests/xfs/111 | 4 ++-- tests/xfs/114 | 6 +++--- tests/xfs/115 | 6 +++--- tests/xfs/116 | 6 +++--- tests/xfs/118 | 6 +++--- tests/xfs/119 | 4 ++-- tests/xfs/121 | 6 +++--- tests/xfs/122 | 2 +- tests/xfs/134 | 6 +++--- tests/xfs/136 | 6 +++--- tests/xfs/137 | 4 ++-- tests/xfs/138 | 4 ++-- tests/xfs/139 | 4 ++-- tests/xfs/140 | 4 ++-- tests/xfs/142 | 6 +++--- tests/xfs/143 | 6 +++--- tests/xfs/144 | 6 +++--- tests/xfs/145 | 6 +++--- tests/xfs/146 | 6 +++--- tests/xfs/147 | 6 +++--- tests/xfs/148 | 6 +++--- tests/xfs/149 | 6 +++--- tests/xfs/150 | 6 +++--- tests/xfs/151 | 6 +++--- tests/xfs/152 | 6 +++--- tests/xfs/153 | 6 +++--- tests/xfs/154 | 6 +++--- tests/xfs/155 | 6 +++--- tests/xfs/156 | 6 +++--- tests/xfs/157 | 6 +++--- tests/xfs/158 | 6 +++--- tests/xfs/159 | 6 +++--- tests/xfs/160 | 6 +++--- tests/xfs/161 | 6 +++--- tests/xfs/162 | 6 +++--- tests/xfs/163 | 6 +++--- tests/xfs/164 | 4 ++-- tests/xfs/165 | 4 ++-- tests/xfs/166 | 4 ++-- tests/xfs/167 | 4 ++-- tests/xfs/168 | 6 +++--- tests/xfs/170 | 6 +++--- tests/xfs/171 | 6 +++--- tests/xfs/172 | 6 +++--- tests/xfs/173 | 6 +++--- tests/xfs/174 | 6 +++--- tests/xfs/175 | 8 ++++---- tests/xfs/176 | 8 ++++---- tests/xfs/177 | 6 +++--- tests/xfs/178 | 6 +++--- tests/xfs/179 | 4 ++-- tests/xfs/180 | 4 ++-- tests/xfs/181 | 6 +++--- tests/xfs/182 | 4 ++-- tests/xfs/183 | 4 ++-- tests/xfs/185 | 6 +++--- tests/xfs/186 | 6 +++--- tests/xfs/187 | 6 +++--- tests/xfs/188 | 4 ++-- tests/xfs/189 | 4 ++-- tests/xfs/190 | 4 ++-- tests/xfs/191 | 4 ++-- tests/xfs/194 | 4 ++-- tests/xfs/195 | 4 ++-- tests/xfs/196 | 6 +++--- tests/xfs/197 | 4 ++-- tests/xfs/199 | 4 ++-- tests/xfs/200 | 4 ++-- tests/xfs/201 | 4 ++-- tests/xfs/202 | 6 +++--- tests/xfs/203 | 4 ++-- tests/xfs/205 | 4 ++-- tests/xfs/206 | 4 ++-- tests/xfs/216 | 4 ++-- tests/xfs/217 | 4 ++-- tests/xfs/220 | 6 +++--- tests/xfs/222 | 4 ++-- tests/xfs/227 | 4 ++-- tests/xfs/229 | 2 +- tests/xfs/238 | 4 ++-- tests/xfs/242 | 6 +++--- tests/xfs/244 | 6 +++--- tests/xfs/250 | 4 ++-- tests/xfs/252 | 6 +++--- tests/xfs/253 | 4 ++-- tests/xfs/259 | 2 +- tests/xfs/261 | 6 +++--- tests/xfs/262 | 6 +++--- tests/xfs/266 | 4 ++-- tests/xfs/267 | 6 +++--- tests/xfs/268 | 6 +++--- tests/xfs/278 | 4 ++-- tests/xfs/279 | 6 +++--- tests/xfs/281 | 4 ++-- tests/xfs/282 | 4 ++-- tests/xfs/283 | 4 ++-- tests/xfs/287 | 4 ++-- tests/xfs/290 | 4 ++-- tests/xfs/291 | 4 ++-- tests/xfs/292 | 4 ++-- tests/xfs/293 | 4 ++-- tests/xfs/295 | 4 ++-- tests/xfs/296 | 6 +++--- tests/xfs/297 | 4 ++-- 321 files changed, 725 insertions(+), 725 deletions(-) rename common.attr => common/attr (100%) rename common.config => common/config (100%) rename common.defrag => common/defrag (100%) rename common.dmapi => common/dmapi (100%) rename common.dump => common/dump (100%) rename common.filestreams => common/filestreams (100%) rename common.filter => common/filter (100%) rename btrfs.filter => common/filter.btrfs (100%) rename common.log => common/log (100%) rename common.punch => common/punch (99%) rename common.quota => common/quota (100%) rename common.rc => common/rc (99%) rename common.repair => common/repair (100%) rename common.scsi_debug => common/scsi_debug (100%)
check +5 -5
@@ -133,9 +133,9 @@ fi export FSTYP # we need common.config -if ! . ./common.config +if ! . ./common/config then - echo "$iam: failed to source common.config" + echo "$iam: failed to source common/config" exit 1 fi
@@ -266,10 +266,10 @@ then list=`echo $list | awk -f randomize.awk` fi -# we need common.rc -if ! . ./common.rc +# we need common/rc +if ! . ./common/rc then - echo "check: failed to source common.rc" + echo "check: failed to source common/rc" exit 1 fi
common/attr renamed from common.attr +0 -0
common/config renamed from common.config +0 -0
common/defrag renamed from common.defrag +0 -0
common/dmapi renamed from common.dmapi +0 -0
common/dump renamed from common.dump +0 -0
common/filestreams renamed from common.filestreams +0 -0
common/filter renamed from common.filter +0 -0
common/filter.btrfs renamed from btrfs.filter +0 -0
common/log renamed from common.log +0 -0
common/punch renamed from common.punch +1 -1
@@ -19,7 +19,7 @@ # common functions for excersizing hole punches with extent size hints etc. # source dmap_scratch_mount etc. -. ./common.dmapi +. ./common/dmapi _spawn_test_file() { echo "# spawning test file with $*"
common/quota renamed from common.quota +0 -0
common/rc renamed from common.rc +1 -1
@@ -154,7 +154,7 @@ _fsck_opts() # we need common.config if [ "$iam" != "check" ] then - if ! . ./common.config + if ! . ./common/config then echo "$iam: failed to source common.config" exit 1
common/repair renamed from common.repair +0 -0
common/scsi_debug renamed from common.scsi_debug +0 -0
tests/btrfs/254 +2 -2
@@ -38,8 +38,8 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs btrfs
tests/btrfs/264 +2 -2
@@ -38,8 +38,8 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _need_to_be_root _supported_fs btrfs
tests/btrfs/265 +2 -2
@@ -42,8 +42,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _need_to_be_root _supported_fs btrfs
tests/btrfs/276 +2 -2
@@ -42,8 +42,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _need_to_be_root
tests/btrfs/284 +3 -3
@@ -124,9 +124,9 @@ _rundefrag() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.defrag +. ./common/rc +. ./common/filter +. ./common/defrag # real QA test starts here _supported_fs btrfs
tests/btrfs/313 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./btrfs.filter +. ./common/rc +. ./common/filter.btrfs # real QA test starts here
tests/ext4/271 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs ext4
tests/ext4/301 +3 -3
@@ -32,9 +32,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.defrag +. ./common/rc +. ./common/filter +. ./common/defrag # real QA test starts here _supported_os Linux
tests/ext4/302 +3 -3
@@ -33,9 +33,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.defrag +. ./common/rc +. ./common/filter +. ./common/defrag # real QA test starts here _supported_os Linux
tests/ext4/303 +3 -3
@@ -33,9 +33,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.defrag +. ./common/rc +. ./common/filter +. ./common/defrag # real QA test starts here _supported_os Linux
tests/ext4/304 +3 -3
@@ -34,9 +34,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.defrag +. ./common/rc +. ./common/filter +. ./common/defrag # real QA test starts here _supported_os Linux
tests/generic/001 +2 -2
@@ -36,8 +36,8 @@ seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter tmp=/tmp/$$ here=`pwd`
tests/generic/002 +2 -2
@@ -27,8 +27,8 @@ seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter tmp=/tmp/$$ here=`pwd`
tests/generic/005 +2 -2
@@ -62,8 +62,8 @@ _touch() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/006 +2 -2
@@ -49,8 +49,8 @@ _count() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/007 +2 -2
@@ -43,8 +43,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/010 +2 -2
@@ -49,8 +49,8 @@ _filter_dbtest() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter [ -x $here/src/dbtest ] || _notrun "dbtest was not built for this platform"
tests/generic/011 +2 -2
@@ -41,8 +41,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/013 +2 -2
@@ -51,8 +51,8 @@ _filesize() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _do_test() {
tests/generic/014 +2 -2
@@ -40,8 +40,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _supported_fs generic _supported_os IRIX Linux
tests/generic/015 +2 -2
@@ -31,8 +31,8 @@ tmp=/tmp/$$ status=1 # success is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _cleanup() {
tests/generic/020 +3 -3
@@ -32,9 +32,9 @@ status=0 # success is the default! trap "_cleanup; rm -f $tmp.* $testfile; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _cleanup() {
tests/generic/053 +3 -3
@@ -32,9 +32,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # real QA test starts here _supported_fs generic
tests/generic/062 +3 -3
@@ -32,9 +32,9 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _cleanup() {
tests/generic/068 +2 -2
@@ -46,8 +46,8 @@ trap "_cleanup" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/069 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/070 +3 -3
@@ -39,9 +39,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # real QA test starts here _supported_fs generic
tests/generic/074 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _do_test() {
tests/generic/075 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _do_test() {
tests/generic/076 +2 -2
@@ -48,8 +48,8 @@ _cleanup() trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/077 +3 -3
@@ -41,9 +41,9 @@ _cleanup() trap "_cleanup; rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # real QA test starts here _supported_fs generic
tests/generic/079 +3 -3
@@ -41,9 +41,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _supported_fs generic _supported_os Linux
tests/generic/083 +2 -2
@@ -49,8 +49,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/088 +2 -2
@@ -34,8 +34,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _filter() {
tests/generic/089 +2 -2
@@ -34,8 +34,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter addentries() {
tests/generic/091 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/093 +3 -3
@@ -35,9 +35,9 @@ status=1 # FAILure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _cleanup() {
tests/generic/097 +2 -2
@@ -59,8 +59,8 @@ _umount_and_mount() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # link correct .out file # This is done bacause udf and xfs print attrs in different orders.
tests/generic/099 +3 -3
@@ -33,9 +33,9 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr runas=$here/src/runas
tests/generic/100 +3 -3
@@ -33,8 +33,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _cleanup() {
@@ -45,7 +45,7 @@ _cleanup() _supported_fs generic _supported_os IRIX Linux -# Use _populate_fs() in common.rc to create a directory structure. +# Use _populate_fs() in common/rc to create a directory structure. TEMP_DIR=/tmp [ "$FSTYP" == "xfs" ] && TEMP_DIR=$TEST_DIR TAR_FILE=temp.tar
tests/generic/105 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # Modify as appropriate. _supported_fs generic
tests/generic/112 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _do_test() {
tests/generic/113 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _do_test() {
tests/generic/117 +3 -3
@@ -71,9 +71,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # real QA test starts here _supported_fs generic
tests/generic/120 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/123 +2 -2
@@ -42,8 +42,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/124 +2 -2
@@ -42,8 +42,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/125 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/126 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/127 +2 -2
@@ -42,8 +42,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter FSX_FILE_SIZE=262144 FSX_ARGS="-q -l $FSX_FILE_SIZE -o 65536 -S 191110531 -N 100000"
tests/generic/128 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/129 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter echo_and_run() {
tests/generic/130 +2 -2
@@ -47,8 +47,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/131 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/132 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/133 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/135 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/141 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/169 +2 -2
@@ -48,8 +48,8 @@ _show_wrote_and_stat_only() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/184 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/192 +2 -2
@@ -39,8 +39,8 @@ _access_time() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/193 +2 -2
@@ -58,8 +58,8 @@ _cleanup_files() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/198 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _supported_fs generic _supported_os Linux
tests/generic/204 +2 -2
@@ -30,8 +30,8 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/207 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/208 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/209 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/210 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/211 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/212 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/213 +2 -2
@@ -41,8 +41,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here # generic, but xfs_io's fallocate must work
tests/generic/214 +2 -2
@@ -39,8 +39,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here # generic, but xfs_io's fallocate must work
tests/generic/215 +2 -2
@@ -39,8 +39,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/219 +3 -3
@@ -35,9 +35,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota # real QA test starts here _supported_fs generic
tests/generic/221 +1 -1
@@ -34,7 +34,7 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc +. ./common/rc # real QA test starts here _supported_fs generic
tests/generic/223 +2 -2
@@ -38,8 +38,8 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/224 +2 -2
@@ -44,8 +44,8 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/225 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/226 +1 -1
@@ -32,7 +32,7 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc +. ./common/rc _supported_fs generic _supported_os Linux IRIX
tests/generic/228 +1 -1
@@ -40,7 +40,7 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 25 # get standard environment, filters and checks -. ./common.rc +. ./common/rc # real QA test starts here # generic, but xfs_io's fallocate must work
tests/generic/230 +3 -3
@@ -35,9 +35,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota # real QA test starts here _supported_fs generic
tests/generic/231 +3 -3
@@ -33,9 +33,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota FSX_FILE_SIZE=64000000 FSX_ARGS="-q -l $FSX_FILE_SIZE -o 65536 -N 20000"
tests/generic/232 +3 -3
@@ -33,9 +33,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota _filter_num() {
tests/generic/233 +3 -3
@@ -34,9 +34,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota FSX_FILE_SIZE=64000000 FSX_ARGS="-q -l $FSX_FILE_SIZE -o 65536 -S 191110531 -N 100000"
tests/generic/234 +3 -3
@@ -35,9 +35,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota test_setting() {
tests/generic/235 +3 -3
@@ -35,9 +35,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota # real QA test starts here _supported_fs generic
tests/generic/236 +1 -1
@@ -37,7 +37,7 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc +. ./common/rc # real QA test starts here _supported_fs generic
tests/generic/237 +3 -3
@@ -34,9 +34,9 @@ status=1 # FAILure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _cleanup() {
tests/generic/239 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _supported_fs generic _supported_os Linux
tests/generic/240 +2 -2
@@ -44,8 +44,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _supported_fs generic _supported_os Linux
tests/generic/241 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _supported_fs generic _supported_os Linux
tests/generic/245 +2 -2
@@ -33,8 +33,8 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/246 +2 -2
@@ -34,8 +34,8 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/247 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/248 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/249 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/251 +2 -2
@@ -37,8 +37,8 @@ chpid=0 mypid=$$ # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/255 +3 -3
@@ -38,9 +38,9 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.punch +. ./common/rc +. ./common/filter +. ./common/punch # real QA test starts here _supported_fs generic
tests/generic/256 +3 -3
@@ -38,9 +38,9 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.punch +. ./common/rc +. ./common/filter +. ./common/punch # real QA test starts here _supported_fs generic
tests/generic/257 +2 -2
@@ -36,8 +36,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/258 +1 -1
@@ -40,7 +40,7 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc +. ./common/rc # real QA test starts here _supported_fs generic
tests/generic/260 +2 -2
@@ -34,8 +34,8 @@ chpid=0 mypid=$$ # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/263 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/269 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # Disable all sync operations to get higher load FSSTRESS_AVOID="$FSSTRESS_AVOID -ffsync=0 -fsync=0 -ffdatasync=0" _workout()
tests/generic/270 +3 -3
@@ -33,9 +33,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota # Disable all sync operations to get higher load FSSTRESS_AVOID="$FSSTRESS_AVOID -ffsync=0 -fsync=0 -ffdatasync=0"
tests/generic/273 +2 -2
@@ -39,8 +39,8 @@ _cleanup() _scratch_unmount } -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter threads=50 count=2
tests/generic/274 +2 -2
@@ -41,8 +41,8 @@ _cleanup() _scratch_unmount } -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/275 +2 -2
@@ -39,8 +39,8 @@ _cleanup() _scratch_unmount } -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/277 +2 -2
@@ -36,8 +36,8 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/280 +3 -3
@@ -38,9 +38,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota _require_scratch _require_quota
tests/generic/285 +2 -2
@@ -34,8 +34,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _supported_fs generic _supported_os Linux
tests/generic/286 +2 -2
@@ -31,8 +31,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/288 +2 -2
@@ -30,8 +30,8 @@ status=0 trap "exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/294 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/generic/299 +2 -2
@@ -34,8 +34,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/generic/300 +2 -2
@@ -34,8 +34,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs generic
tests/shared/051 +3 -3
@@ -32,9 +32,9 @@ status=1 # FAILure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _cleanup() {
tests/shared/218 +3 -3
@@ -38,9 +38,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.defrag +. ./common/rc +. ./common/filter +. ./common/defrag # real QA test starts here _supported_fs xfs ext4 btrfs
tests/shared/243 +2 -2
@@ -113,8 +113,8 @@ _check_ext4_eof_flag() } # Get standard environment, filters and checks. -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # Prerequisites for the test run. _supported_fs ext4 xfs btrfs gfs2
tests/shared/272 +2 -2
@@ -37,8 +37,8 @@ write_opt_list="iflag=noatime conv=notrunc conv=fsync" [ $FSTYP = "ext4" ] && write_opt_list="$write_opt_list oflag=direct" # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _workout() { echo "Switch data journalling mode. Silence is golden."
tests/shared/289 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/shared/298 +2 -2
@@ -28,8 +28,8 @@ echo "QA output created by $seq" status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 -. common.config -. common.rc +. common/config +. common/rc _supported_fs ext4 xfs _supported_os Linux
tests/shared/305 +3 -3
@@ -32,15 +32,15 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _supported_fs ext3 ext4 xfs btrfs reiserfs _supported_os Linux _need_to_be_root _require_scratch _require_fail_make_request -# TODO: Function are common enough to be moved to common.blkdev +# TODO: Function are common enough to be moved to common/blkdev SCRATCH_REAL_DEV=`readlink -f $SCRATCH_DEV` SCRATCH_BDEV=`basename $SCRATCH_REAL_DEV`
tests/udf/098 +2 -2
@@ -44,8 +44,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _db_filter() {
tests/udf/101 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs udf
tests/udf/102 +2 -2
@@ -39,8 +39,8 @@ _cleanup() _cleanup_testdir } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs udf
tests/xfs/003 +2 -2
@@ -27,8 +27,8 @@ seqres=$RESULT_DIR/$seq echo "QA output created by $seq" # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter tmp=/tmp/$$ here=`pwd`
tests/xfs/004 +2 -2
@@ -54,8 +54,8 @@ _populate_scratch() # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/008 +2 -2
@@ -46,8 +46,8 @@ _filter() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _do_test() {
tests/xfs/009 +2 -2
@@ -71,8 +71,8 @@ _filesize() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/012 +2 -2
@@ -45,8 +45,8 @@ _filesize() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _do_test() {
tests/xfs/016 +2 -2
@@ -171,8 +171,8 @@ _check_corrupt() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/017 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/018 +3 -3
@@ -32,9 +32,9 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log +. ./common/rc +. ./common/filter +. ./common/log _cleanup() {
tests/xfs/019 +2 -2
@@ -31,8 +31,8 @@ tmp=/tmp/$$ seqfull="$seqres.full" status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _cleanup() {
tests/xfs/021 +3 -3
@@ -30,9 +30,9 @@ here=`pwd` tmp=/tmp/$$ status=0 # success is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _cleanup() {
tests/xfs/022 +2 -2
@@ -35,8 +35,8 @@ tmp=/tmp/$$ status=0 # success is the default! trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15 -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/023 +2 -2
@@ -34,8 +34,8 @@ status=0 # success is the default! trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/024 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/025 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/026 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/027 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/028 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/029 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _filter_logprint() {
tests/xfs/030 +3 -3
@@ -41,9 +41,9 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.repair +. ./common/rc +. ./common/filter +. ./common/repair # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/031 +3 -3
@@ -34,9 +34,9 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 rm -f $seqres.full # get standard environment, filters and checks -. ./common.rc -. ./common.repair -. ./common.filter +. ./common/rc +. ./common/repair +. ./common/filter # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/032 +2 -2
@@ -33,8 +33,8 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 rm -f $seqres.full # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/033 +3 -3
@@ -41,9 +41,9 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.repair +. ./common/rc +. ./common/filter +. ./common/repair # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/034 +2 -2
@@ -40,8 +40,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/035 +2 -2
@@ -33,8 +33,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/036 +2 -2
@@ -33,8 +33,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/037 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/038 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/039 +2 -2
@@ -33,8 +33,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/040 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter [ -z "$KWORKAREA" ] && \ _notrun "Can't run srcdiff without KWORKAREA set"
tests/xfs/041 +2 -2
@@ -41,8 +41,8 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/042 +2 -2
@@ -41,8 +41,8 @@ _cleanup() trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/043 +2 -2
@@ -35,8 +35,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/044 +2 -2
@@ -36,8 +36,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/045 +2 -2
@@ -33,8 +33,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _get_existing_uuid() {
tests/xfs/046 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/047 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/048 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _cleanup() {
tests/xfs/049 +2 -2
@@ -46,8 +46,8 @@ status=1 # failure is the default! trap "_cleanup ; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/050 +3 -3
@@ -32,9 +32,9 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota _cleanup() {
tests/xfs/052 +3 -3
@@ -34,9 +34,9 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota _cleanup() {
tests/xfs/054 +3 -3
@@ -32,9 +32,9 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota _cleanup() {
tests/xfs/055 +2 -2
@@ -33,8 +33,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # link correct .out file _link_out_file $seq.out $seqfull.out
tests/xfs/056 +2 -2
@@ -33,8 +33,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/057 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _notrun "Place holder for IRIX test 057"
tests/xfs/058 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _notrun "Place holder for IRIX test 058"
tests/xfs/059 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/060 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/061 +2 -2
@@ -32,8 +32,8 @@ status=0 # success is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.dump +. ./common/rc +. ./common/dump # real QA test starts here _supported_fs xfs
tests/xfs/063 +4 -4
@@ -32,10 +32,10 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dump -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/dump +. ./common/attr # real QA test starts here _supported_fs xfs
tests/xfs/064 +3 -3
@@ -32,9 +32,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dump +. ./common/rc +. ./common/filter +. ./common/dump _ls_size_filter()
tests/xfs/065 +3 -3
@@ -35,9 +35,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dump +. ./common/rc +. ./common/filter +. ./common/dump # # list recursively the directory
tests/xfs/066 +3 -3
@@ -32,9 +32,9 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dump +. ./common/rc +. ./common/filter +. ./common/dump _cleanup() {
tests/xfs/067 +3 -3
@@ -32,9 +32,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # real QA test starts here _supported_fs xfs
tests/xfs/071 +2 -2
@@ -40,8 +40,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter bitsperlong=`src/feature -w` # link correct .out file
tests/xfs/072 +2 -2
@@ -39,8 +39,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/073 +2 -2
@@ -31,8 +31,8 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # don't put fs images in /tmp imgs=$TEST_DIR/$$
tests/xfs/078 +2 -2
@@ -42,8 +42,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # loop devices are available in Linux only _supported_fs xfs
tests/xfs/080 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _cleanup() {
tests/xfs/081 +4 -4
@@ -31,10 +31,10 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/log +. ./common/quota # real QA test starts here _supported_fs xfs
tests/xfs/082 +3 -3
@@ -32,9 +32,9 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log +. ./common/rc +. ./common/filter +. ./common/log _cleanup() {
tests/xfs/084 +2 -2
@@ -33,8 +33,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _filter_resv() {
tests/xfs/085 +3 -3
@@ -35,9 +35,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log +. ./common/rc +. ./common/filter +. ./common/log # real QA test starts here _supported_fs xfs
tests/xfs/086 +3 -3
@@ -34,9 +34,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log +. ./common/rc +. ./common/filter +. ./common/log # real QA test starts here _supported_fs xfs
tests/xfs/087 +4 -4
@@ -34,10 +34,10 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/log +. ./common/quota _do_meta() {
tests/xfs/090 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/092 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/xfs/094 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/095 +3 -3
@@ -38,9 +38,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log +. ./common/rc +. ./common/filter +. ./common/log # real QA test starts here
tests/xfs/096 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log +. ./common/rc +. ./common/filter +. ./common/log # # filter out counts which will vary
tests/xfs/103 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _create_scratch() {
tests/xfs/104 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter _create_scratch() {
tests/xfs/106 +3 -3
@@ -34,9 +34,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota _supported_fs xfs _supported_os Linux #IRIX
tests/xfs/107 +3 -3
@@ -34,9 +34,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota filter_xfs_quota() {
tests/xfs/108 +3 -3
@@ -32,9 +32,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota # real QA test starts here _supported_fs xfs
tests/xfs/109 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/110 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/111 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/114 +3 -3
@@ -305,9 +305,9 @@ _test_dirstress() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _supported_fs xfs _supported_os IRIX
tests/xfs/115 +3 -3
@@ -92,9 +92,9 @@ _filter() # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr _supported_fs xfs _supported_os IRIX
tests/xfs/116 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota # real QA test starts here
tests/xfs/118 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota # real QA test starts here
tests/xfs/119 +2 -2
@@ -40,8 +40,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/xfs/121 +3 -3
@@ -36,9 +36,9 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log +. ./common/rc +. ./common/filter +. ./common/log # real QA test starts here _supported_fs xfs
tests/xfs/122 +1 -1
@@ -34,7 +34,7 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment -. ./common.rc +. ./common/rc # real QA test starts here _supported_fs xfs
tests/xfs/134 +3 -3
@@ -32,9 +32,9 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota _cleanup() {
tests/xfs/136 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # real QA test starts here
tests/xfs/137 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/138 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/139 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/140 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/142 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/143 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/144 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/145 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/146 +3 -3
@@ -44,9 +44,9 @@ _report_filter () { } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/147 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/148 +3 -3
@@ -41,9 +41,9 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.repair +. ./common/rc +. ./common/filter +. ./common/repair [ -z "$XFS_PARALLEL_REPAIR64_PROG" ] && _notrun "parallel repair binary xfs_prepair64 is not installed"
tests/xfs/149 +3 -3
@@ -34,9 +34,9 @@ trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 rm -f $seqres.full # get standard environment, filters and checks -. ./common.rc -. ./common.repair -. ./common.filter +. ./common/rc +. ./common/repair +. ./common/filter [ -z "$XFS_PARALLEL_REPAIR_PROG" ] && _notrun "parallel repair binary xfs_prepair is not installed"
tests/xfs/150 +3 -3
@@ -42,9 +42,9 @@ _filter_fs_handle() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/151 +3 -3
@@ -63,9 +63,9 @@ _check_sids() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/152 +3 -3
@@ -43,9 +43,9 @@ _filter_handles() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/153 +3 -3
@@ -38,9 +38,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/154 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/155 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/156 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/157 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/158 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/159 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/160 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/161 +3 -3
@@ -44,9 +44,9 @@ _filter_get_allocinfo() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/162 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/163 +3 -3
@@ -48,9 +48,9 @@ _filter_handles() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/164 +2 -2
@@ -61,8 +61,8 @@ _filter_bmap() # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/xfs/165 +2 -2
@@ -57,8 +57,8 @@ _filter_bmap() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/xfs/166 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # assumes 1st, 3rd and 5th blocks are single written blocks, # the others are unwritten.
tests/xfs/167 +2 -2
@@ -50,8 +50,8 @@ workout() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/168 +3 -3
@@ -62,9 +62,9 @@ s/^\s*\n//g ; } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/170 +3 -3
@@ -41,9 +41,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.filestreams +. ./common/rc +. ./common/filter +. ./common/filestreams # real QA test starts here _supported_fs xfs
tests/xfs/171 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.filestreams +. ./common/rc +. ./common/filter +. ./common/filestreams # real QA test starts here _supported_fs xfs
tests/xfs/172 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.filestreams +. ./common/rc +. ./common/filter +. ./common/filestreams # real QA test starts here _supported_fs xfs
tests/xfs/173 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.filestreams +. ./common/rc +. ./common/filter +. ./common/filestreams # real QA test starts here _supported_fs xfs
tests/xfs/174 +3 -3
@@ -40,9 +40,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.filestreams +. ./common/rc +. ./common/filter +. ./common/filestreams # real QA test starts here _supported_fs xfs
tests/xfs/175 +4 -4
@@ -41,10 +41,10 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi -. ./common.punch +. ./common/rc +. ./common/filter +. ./common/dmapi +. ./common/punch # real QA test starts here _supported_fs xfs
tests/xfs/176 +4 -4
@@ -38,10 +38,10 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi -. ./common.punch +. ./common/rc +. ./common/filter +. ./common/dmapi +. ./common/punch # real QA test starts here _supported_fs xfs
tests/xfs/177 +3 -3
@@ -39,9 +39,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here
tests/xfs/178 +3 -3
@@ -53,9 +53,9 @@ _dd_repair_check() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.repair +. ./common/rc +. ./common/filter +. ./common/repair # real QA test starts here
tests/xfs/179 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/180 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/181 +3 -3
@@ -43,9 +43,9 @@ status=1 # failure is the default! trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.log +. ./common/rc +. ./common/filter +. ./common/log # real QA test starts here _supported_fs xfs
tests/xfs/182 +2 -2
@@ -38,8 +38,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/183 +2 -2
@@ -39,8 +39,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/xfs/185 +3 -3
@@ -37,9 +37,9 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.dmapi +. ./common/rc +. ./common/filter +. ./common/dmapi # real QA test starts here _supported_fs xfs
tests/xfs/186 +3 -3
@@ -136,9 +136,9 @@ _changeto_attr1() # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # real QA test starts here
tests/xfs/187 +3 -3
@@ -48,9 +48,9 @@ _filter_version() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.attr +. ./common/rc +. ./common/filter +. ./common/attr # real QA test starts here _supported_fs xfs
tests/xfs/188 +2 -2
@@ -46,8 +46,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/189 +2 -2
@@ -192,8 +192,8 @@ _putback_scratch_fstab() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/190 +2 -2
@@ -44,8 +44,8 @@ status=0 # success is the default! rm -f $seqres.full # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/191 +2 -2
@@ -32,8 +32,8 @@ status=1 # failure is the default! trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/xfs/194 +2 -2
@@ -37,8 +37,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # only xfs supported due to use of xfs_bmap _supported_fs xfs
tests/xfs/195 +2 -2
@@ -56,8 +56,8 @@ _do_dump() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/196 +3 -3
@@ -41,9 +41,9 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.quota +. ./common/rc +. ./common/filter +. ./common/quota # real QA test starts here _supported_fs xfs
tests/xfs/197 +2 -2
@@ -42,8 +42,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/199 +2 -2
@@ -40,8 +40,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/200 +2 -2
@@ -37,8 +37,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/201 +2 -2
@@ -50,8 +50,8 @@ _cleanup() trap "_cleanup; exit \$status" 0 1 2 3 15 # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/202 +3 -3
@@ -30,9 +30,9 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter -. ./common.repair +. ./common/rc +. ./common/filter +. ./common/repair # real QA test starts here _supported_fs xfs
tests/xfs/203 +2 -2
@@ -65,8 +65,8 @@ trap "_cleanup; exit \$status" 0 1 2 3 15 rm -f $seqres.full # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/205 +2 -2
@@ -30,8 +30,8 @@ tmp=/tmp/$$ status=1 # failure is the default! # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here _supported_fs xfs
tests/xfs/206 +2 -2
@@ -45,8 +45,8 @@ _cleanup() } # get standard environment, filters and checks -. ./common.rc -. ./common.filter +. ./common/rc +. ./common/filter # real QA test starts here
tests/xfs/216 +2 -2
@@ -38,8 +38,8 @@ _cleanup() }
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 6 lines
1.7.10.4 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs
Part of the diff is not shown here. View the raw message.