Merge of master-melb:xfs-cmds:29730a by kenmcd.
Check filesystem after log replay and abort test if errors found
umount $SCRATCH_MNT
_scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+ echo error detected in filesystem
+ exit
+fi
+_scratch_mount
# check file size and contents
i=1;
umount $SCRATCH_MNT
_scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+ echo error detected in filesystem
+ exit
+fi
+_scratch_mount
# check file size and contents
i=1;
umount $SCRATCH_MNT
_scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+ echo error detected in filesystem
+ exit
+fi
+_scratch_mount
# check file size and contents
i=1;
umount $SCRATCH_MNT
_scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+ echo error detected in filesystem
+ exit
+fi
+_scratch_mount
# check file size and contents
i=1;
src/godown $SCRATCH_MNT
umount $SCRATCH_MNT
_scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+ echo error detected in filesystem
+ exit
+fi
+_scratch_mount
_check_files
status=0
src/godown $SCRATCH_MNT
umount $SCRATCH_MNT
_scratch_mount
+umount $SCRATCH_MNT
+if [ ! _check_scratch_fs ]
+then
+ echo error detected in filesystem
+ exit
+fi
+_scratch_mount
_check_files
status=0