diff options
author | Richard Hughes <richard@hughsie.com> | 2014-08-15 08:55:52 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-08-15 09:35:14 +0100 |
commit | d0aff2d72c270938ffa8cc8e3dcf4223db7e7988 (patch) | |
tree | 60b04271a2cdbae604693fbc5da2118a513963ef /libappstream-builder/asb-self-test.c | |
parent | fe5077a46931c20397c1333be511f69f8608abcb (diff) | |
download | appstream-glib-d0aff2d72c270938ffa8cc8e3dcf4223db7e7988.tar.gz |
Create paths when setting up the AsbContext
It was pretty magic what was required, and this puts it all in one place.
Diffstat (limited to 'libappstream-builder/asb-self-test.c')
-rw-r--r-- | libappstream-builder/asb-self-test.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libappstream-builder/asb-self-test.c b/libappstream-builder/asb-self-test.c index 9040d17..7d9193f 100644 --- a/libappstream-builder/asb-self-test.c +++ b/libappstream-builder/asb-self-test.c @@ -225,14 +225,6 @@ asb_test_context_func (void) _cleanup_object_unref_ GFile *file_failed = NULL; _cleanup_string_free_ GString *xml = NULL; - /* create temp space */ - ret = asb_utils_ensure_exists_and_empty ("/tmp/asbuilder", &error); - g_assert_no_error (error); - g_assert (ret); - ret = asb_utils_ensure_exists_and_empty ("/tmp/asbuilder/icons", &error); - g_assert_no_error (error); - g_assert (ret); - /* set up the context */ ctx = asb_context_new (); g_assert (!asb_context_get_add_cache_id (ctx)); |