qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] iotests: Clean up after 192


From: Thomas Huth
Subject: Re: [Qemu-devel] [PATCH] iotests: Clean up after 192
Date: Wed, 8 May 2019 15:00:53 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 08/05/2019 14.55, Max Reitz wrote:
> This patch makes 192 clean up the qemu command FIFOs, the qemu PID file,
> and the NBD socket file.
> 
> Reported by: Thomas Huth <address@hidden>
> Signed-off-by: Max Reitz <address@hidden>
> ---
>  tests/qemu-iotests/192 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/tests/qemu-iotests/192 b/tests/qemu-iotests/192
> index 158086f9d2..37bd975eec 100755
> --- a/tests/qemu-iotests/192
> +++ b/tests/qemu-iotests/192
> @@ -29,7 +29,9 @@ status=1    # failure is the default!
>  
>  _cleanup()
>  {
> -     _cleanup_test_img
> +    _cleanup_qemu
> +    rm -f "$TEST_DIR/nbd"
> +    _cleanup_test_img
>  }
>  trap "_cleanup; exit \$status" 0 1 2 3 15

Thanks a lot! ... but Kevin was a little bit faster already:

https://lists.gnu.org/archive/html/qemu-devel/2019-05/msg01732.html

 Thomas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]