[network-manager-openvpn] properties/tests: clean test data



commit b2c41184de73cf38ab17221c09881959321547b0
Author: Beniamino Galvani <bgalvani redhat com>
Date:   Tue Mar 1 14:17:16 2016 +0100

    properties/tests: clean test data
    
    This fixes 'make distcheck'.
    
    Fixes: 5f8e54faf90d9cc2f66e1aed02bc293d189f9703

 properties/tests/test-import-export.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/properties/tests/test-import-export.c b/properties/tests/test-import-export.c
index b2a8f0f..7aef1c2 100644
--- a/properties/tests/test-import-export.c
+++ b/properties/tests/test-import-export.c
@@ -353,6 +353,9 @@ test_tls_inline_import (void)
        _check_secret (s_vpn, NM_OPENVPN_KEY_PASSWORD, NULL);
        _check_secret (s_vpn, NM_OPENVPN_KEY_CERTPASS, NULL);
 
+       g_assert (unlink (TMPDIR"/tls-inline-ca.pem") == 0);
+       g_assert (unlink (TMPDIR"/tls-inline-cert.pem") == 0);
+       g_assert (unlink (TMPDIR"/tls-inline-key.pem") == 0);
        g_assert (unlink (TMPDIR"/tls-inline-tls-auth.pem") == 0);
 
        g_object_unref (connection);


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