[network-manager-openvpn/th/ovpn-import-bgo761285: 18/22] properties/tests: drop useless SUCCESS message at end of test



commit 7f25a8ceebfcabd5b91b0f1f82b362f9d7d9439b
Author: Thomas Haller <thaller redhat com>
Date:   Wed Feb 3 13:04:08 2016 +0100

    properties/tests: drop useless SUCCESS message at end of test
    
    Tests are run automatically and return success. No need for a success
    message at the end. Success is very much expected.

 properties/tests/test-import-export.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/properties/tests/test-import-export.c b/properties/tests/test-import-export.c
index 3732bef..686224b 100644
--- a/properties/tests/test-import-export.c
+++ b/properties/tests/test-import-export.c
@@ -1466,7 +1466,6 @@ NMTST_DEFINE ();
 
 int main (int argc, char **argv)
 {
-       char *basename;
        gs_unref_object NMVpnEditorPlugin *plugin = NULL;
 
        _nmovpn_test_temp_path = TEST_BUILDDIR_CONF;
@@ -1531,9 +1530,6 @@ int main (int argc, char **argv)
 
        test_args_parse_line ();
 
-       basename = g_path_get_basename (argv[0]);
-       fprintf (stdout, "%s: SUCCESS\n", basename);
-       g_free (basename);
        return 0;
 }
 


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