Message ID | 20240307040408.15410-1-l@damenly.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [v3] btrfs/172,206: call _log_writes_cleanup in _cleanup | expand |
diff --git a/tests/btrfs/172 b/tests/btrfs/172 index f5acc6982cd7..f2997c047eff 100755 --- a/tests/btrfs/172 +++ b/tests/btrfs/172 @@ -13,6 +13,13 @@ . ./common/preamble _begin_fstest auto quick log replay recoveryloop +_cleanup() +{ + cd / + _log_writes_cleanup &> /dev/null + rm -f $tmp.* +} + # Import common functions. . ./common/filter . ./common/dmlogwrites diff --git a/tests/btrfs/206 b/tests/btrfs/206 index f6571649076f..6ac3d27bbde3 100755 --- a/tests/btrfs/206 +++ b/tests/btrfs/206 @@ -14,6 +14,13 @@ . ./common/preamble _begin_fstest auto quick log replay recoveryloop punch prealloc +_cleanup() +{ + cd / + _log_writes_cleanup &> /dev/null + rm -f $tmp.* +} + # Import common functions. . ./common/filter . ./common/dmlogwrites