Re: [PATCH] fstests: fix g/019 cleanup

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Tue, Jun 29, 2021 at 10:55:00AM +1000, Dave Chinner wrote:
> From: Dave Chinner <dchinner@xxxxxxxxxx>
> 
> This never worked properly and the failure was exposed by the recent
> rework of the fstest setup infrastructure.
> 
> Signed-off-by: Dave Chinner <dchinner@xxxxxxxxxx>

Looks fine, and I have further cleanups for this test :P
Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>

--D

> ---
>  tests/generic/019 | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/tests/generic/019 b/tests/generic/019
> index 640c96ae..bd234815 100755
> --- a/tests/generic/019
> +++ b/tests/generic/019
> @@ -53,7 +53,6 @@ stop_fail_scratch_dev()
>  # Override the default cleanup function.
>  _cleanup()
>  {
> -    poweron_scratch_dev
>      disallow_fail_make_request
>      rm -f $tmp.*
>  }
> @@ -156,5 +155,4 @@ _scratch_mount
>  allow_fail_make_request
>  _workout
>  status=$?
> -disallow_fail_make_request
>  exit
> -- 
> 2.31.1
> 



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux