[network-manager-openvpn: 18/25] properties/tests: drop useless SUCCESS message at end of test



commit 8553cdc63486762ea4ddc810fb407466db685810
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 132bd03..0bd0ece 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]