#
seq=`basename $0`
+seqres=$RESULT_DIR/$seq
+seqres=$RESULT_DIR/$seq
+seqres=$RESULT_DIR/$seq
echo "QA output created by $seq"
here=`pwd`
_supported_fs xfs
_supported_os IRIX Linux
-rm -f $seq.full $tmp.*
+rm -f $seqres.full $tmp.*
_require_scratch
_require_v2log
# mkfs the FS
_echofull "mkfs"
- _scratch_mkfs_xfs >>$seq.full 2>&1
+ _scratch_mkfs_xfs >>$seqres.full 2>&1
if [ $? -ne 0 ] ; then
_echofull "mkfs failed: $MKFS_OPTIONS"
continue
# mount the FS
_echofull "mount"
- if ! _scratch_mount >>$seq.full 2>&1; then
+ if ! _scratch_mount >>$seqres.full 2>&1; then
_echofull "mount failed: $MOUNT_OPTIONS"
continue
fi
ls $SCRATCH_MNT
_echofull "godown"
- src/godown -v -f $SCRATCH_MNT >> $seq.full
+ src/godown -v -f $SCRATCH_MNT >> $seqres.full
_echofull "unmount"
- umount $SCRATCH_DEV >>$seq.full 2>&1 \
+ umount $SCRATCH_DEV >>$seqres.full 2>&1 \
|| _fail "umount failed"
_echofull "logprint after going down..."
_print_logstate
_echofull "mount with replay"
- _scratch_mount >>$seq.full 2>&1 \
+ _scratch_mount >>$seqres.full 2>&1 \
|| _fail "mount failed: $MOUNT_OPTIONS"
# check on what FS looks like after log recovery