xfstests: replace $seq.full with $seqres.full in ext4/305 and generic/308

We use $seqres.full to record verbose output now, replace $seq.full with
$seqres.full in ext4/305 and generic/308.

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Eryu Guan
2013-04-07 10:39:06 +00:00
committed by root
parent 17ecca6b12
commit 2bfce6d36f
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -46,12 +46,12 @@ _supported_os Linux
_require_scratch
rm -f $seq.full
rm -f $seqres.full
echo "Silence is golden"
DEV_BASENAME=$(basename $(readlink -f $SCRATCH_DEV))
echo "Start test on device $SCRATCH_DEV, basename $DEV_BASENAME" >$seq.full
_scratch_mkfs >>$seq.full 2>&1
echo "Start test on device $SCRATCH_DEV, basename $DEV_BASENAME" >$seqres.full
_scratch_mkfs >>$seqres.full 2>&1
while true;do
mount $SCRATCH_DEV $SCRATCH_MNT
+3 -3
View File
@@ -45,7 +45,7 @@ testfile=$TEST_DIR/testfile.$seq
_supported_fs generic
_supported_os Linux
rm -f $seq.full
rm -f $seqres.full
echo "Silence is golden"
block_size=`stat -f -c %s $TEST_DIR`
@@ -58,11 +58,11 @@ block_size=`stat -f -c %s $TEST_DIR`
# Create a sparse file with an extent lays at one block before old s_maxbytes
offset=$(((2**32 - 2) * $block_size))
$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile >$seq.full 2>&1
$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile >$seqres.full 2>&1
# Write to the block after the extent just created
offset=$(((2**32 - 1) * $block_size))
$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile >>$seq.full 2>&1
$XFS_IO_PROG -f -c "pwrite $offset $block_size" -c fsync $testfile >>$seqres.full 2>&1
# Got here without hitting BUG_ON(), test passed
status=0