summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tests/elementary/elm_test_config.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tests/elementary/elm_test_config.c b/src/tests/elementary/elm_test_config.c
index db4d162..e319543 100644
--- a/src/tests/elementary/elm_test_config.c
+++ b/src/tests/elementary/elm_test_config.c
@@ -212,20 +212,19 @@ START_TEST (elm_config_profiles)
212 Eina_Stringshare *str; 212 Eina_Stringshare *str;
213 213
214 profile = elm_config_profile_get(); 214 profile = elm_config_profile_get();
215 dir = elm_config_profile_dir_get(elm_config_profile_get(), EINA_TRUE); 215 fail_if(!profile);
216 dir = elm_config_profile_dir_get(profile, EINA_TRUE);
216 str = efl_config_profile_dir_get(cfg, profile, EINA_TRUE); 217 str = efl_config_profile_dir_get(cfg, profile, EINA_TRUE);
217 fail_if(!eina_streq(dir, str)); 218 fail_if(!eina_streq(dir, str));
218 elm_config_profile_dir_free(dir); 219 elm_config_profile_dir_free(dir);
219 eina_stringshare_del(str); 220 eina_stringshare_del(str);
220 221
221 dir = elm_config_profile_dir_get(elm_config_profile_get(), EINA_FALSE); 222 dir = elm_config_profile_dir_get(profile, EINA_FALSE);
222 str = efl_config_profile_dir_get(cfg, profile, EINA_FALSE); 223 str = efl_config_profile_dir_get(cfg, profile, EINA_FALSE);
223 fail_if(!eina_streq(dir, str)); 224 fail_if(!eina_streq(dir, str));
224 elm_config_profile_dir_free(dir); 225 elm_config_profile_dir_free(dir);
225 eina_stringshare_del(str); 226 eina_stringshare_del(str);
226 227
227 fail_if(!elm_config_profile_exists(profile));
228
229 elm_shutdown(); 228 elm_shutdown();
230} 229}
231END_TEST 230END_TEST