mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fstests: fix various $seqres.full issues
There're many tests don't remove $seqres.full before writing to it, and accumulating logs there, then the logs are always growing over time. Let's fix them once. generic/16[1-8] generic/170 and generic/33[34] truncate $seqres.full in the middle of the test, which results in partial logs. Fix them as well. xfs/227 has duplicated lines to remove $seqres.full, remove the extra line. Signed-off-by: Eryu Guan <eguan@redhat.com> Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
+1
-1
@@ -60,7 +60,7 @@ nr_loops=$((loops - 1))
|
||||
blksz=65536
|
||||
|
||||
echo "Initialize files"
|
||||
echo > $seqres.full
|
||||
echo >> $seqres.full
|
||||
_pwrite_byte 0x61 0 $((loops * blksz)) $testdir/file1 >> $seqres.full
|
||||
_pwrite_byte 0x62 0 $((loops * blksz)) $testdir/file2 >> $seqres.full
|
||||
_cp_reflink $testdir/file1 $testdir/file3
|
||||
|
||||
Reference in New Issue
Block a user