tests/unit/test-image-locking: Fix handling of temporary files
authorThomas Huth <thuth@redhat.com>
Wed, 12 Oct 2022 08:56:01 +0000 (10:56 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 12 Oct 2022 10:48:53 +0000 (12:48 +0200)
commit04c92d2654b130fd29597a57ae2d71e70895bf2b
tree40e06fdb33f634a88262ba099f834ec045872105
parent969d1f6e13fd34350b4b3fa72184e050ba77cd1c
tests/unit/test-image-locking: Fix handling of temporary files

test-image-locking leaves some temporary files around - clean
them up. While we're at it, test-image-locking is a unit test,
so it should not use "qtest.*" for temporary file names. Give
them better names instead, so that it clear where the temporary
files come from.

Message-Id: <20221012085932.799221-1-thuth@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/unit/test-image-locking.c