diff mbox series

[blktests] tests/nvme/031: add the missing steps for loop_dev clean up

Message ID 20210531044621.25514-1-yi.zhang@redhat.com (mailing list archive)
State New, archived
Headers show
Series [blktests] tests/nvme/031: add the missing steps for loop_dev clean up | expand

Commit Message

Yi Zhang May 31, 2021, 4:46 a.m. UTC
Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
---
 tests/nvme/031 | 2 ++
 1 file changed, 2 insertions(+)

Comments

Logan Gunthorpe May 31, 2021, 3:44 p.m. UTC | #1
On 2021-05-30 10:46 p.m., Yi Zhang wrote:
> Signed-off-by: Yi Zhang <yi.zhang@redhat.com>

Yup, thanks!

Reviewed-by: Logan Gunthorpe <logang@deltatee.com>

> ---
>  tests/nvme/031 | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/nvme/031 b/tests/nvme/031
> index 36263ca..7c18a64 100755
> --- a/tests/nvme/031
> +++ b/tests/nvme/031
> @@ -49,6 +49,8 @@ test() {
>  	done
>  
>  	_remove_nvmet_port "${port}"
> +	losetup -d "$loop_dev"
> +	rm "$TMPDIR/img"
>  
>  	echo "Test complete"
>  }
>
Omar Sandoval June 1, 2021, 5:15 p.m. UTC | #2
On Mon, May 31, 2021 at 12:46:21PM +0800, Yi Zhang wrote:
> Signed-off-by: Yi Zhang <yi.zhang@redhat.com>
> ---
>  tests/nvme/031 | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/nvme/031 b/tests/nvme/031
> index 36263ca..7c18a64 100755
> --- a/tests/nvme/031
> +++ b/tests/nvme/031
> @@ -49,6 +49,8 @@ test() {
>  	done
>  
>  	_remove_nvmet_port "${port}"
> +	losetup -d "$loop_dev"
> +	rm "$TMPDIR/img"
>  
>  	echo "Test complete"
>  }

Applied, thanks!
diff mbox series

Patch

diff --git a/tests/nvme/031 b/tests/nvme/031
index 36263ca..7c18a64 100755
--- a/tests/nvme/031
+++ b/tests/nvme/031
@@ -49,6 +49,8 @@  test() {
 	done
 
 	_remove_nvmet_port "${port}"
+	losetup -d "$loop_dev"
+	rm "$TMPDIR/img"
 
 	echo "Test complete"
 }