All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] iotests: Clean up after 192
@ 2019-05-08 12:55 Max Reitz
  2019-05-08 13:00 ` Thomas Huth
  0 siblings, 1 reply; 3+ messages in thread
From: Max Reitz @ 2019-05-08 12:55 UTC (permalink / raw)
  To: qemu-block; +Cc: Kevin Wolf, Thomas Huth, qemu-devel, Max Reitz

This patch makes 192 clean up the qemu command FIFOs, the qemu PID file,
and the NBD socket file.

Reported by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
---
 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
 
-- 
2.20.1



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] iotests: Clean up after 192
  2019-05-08 12:55 [Qemu-devel] [PATCH] iotests: Clean up after 192 Max Reitz
@ 2019-05-08 13:00 ` Thomas Huth
  2019-05-08 13:01   ` Max Reitz
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Huth @ 2019-05-08 13:00 UTC (permalink / raw)
  To: Max Reitz, qemu-block; +Cc: Kevin Wolf, qemu-devel

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 <thuth@redhat.com>
> Signed-off-by: Max Reitz <mreitz@redhat.com>
> ---
>  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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH] iotests: Clean up after 192
  2019-05-08 13:00 ` Thomas Huth
@ 2019-05-08 13:01   ` Max Reitz
  0 siblings, 0 replies; 3+ messages in thread
From: Max Reitz @ 2019-05-08 13:01 UTC (permalink / raw)
  To: Thomas Huth, qemu-block; +Cc: Kevin Wolf, qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1027 bytes --]

On 08.05.19 15:00, Thomas Huth wrote:
> 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 <thuth@redhat.com>
>> Signed-off-by: Max Reitz <mreitz@redhat.com>
>> ---
>>  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

Dang.  At least it looks basically the same, so that’s good. O:-)

Max


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-05-08 13:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-08 12:55 [Qemu-devel] [PATCH] iotests: Clean up after 192 Max Reitz
2019-05-08 13:00 ` Thomas Huth
2019-05-08 13:01   ` Max Reitz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.