summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@igalia.com>2019-01-08 19:07:46 -0600
committerMichael Catanzaro <mcatanzaro@posteo.net>2019-01-09 15:44:12 +0000
commite9f5918bf72110bf60cbae01953b920ca2048636 (patch)
tree641d27e49bd8fb78db3935019c075e4afc7e7e31 /tests
parentc0c29cac2ebcc559f48a60b2ef69275fdb2a88fc (diff)
downloadepiphany-e9f5918bf72110bf60cbae01953b920ca2048636.tar.gz
gsb-service-test: Don't pollute /tmp
Clean up our test gsb db instead of leaving it under /tmp.
Diffstat (limited to 'tests')
-rw-r--r--tests/ephy-gsb-service-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ephy-gsb-service-test.c b/tests/ephy-gsb-service-test.c
index 41c05eda2..ce78581c6 100644
--- a/tests/ephy-gsb-service-test.c
+++ b/tests/ephy-gsb-service-test.c
@@ -246,6 +246,8 @@ test_ephy_gsb_service_verify_url (void)
test_verify_url_loop = g_main_loop_new (NULL, FALSE);
g_main_loop_run (test_verify_url_loop);
+ g_assert_cmpint (g_unlink (db_path), ==, 0);
+
g_free (db_path);
g_object_unref (service);
g_main_loop_unref (test_verify_url_loop);