[gnome-battery-bench] Fix the path to the per-user test directory



commit 612158763c1156b19404a439054c1d5813582ce4
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Fri Jan 2 17:05:09 2015 -0500

    Fix the path to the per-user test directory
    
    Look in ~/.config/gnome-battery-bench/tests not
    ~/.config/gnome-battery-bench/test.

 src/battery-test.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/battery-test.c b/src/battery-test.c
index 5b986d4..f9b065f 100644
--- a/src/battery-test.c
+++ b/src/battery-test.c
@@ -152,7 +152,7 @@ tests_init(void)
 
     char *user_tests_path = g_build_filename (g_get_user_config_dir(),
                                               PACKAGE_NAME,
-                                              "test",
+                                              "tests",
                                               NULL);
     if (g_file_test(user_tests_path, G_FILE_TEST_IS_DIR))
         load_tests_from_directory(user_tests_path);


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