From: Eryu Guan Date: Sun, 7 Apr 2013 10:39:06 +0000 (+0000) Subject: xfstests: replace $seq.full with $seqres.full in ext4/305 and generic/308 X-Git-Tag: v2022.05.01~3458 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=2bfce6d36f9fb1cba6a0c677a82c08a6f305db62;p=users%2Fhch%2Fxfstests-dev.git 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 Reviewed-by: Rich Johnston Signed-off-by: Rich Johnston --- diff --git a/tests/ext4/305 b/tests/ext4/305 index bf9d9cd70..eee461a5c 100644 --- a/tests/ext4/305 +++ b/tests/ext4/305 @@ -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 diff --git a/tests/generic/308 b/tests/generic/308 index 0db093a88..8037c085f 100644 --- a/tests/generic/308 +++ b/tests/generic/308 @@ -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