[epiphany/mcatanzaro/tests-tmp-leftovers: 3/5] gsb-service-test: Don't pollute /tmp
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/mcatanzaro/tests-tmp-leftovers: 3/5] gsb-service-test: Don't pollute /tmp
- Date: Wed, 9 Jan 2019 15:44:31 +0000 (UTC)
commit e9f5918bf72110bf60cbae01953b920ca2048636
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue Jan 8 19:07:46 2019 -0600
gsb-service-test: Don't pollute /tmp
Clean up our test gsb db instead of leaving it under /tmp.
tests/ephy-gsb-service-test.c | 2 ++
1 file changed, 2 insertions(+)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]