mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
+3
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user