qemu-iotests/162: Fix leaked temporary files
commita8e9c8480e30ee91d05ea096016526af46b1337e
authorKevin Wolf <kwolf@redhat.com>
Thu, 27 Jul 2017 13:13:20 +0000 (27 15:13 +0200)
committerKevin Wolf <kwolf@redhat.com>
Tue, 1 Aug 2017 16:09:33 +0000 (1 18:09 +0200)
treee7fa04147b3fb7bc4854ef1ca91bd164ebcf3e87
parent6a1e9096206f65525d1fec418b91d5ac82c77934
qemu-iotests/162: Fix leaked temporary files

qemu-iotests 162 left qemu-nbd.pid behind in the scratch directory, and
potentially a file called '42' in the current directory. Make sure to
clean it up after completing the tests.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
tests/qemu-iotests/162