@@ -1004,14 +1004,13 @@ function run_section()
if [ $sts -ne 0 ]; then
_dump_err_cont "[failed, exit status $sts]"
- _test_unmount 2> /dev/null
- _scratch_unmount 2> /dev/null
+ _test_unmount 2>> $seqres.full
+ _scratch_unmount 2>> $seqres.full
rm -f ${RESULT_DIR}/require_test*
rm -f ${RESULT_DIR}/require_scratch*
# Even though we failed, there may be something interesting in
# dmesg which can help debugging.
_check_dmesg
- (_adjust_oom_score 250; _check_filesystems)
tc_status="fail"
else
# The test apparently passed, so check for corruption
@@ -56,7 +56,7 @@ i=1;
while [ $i -lt 1000 ]
do
file=$SCRATCH_MNT/$i
- $XFS_IO_PROG -f -c "pwrite -b 32k -S 0xff 0 32k" $file > /dev/null
+ $XFS_IO_PROG -f -c "pwrite -b 32k -S 0xff 0 32k" $file >> $seqres.full
if [ $? -ne 0 ]
then
echo error creating/writing file $file
@@ -77,7 +77,7 @@ test_grace()
_filter_xfs_io_error | tee -a $seqres.full
repquota -v -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1
# Reset grace time here, make below grace time test more accurate
- setquota -$type $qa_user -T $bgrace $igrace $SCRATCH_MNT 2>/dev/null
+ setquota -$type $qa_user -T $bgrace $igrace $SCRATCH_MNT >>$seqres.full 2>&1
# Now sleep enough grace time and check that softlimit got enforced
sleep $((bgrace + 1))
echo "Try to write 1 one more block after grace..."
@@ -89,13 +89,13 @@ test_grace()
# 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 100 $SCRATCH_MNT
+ setquota -$type $qa_user 0 0 3 100 $SCRATCH_MNT
echo "Create 2 more files, over the inode softlimit..."
su $qa_user -c "touch $dir/file3 $dir/file4" 2>&1 >>$seqres.full | \
_filter_scratch | tee -a $seqres.full
repquota -v -$type $SCRATCH_MNT | grep -v "^root" >>$seqres.full 2>&1
# Reset grace time here, make below grace time test more accurate
- setquota -$type $qa_user -T $bgrace $igrace $SCRATCH_MNT 2>/dev/null
+ setquota -$type $qa_user -T $bgrace $igrace $SCRATCH_MNT >>$seqres.full 2>&1
# Wait and check grace time enforcement
sleep $((igrace+1))
echo "Try to create one more inode after grace..."
@@ -24,7 +24,7 @@ _require_populate_commands
_require_xfs_db_command "fuzz"
echo "Format and populate"
-_scratch_populate_cached nofill > $seqres.full 2>&1
+_scratch_populate_cached nofill >> $seqres.full 2>&1
filter_nbrepair() {
grep rebuilding | sed -e 's/directory inode [0-9]*/directory inode XXX/g'