crypto: remove temp files on completion of secrets test
commite7ed11f083015bf34a121cfff31540cf9c2bae23
authorDaniel P. Berrange <berrange@redhat.com>
Tue, 26 Apr 2016 09:59:09 +0000 (26 10:59 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 13 Jun 2016 11:41:17 +0000 (13 12:41 +0100)
treec4bbfa218255ebd58ac0f3d7b2c3cd9abaef61ac
parentb7b68166dcbadb1c207b4b6f25b23a18a292da2d
crypto: remove temp files on completion of secrets test

The secret object tests left some temporary files on disk
when completing. Ensure they are unlink, and rename them
to make it more obvious where they come from.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tests/test-crypto-secret.c