mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
fstests: add missing remove of the $seqres.full file for some tests
Some test cases are missing the 'rm -f $seqres.full' line but are appending to that file, so everytime they run that file gets bigger and bigger (some of them are using about a dozen megabytes on one of my test boxes). So just add the 'rm -f $seqres.full' line to them, together with the comment that the 'new' script generates for new test cases. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
@@ -25,6 +25,9 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# remove previous $seqres.full before test
|
||||
rm -f $seqres.full
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs btrfs
|
||||
_require_scratch
|
||||
|
||||
@@ -49,6 +49,9 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# remove previous $seqres.full before test
|
||||
rm -f $seqres.full
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs btrfs
|
||||
_require_scratch
|
||||
|
||||
@@ -26,6 +26,9 @@ _cleanup()
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# remove previous $seqres.full before test
|
||||
rm -f $seqres.full
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs btrfs
|
||||
_require_scratch
|
||||
|
||||
@@ -26,6 +26,9 @@ _cleanup()
|
||||
. ./common/rc
|
||||
. ./common/filter
|
||||
|
||||
# remove previous $seqres.full before test
|
||||
rm -f $seqres.full
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs btrfs
|
||||
_require_scratch
|
||||
|
||||
@@ -31,6 +31,9 @@ _cleanup()
|
||||
. ./common/filter
|
||||
. ./common/reflink
|
||||
|
||||
# remove previous $seqres.full before test
|
||||
rm -f $seqres.full
|
||||
|
||||
# real QA test starts here
|
||||
_supported_fs btrfs
|
||||
_require_scratch_reflink
|
||||
|
||||
@@ -15,6 +15,9 @@ trap "_cleanup; exit \$status" 0 1 2 3 15
|
||||
|
||||
. ./common/rc
|
||||
|
||||
# remove previous $seqres.full before test
|
||||
rm -f $seqres.full
|
||||
|
||||
_supported_fs ext4 xfs btrfs
|
||||
_require_test
|
||||
_require_loop
|
||||
|
||||
Reference in New Issue
Block a user